Skip to content
Snippets Groups Projects
Commit 031bd9d0 authored by Lyudmila Vaseva's avatar Lyudmila Vaseva
Browse files

Check instructions for adding a new filter

parent dc74bf47
No related branches found
No related tags found
No related merge requests found
......@@ -129,17 +129,31 @@ https://www.mediawiki.org/wiki/Extension:AbuseFilter/Rules_format
TODO: Flowchart of the filtering process!
* How is a new filter introduced?
https://en.wikipedia.org/wiki/Wikipedia:Edit_filter/Instructions
"This section explains how to create a filter with some preliminary testing, so you don't flood the history page."
- read the docs https://www.mediawiki.org/wiki/Extension:AbuseFilter/Rules_format
- test with debugging tools https://en.wikipedia.org/wiki/Special:AbuseFilter/tools (visible only for users who are already in the edit filter managers user group)
- test with batch testing interface (dito)
- create logging only filter: https://en.wikipedia.org/wiki/Special:AbuseFilter/new (needs permissions)
- Post a message at WP:EFN (edit filter notice board), so other edit filter managers have a chance to improve it
- Finally, fully enable your filter, e.g. add warning, prevention, tagging, etc.
tips on controlling efficiency/order of operations
lazy evaluation: when 1st negative condition is met, filter terminates execution
"You should always order your filters so that the condition that will knock out the largest number of edits is first. Usually this is a user groups or a user editcount check; in general, the last condition should be the regex that is actually looking for the sort of vandalism you're targeting. "
https://en.wikipedia.org/wiki/Special:AbuseFilter
"PLEASE be careful. This is potent stuff. Unless it's urgent, always test your filters with no actions enabled first."
there seems to be a batch testing interface
weird? the test interface https://en.wikipedia.org/wiki/Special:AbuseFilter/test
says: "For security reasons, only users with the right to view private abuse filters or modify filters may use this interface."
there seems to be a batch testing interface: https://en.wikipedia.org/wiki/Special:AbuseFilter/test
however, it says: "For security reasons, only users with the right to view private abuse filters or modify filters may use this interface."
so, you should already be aproved as a filter manager in order to test?
shouldn't all filter editors be able to test??
same goes for the debugging tools: https://en.wikipedia.org/wiki/Special:AbuseFilter/tools
* What happens when a filter gets triggered?
* 4 filter actions (are users whose edits tripped the filters notified for all of them?)
......
......@@ -304,3 +304,16 @@ http://www.andrewjgarrett.com/
=========================================================================
https://en.wikipedia.org/wiki/Wikipedia:Edit_filter/Instructions
"This section explains how to create a filter with some preliminary testing, so you don't flood the history page."
- read the docs https://www.mediawiki.org/wiki/Extension:AbuseFilter/Rules_format
- test with debugging tools https://en.wikipedia.org/wiki/Special:AbuseFilter/tools (visible only for users who are already in the edit filter managers user group)
- test with batch testing interface (dito)
- create logging only filter: https://en.wikipedia.org/wiki/Special:AbuseFilter/new (needs permissions)
- Post a message at WP:EFN (edit filter notice board), so other edit filter managers have a chance to improve it
- Finally, fully enable your filter, e.g. add warning, prevention, tagging, etc.
tips on controlling efficiency/order of operations
lazy evaluation: when 1st negative condition is met, filter terminates execution
"You should always order your filters so that the condition that will knock out the largest number of edits is first. Usually this is a user groups or a user editcount check; in general, the last condition should be the regex that is actually looking for the sort of vandalism you're targeting. "
......@@ -18,7 +18,6 @@ https://en.wikipedia.org/w/index.php?title=Special:AbuseFilter&dir=prev
https://de.wikipedia.org/wiki/Hilfe:Bearbeitungsfilter
https://tools.wmflabs.org/ptwikis/Filters:dewiki
https://en.wikipedia.org/wiki/Wikipedia:Tags
https://en.wikipedia.org/wiki/Wikipedia:Edit_filter/Instructions
https://en.wikipedia.org/wiki/Wikipedia:Administrator_intervention_against_vandalism (AIV)
https://en.wikipedia.org/wiki/Wikipedia:Usernames_for_administrator_attention (UAA)
https://en.wikipedia.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&hideWikibase=1&tagfilter=abusefilter-condition-limit&limit=50&days=7&urlversion=2
......@@ -64,3 +63,4 @@ https://en.wikipedia.org/wiki/Special:AbuseFilter
https://en.wikipedia.org/wiki/Special:AbuseFilter/1
https://tools.wmflabs.org/ptwikis/Filters:enwiki:61
https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2009-03-23/Abuse_Filter
https://en.wikipedia.org/wiki/Wikipedia:Edit_filter/Instructions
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment