Difference between revisions of "Module:Effective protection level"

Jump to navigation Jump to search
m
Disable blacklist extension
(More mediawiki/wikipedia rabbit hole modules)
 
m (Disable blacklist extension)
Line 47: Line 47:
return 'templateeditor'
return 'templateeditor'
elseif action == 'move' then
elseif action == 'move' then
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.
-- 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
if blacklistentry and not blacklistentry.params.autoconfirmed then
return 'templateeditor'
return 'templateeditor'

Navigation menu