Content deleted Content added
BrandonXLF (talk | contribs) No edit summary Tag: Reverted |
BrandonXLF (talk | contribs) No edit summary Tag: Reverted |
||
Line 6:
local currentDate = Date('currentdate')
local date = Date('1 December 2010')
local out = '<table>'
local currentMonth
local currentYear
Line 12:
while date ~= currentDate do
if date.year ~= currentYear then
out = out .. '
currentYear = date.year
end
if date.
out = out .. '</td></tr><tr><th scope="row" style=
currentMonth = date.
end
out = out .. '[[Wikipedia:Main Page history/' .. date:text('%Y %B %-d') .. '|' .. date:text('%-d') .. ']]' .. '/[[Wikipedia:Main Page history/' .. date:text('%Y %B %-d') .. 'b|b]] '
date = date + 1
end
return out .. '</td></tr></table>'
end
|