Module:Effective protection expiry: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 ) |
error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 ) |
||
end |
end |
||
local expiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', pagename) |
local expiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename) |
||
return expiry |
return expiry |
||
end |
end |