Difference between revisions of "Module:Effective protection level"
Jump to navigation
Jump to search
Module:Effective protection level (view source)
Revision as of 15:20, 19 April 2020
, 15:20, 19 April 2020No FlaggedRevs on this wiki
>BDavis (WMF) m (1 revision imported from w:en:Module:Effective_protection_level) |
>Pppery (No FlaggedRevs on this wiki) |
||
Line 13: | Line 13: | ||
end | end | ||
pagename = title.prefixedText | pagename = title.prefixedText | ||
if | if action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then | ||
error( 'First parameter must be one of edit, move, create, upload', 2 ) | |||
error( 'First parameter must be one of edit, move, create, upload | |||
end | end | ||
if title.namespace == 8 then -- MediaWiki namespace | if title.namespace == 8 then -- MediaWiki namespace |