Template:Abuse filter warning: Difference between revisions
Undo revision 34846 by Justarandomamerican (talk) Tag: Undo |
report error for warnings Tag: Reverted |
||
Line 30: | Line 30: | ||
|text = {{{text}}} |
|text = {{{text}}} |
||
{{#ifeq:{{{fplink|{{#ifeq:{{{action|}}}|disallow|yes|no}}}}}|yes|<div style="text-align:center;"> |
{{#ifeq:{{{fplink|{{#ifeq:{{{action|}}}|disallow|yes|no}}}}}|yes|<div style="text-align:center;"> |
||
{{clickable button 2 |
|||
|Report error |
|||
|class=mw-ui-progressive |
|||
|url=https://testwiki.wiki/index.php?title=Test_Wiki:Community_portal&action=edit§ion=new |
|||
}}</div> |
|||
{{#ifeq:{{{fplink|{{#ifeq:{{{action|}}}|warn|yes|no}}}}}|yes|<div style="text-align:center;"> |
|||
{{clickable button 2 |
{{clickable button 2 |
||
|Report error |
|Report error |
Revision as of 17:14, 27 January 2024
{{fmbox
|type = editnotice
|textstyle =
|image =
|text = {{{text}}}
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 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 toyes
to show a big button to report an error to the community portal. Defaults toyes
ifaction=disallow
,no
otherwise.
Examples
{{abuse filter warning
|action = warn
|friendly = yes
|text = You've done something unconstructive, but we don't want to bite you
}}
{{fmbox
|type = editnotice
|textstyle =
|image =
|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
}}
{{fmbox
|type = editnotice
|textstyle =
|image =
|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
}}
{{fmbox
|type = editnotice
|textstyle =
|image =
|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
}}
{{fmbox
|type = warning
|textstyle =
|image =
|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
}}
{{fmbox
|type = editnotice
|textstyle =
|image =
|text = You've done something possibly unconstructive, but we want to make it easy to report a problem with the filter
{{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
}}
{{fmbox
|type = warning
|textstyle =
|image =
|text = You're pushing buttons impulsively, and we don't want to give you yet another button to push.
{{abuse filter warning
|action = deauto
|friendly =
|text = Autoconfirmed revoked
}}
{{fmbox
|type = warning
|textstyle =
|image =
|text = Autoconfirmed revoked
{{abuse filter warning
|action = sternwarning
|friendly =
|text = Stop this
}}
{{fmbox
|type = warning
|textstyle = width: 100%; background: #ffdbdb; padding: 0.5em; border: 2px dotted black;
|image =
|text = Stop this