Module:Protection banner: Difference between revisions
Content added Content deleted
Enwikipedia>Jackmcbarn m (fix a few mistakes) |
Enwikipedia>Mr. Stradivarius (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'
|