Anonymous user
Module:Effective protection level: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Module:Effective protection level (view source)
Revision as of 04:01, September 16, 2014
, 9 years agomust be subpage too
(test content models rather than page names, to match MediaWiki) |
(must be subpage too) |
||
Line 27:
if title.namespace == 8 then -- MediaWiki namespace
return 'sysop'
elseif title.namespace == 2 and title.isSubpage and ( title.contentModel == 'javascript' or title.contentModel == 'css' ) then -- user JS or CSS page
return 'sysop'
end
|