Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Documentation: Difference between revisions

Content added Content deleted
(use title.protectionLevels instead of {{PROTECTIONLEVEL}} in p.protectionTemplate)
(add nil check for protectionLevels, as it was causing script errors on wikis with earlier versions of Scribunto)
Line 407: Line 407:
end
end
protectionLevels = env.protectionLevels
protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editLevels = protectionLevels.edit
local editLevels = protectionLevels.edit
local moveLevels = protectionLevels.move
local moveLevels = protectionLevels.move
Cookies help us deliver our services. By using our services, you agree to our use of cookies.