Template:Abuse filter warning/doc: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
(New documentation.)
 
(Changing the parameter "action" values.)
 
Line 2: Line 2:


*{{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>allow auto block deauto degroup sternwarning</kbd>'''.
*{{para|action}} &ndash; the type of filter.  Acceptable values are '''<kbd>disallow warn block deauto degroup sternwarning</kbd>'''.
*{{para|friendly}} &ndash; changes the display slightly to be a little less bitey.
*{{para|friendly}} &ndash; changes the display slightly to be a little less bitey.
*{{para|text}} the text of the message.
*{{para|text}} the text of the message.

Latest revision as of 15:07, 8 February 2024

Usage[edit source]

  • |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 disallow warn block deauto degroup sternwarning.
  • |friendly= – changes the display slightly to be a little less bitey.
  • |text= the text of the message.
  • |fplink= Set this to yes to show a big button to report an error to the community portal. Defaults to yes if action=disallow, no otherwise.

Examples[edit source]

{{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   = warn
 |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
}}
{{abuse filter warning
 |action   = disallow
 |friendly = 
 |text     = You're pushing buttons impulsively, and we don't want to give you yet another button to push.
 |fplink   = no
}}
{{abuse filter warning
 |action   = deauto
 |friendly = 
 |text     = Autoconfirmed revoked
}}
{{abuse filter warning
 |action   = sternwarning
 |friendly = 
 |text     = Stop this
}}