Content deleted Content added
Jackmcbarn (talk | contribs) reword comment |
Jackmcbarn (talk | contribs) reflect new calling conventions of Module:Effective protection level |
||
Line 4:
local makeToolbar = require('Module:Toolbar')._main
local getPagetype = require('Module:Pagetype')._main
local effectiveProtectionLevel = require('Module:Effective protection level').
----------------------------------------------------------------------
Line 38:
-- Add a protectionLevel property.
obj.protectionLevel = effectiveProtectionLevel(
if obj.protectionLevel == '*' then
-- Make unprotected pages return "unprotected".
|