Module:Effective protection expiry: Difference between revisions

handles special pages
m (Protected "Module:Effective protection expiry": Highly visible page: looks ready for deploy in protection banner ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
(handles special pages)
Line 21:
if rawExpiry == 'infinity' then
return 'infinity'
elseif rawExpiry == '' then
return 'unknown'
else
local year = mw.ustring.sub( rawExpiry, 1, 4 )
Anonymous user