Content deleted Content added
Create module for Template:On this day |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 17:
local i = 1
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)|' .. page .. ']]'
end
local lang = mw.getContentLanguage()
Line 34:
oldid,
lang:formatDate( 'F j, Y', date ),
lang:formatDate( 'F Y', date ),
page
)
i = i + 1
|