Module:Protection banner: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(allow the template reason to show the red padlock in any namespace)
m (fix cfg table name)
Line 707: Line 707:
namespace == 10
namespace == 10
or namespace == 828
or namespace == 828
or reason and obj._cfg.imageIndefReasons[reason]
or reason and obj._cfg.indefImageReasons[reason]
)
)
and action == 'edit'
and action == 'edit'