Module:Protection banner: Difference between revisions
Content deleted Content added
m fix a few mistakes |
allow the template reason to show the red padlock in any namespace |
||
Line 701:
local level = protectionObj.level
local namespace = protectionObj.title.namespace
local reason = protectionObj.reason
-- Deal with special cases first.
if (
if (namespace == 10 or namespace == 828)▼
namespace == 10
or reason and obj._cfg.imageIndefReasons[reason]
)
and action == 'edit'
and level == 'sysop'
|