Template:Abuse filter warning: Difference between revisions
Content added Content deleted
enwiki>Cenarium m (Protected Template:Abuse filter warning: Highly visible template: used in system messages ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
enwiki>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}} |
Revision as of 19:09, 5 April 2009
{{{text}}} |
This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
Usage
|filter=
the number of the filter that uses this message, if several filters use it, use|filter2=
,|filter3=
, etc., 5 maximum. Only visible in the AbuseFilter interface.|action=
– the type of filter. Acceptable values are warn disallow deauto block degroup.|friendly=
– yes changes the display slightly to be a little less bitey.|text=
the text of the message.
Examples
{{abuse filter warning |action = warn |friendly = yes |text = You've done something unconstructive, but we don't want to bite you }}
You've done something unconstructive, but we don't want to bite you |
{{abuse filter warning |action = warn |friendly = |text = You've done something unconstructive, and we're more sure that it's not constructive }}
You've done something unconstructive, and we're more sure that it's not constructive |
{{abuse filter warning |action = disallow |friendly = yes |text = You've done something unconstructive and we're stopping you, but we don't want to bite you }}
You've done something unconstructive and we're stopping you, but we don't want to bite you |
{{abuse filter warning |action = disallow |friendly = |text = You've done something unconstructive and we're stopping you, more forcefully }}
You've done something unconstructive and we're stopping you, more forcefully |
{{abuse filter warning |action = block |friendly = |text = We're blocking you }}
We're blocking you |
{{abuse filter warning |action = deauto |friendly = |text = Autoconfirmed revoked }}
Autoconfirmed revoked |
{{abuse filter warning |action = degroup |friendly = |text = Bye bye groups }}
Bye bye groups |