Module:Effective protection level: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
mw.ext.FlaggedRevs.getStabilitySettings can return nil, so avoid trying to index it when this happens
(use FlaggedRevs' Lua library instead of calling the parser)
(mw.ext.FlaggedRevs.getStabilitySettings can return nil, so avoid trying to index it when this happens)
Line 14:
pagename = title.prefixedText
if action == 'autoreview' then
local level = mw.ext.FlaggedRevs.getStabilitySettings(title).autoreview
level = level and level.autoreview
if level == 'review' then
return 'reviewer'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu