Template:Edit filter warning: Difference between revisions
From BetaArchive Wiki
wikibooks.org>Cenarium m (Protected Template:Abuse filter warning: Highly visible template: used in system messages ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
wikibooks.org>Nihiltres (Added #if clause so that if the {{{filter}}} parameter isn't defined, the template doesn't break in the MediaWiki namespace) |
||
Line 28: | Line 28: | ||
}}|60px|Your action has triggered the Abuse Filter]] | }}|60px|Your action has triggered the Abuse Filter]] | ||
|text = {{{text}}} | |text = {{{text}}} | ||
}}{{#ifeq:{{NAMESPACE}}|MediaWiki|{{notice|This message is used by [[Special:AbuseFilter/{{{filter}}}|filter {{{filter}}}]]}}}}<noinclude> | }}{{#if:{{{filter|}}}|{{#ifeq:{{NAMESPACE}}|MediaWiki|{{notice|This message is used by [[Special:AbuseFilter/{{{filter}}}|filter {{{filter}}}]]}}}}}}<noinclude> | ||
{{documentation}} | {{documentation}} |