మూస:Effective protection level: కూర్పుల మధ్య తేడాలు
Content deleted Content added
Jackmcbarn (చర్చ | రచనలు) handle SALTed pages correctly |
Jackmcbarn (చర్చ | రచనలు) Accountcreators can't override the titleblacklist anymore |
||
పంక్తి 40:
local blacklistentry = mw.ext.TitleBlacklist.test('edit', pagename) -- Testing action edit is correct, since this is for the source page. The target page name gets tested with action move.
if blacklistentry and not blacklistentry.params.autoconfirmed then
return '
elseif title.namespace == 6 then
return 'filemover'
పంక్తి 49:
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
return blacklistentry.params.autoconfirmed and 'autoconfirmed' or '
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason
return 'autoconfirmed'
|