Template:Abuse filter warning/doc: Difference between revisions
Content added Content deleted
m (update list of recognized actions) |
(Update.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
||
{{used in system}} |
{{used in system}} |
||
Line 5: | Line 4: | ||
=== Usage === |
=== Usage === |
||
*{{para|filter}} the number of the filter that uses this message, if several filters use it, use {{para|filter2}}, {{para|filter3}}, etc., 5 maximum.''Only visible in the AbuseFilter interface.'' |
*{{para|filter}} the number of the filter that uses this message, if several filters use it, use {{para|filter2}}, {{para|filter3}}, etc., 5 maximum. ''Only visible in the AbuseFilter interface.'' |
||
*{{para|action}} – the type of filter. Acceptable values are '''< |
*{{para|action}} – the type of filter. Acceptable values are '''<tt>warn disallow deauto block degroup</tt>'''. |
||
*{{para|friendly}} – changes the display slightly to be a little less bitey. |
*{{para|friendly}} – '''<tt>yes</tt>''' changes the display slightly to be a little less bitey. |
||
*{{para|text}} the text of the message. |
*{{para|text}} the text of the message. |
||
*{{para|fplink}} Set this to <code>yes</code> to show a big button linking to a preloaded report at [[WP:EF/FP/R]]. Defaults to <code>yes</code> if <code>action=disallow</code>, <code>no</code> otherwise. |
|||
====Examples==== |
====Examples==== |
||
<pre> |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{ |
{{abuse filter warning |
||
|action = warn |
|action = warn |
||
|friendly = yes |
|friendly = yes |
||
|text = You've done something unconstructive, but we don't want to bite you |
|text = You've done something unconstructive, but we don't want to bite you |
||
}} |
}} |
||
</pre> |
|||
</syntaxhighlight> |
|||
{{ |
{{abuse filter warning |
||
|action = warn |
|action = warn |
||
|friendly = yes |
|friendly = yes |
||
Line 26: | Line 24: | ||
}} |
}} |
||
<pre> |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{ |
{{abuse filter warning |
||
|action = warn |
|action = warn |
||
|friendly = |
|friendly = |
||
|text = You've done something unconstructive, and we're more sure that it's not constructive |
|text = You've done something unconstructive, and we're more sure that it's not constructive |
||
}} |
}} |
||
</pre> |
|||
</syntaxhighlight> |
|||
{{ |
{{abuse filter warning |
||
|action = warn |
|action = warn |
||
|friendly = |
|friendly = |
||
Line 39: | Line 37: | ||
}} |
}} |
||
<pre> |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{ |
{{abuse filter warning |
||
|action = disallow |
|action = disallow |
||
|friendly = yes |
|friendly = yes |
||
|text = You've done something unconstructive and we're stopping you, but we don't want to bite you |
|text = You've done something unconstructive and we're stopping you, but we don't want to bite you |
||
}} |
}} |
||
</pre> |
|||
</syntaxhighlight> |
|||
{{ |
{{abuse filter warning |
||
|action = disallow |
|action = disallow |
||
|friendly = yes |
|friendly = yes |
||
Line 52: | Line 50: | ||
}} |
}} |
||
<pre> |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{ |
{{abuse filter warning |
||
|action = disallow |
|action = disallow |
||
|friendly = |
|friendly = |
||
|text = You've done something unconstructive and we're stopping you, more forcefully |
|text = You've done something unconstructive and we're stopping you, more forcefully |
||
}} |
}} |
||
</pre> |
|||
</syntaxhighlight> |
|||
{{ |
{{abuse filter warning |
||
|action = disallow |
|action = disallow |
||
|friendly = |
|friendly = |
||
Line 65: | Line 63: | ||
}} |
}} |
||
<pre> |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{ |
{{abuse filter warning |
||
|action = |
|action = block |
||
|friendly = yes |
|||
|text = You've done something possibly unconstructive, and we want to make it easy to report a problem with the filter |
|||
|fplink = yes |
|||
}} |
|||
</syntaxhighlight> |
|||
{{edit filter warning |
|||
|action = warn |
|||
|friendly = yes |
|||
|text = You've done something possibly unconstructive, but we want to make it easy to report a problem with the filter |
|||
|fplink = yes |
|||
}} |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{edit filter warning |
|||
|action = disallow |
|||
|friendly = |
|friendly = |
||
|text = We're blocking you |
|||
|text = You're pushing buttons impulsively, and we don't want to give you yet another button to push. |
|||
|fplink = no |
|||
}} |
}} |
||
</pre> |
|||
</syntaxhighlight> |
|||
{{ |
{{abuse filter warning |
||
|action = |
|action = block |
||
|friendly = |
|friendly = |
||
|text = We're blocking you |
|||
|text = You're pushing buttons impulsively, and we don't want to give you yet another button to push. |
|||
|fplink = no |
|||
}} |
}} |
||
<pre> |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{ |
{{abuse filter warning |
||
|action = deauto |
|action = deauto |
||
|friendly = |
|friendly = |
||
|text = Autoconfirmed revoked |
|text = Autoconfirmed revoked |
||
}} |
}} |
||
</pre> |
|||
</syntaxhighlight> |
|||
{{ |
{{abuse filter warning |
||
|action = deauto |
|action = deauto |
||
|friendly = |
|friendly = |
||
Line 108: | Line 89: | ||
}} |
}} |
||
<pre> |
|||
<syntaxhighlight lang="wikitext"> |
|||
{{ |
{{abuse filter warning |
||
|action = |
|action = degroup |
||
|friendly = |
|friendly = |
||
|text = |
|text = Bye bye groups |
||
}} |
}} |
||
</pre> |
|||
</syntaxhighlight> |
|||
{{ |
{{abuse filter warning |
||
|action = |
|action = degroup |
||
|friendly = |
|friendly = |
||
|text = |
|text = Bye bye groups |
||
}} |
}} |
||
<includeonly> |
<includeonly> |
||
[[Category:Templates]] |
|||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
|||
⚫ | |||
[[Category:User warning templates]] |
|||
[[Category:Wikipedia edit filter]] |
|||
[[Category:MediaWiki namespace templates]] |
|||
⚫ |
Latest revision as of 00:58, 11 June 2024
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[edit]
|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[edit]
{{abuse filter warning |action = warn |friendly = yes |text = 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 }}
{{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 }}
{{abuse filter warning |action = disallow |friendly = |text = You've done something unconstructive and we're stopping you, more forcefully }}
{{abuse filter warning |action = block |friendly = |text = We're blocking you }}
{{abuse filter warning |action = deauto |friendly = |text = Autoconfirmed revoked }}
{{abuse filter warning |action = degroup |friendly = |text = Bye bye groups }}