Template:Abuse filter warning/doc: Difference between revisions

From TestWiki
Content added Content deleted
m (Codename Noreste moved page Template:Edit filter warning/doc to Template:Abuse filter warning/doc without leaving a redirect)
(Update.)
 
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}} &ndash; the type of filter. Acceptable values are '''<kbd>warn disallow block deauto degroup sternwarning</kbd>'''.
*{{para|action}} &ndash; the type of filter. Acceptable values are '''<tt>warn disallow deauto block degroup</tt>'''.
*{{para|friendly}} &ndash; changes the display slightly to be a little less bitey.
*{{para|friendly}} &ndash; '''<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">
{{edit filter warning
{{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>
{{edit filter warning
{{abuse filter warning
|action = warn
|action = warn
|friendly = yes
|friendly = yes
Line 26: Line 24:
}}
}}


<pre>
<syntaxhighlight lang="wikitext">
{{edit filter warning
{{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>
{{edit filter warning
{{abuse filter warning
|action = warn
|action = warn
|friendly =
|friendly =
Line 39: Line 37:
}}
}}


<pre>
<syntaxhighlight lang="wikitext">
{{edit filter warning
{{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>
{{edit filter warning
{{abuse filter warning
|action = disallow
|action = disallow
|friendly = yes
|friendly = yes
Line 52: Line 50:
}}
}}


<pre>
<syntaxhighlight lang="wikitext">
{{edit filter warning
{{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>
{{edit filter warning
{{abuse filter warning
|action = disallow
|action = disallow
|friendly =
|friendly =
Line 65: Line 63:
}}
}}


<pre>
<syntaxhighlight lang="wikitext">
{{edit filter warning
{{abuse filter warning
|action = warn
|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>
{{edit filter warning
{{abuse filter warning
|action = disallow
|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">
{{edit filter warning
{{abuse filter warning
|action = deauto
|action = deauto
|friendly =
|friendly =
|text = Autoconfirmed revoked
|text = Autoconfirmed revoked
}}
}}
</pre>
</syntaxhighlight>
{{edit filter warning
{{abuse filter warning
|action = deauto
|action = deauto
|friendly =
|friendly =
Line 108: Line 89:
}}
}}


<pre>
<syntaxhighlight lang="wikitext">
{{edit filter warning
{{abuse filter warning
|action = sternwarning
|action = degroup
|friendly =
|friendly =
|text = Stop this
|text = Bye bye groups
}}
}}
</pre>
</syntaxhighlight>
{{edit filter warning
{{abuse filter warning
|action = sternwarning
|action = degroup
|friendly =
|friendly =
|text = Stop this
|text = Bye bye groups
}}
}}


<includeonly>{{Sandbox other||
<includeonly>
[[Category:Templates]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
</includeonly>
[[Category:User warning templates]]
[[Category:Wikipedia edit filter]]
[[Category:MediaWiki namespace templates]]

}}</includeonly>

Latest revision as of 00:58, 11 June 2024

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
}}