Module:Effective protection level: Difference between revisions
use FlaggedRevs' Lua library instead of calling the parser
(Accountcreators can't override the titleblacklist anymore) |
(use FlaggedRevs' Lua library instead of calling the parser) |
||
Line 14: | Line 14: | ||
pagename = title.prefixedText | pagename = title.prefixedText | ||
if action == 'autoreview' then | if action == 'autoreview' then | ||
local level = mw. | local level = mw.ext.FlaggedRevs.getStabilitySettings(title).autoreview | ||
if level == 'review' then | if level == 'review' then | ||
return 'reviewer' | return 'reviewer' |