Module:Protection banner: Difference between revisions

m
fix cfg table name
(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'