Module:Protection banner: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (allow the template reason to show the red padlock in any namespace) |
Enwikipedia>Mr. Stradivarius m (fix cfg table name) |
||
Line 707: | Line 707: | ||
namespace == 10 |
namespace == 10 |
||
or namespace == 828 |
or namespace == 828 |
||
or reason and obj._cfg. |
or reason and obj._cfg.indefImageReasons[reason] |
||
) |
) |
||
and action == 'edit' |
and action == 'edit' |