Module:Effective protection expiry: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 19:
end
local rawExpiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename)
if rawExpiry == 'infinity' then
local year = mw.ustring.sub( rawExpiry, 1, 4 )▼
return 'infinity'
local month = mw.ustring.sub( rawExpiry, 5, 6 )▼
else
return year .. '-' .. month .. '-' .. day
end
end
|