"मोड्युल:Effective protection level" को बिचमी भिन्नता
add user JSON subpage detection - see Tech News: 2018-14
ना (en:Module:Effective_protection_level देखि २४ पुनरावलोकनहरू आयात भयो) |
(add user JSON subpage detection - see Tech News: 2018-14) |
||
if title.namespace == 8 then -- MediaWiki namespace
return 'sysop'
elseif title.namespace == 2 and title.isSubpage and ( title.contentModel == 'javascript' or title.contentModel == 'css' or title.contentModel == 'json' ) then -- user JS, CSS or
return 'sysop'
end
|