Module:On this day: Difference between revisions

Content deleted Content added
Use mw.title, now that we have it
 
(2 intermediate revisions by 2 users not shown)
Line 18:
local ret = {}
local page = mw.title.getCurrentTitle().text
local fmt = '[https://en.wikipedia.org/wiki/Wikipedia:Selected_anniversaries/%s?oldid=%s %s]'
if not args.demo then
fmt = fmt .. '[[Category:Selected anniversaries (%s)|%s]]'