453
edits
Please make sure your email address matches on the wiki and website as we'll be migrating to PCB logins in the near future. |
TheOctopus (talk | contribs) m (1 revision imported: Import Infoboxes and Message Boxes) |
TheOctopus (talk | contribs) m (1 revision imported: Imported see also) |
||
(One intermediate revision by the same user not shown) | |||
Line 28: | Line 28: | ||
if title.namespace == 8 then -- MediaWiki namespace | if title.namespace == 8 then -- MediaWiki namespace | ||
return 'sysop' | return 'sysop' | ||
elseif title.namespace == 2 and title.isSubpage and ( title.contentModel == 'javascript' or title.contentModel == 'css' ) then -- user JS or | elseif title.namespace == 2 and title.isSubpage and ( title.contentModel == 'javascript' or title.contentModel == 'css' or title.contentModel == 'json' ) then -- user JS, CSS or JSON page | ||
return 'sysop' | return 'sysop' | ||
end | end |