diff --git a/EN-state-of-the-art b/EN-state-of-the-art index 9e3ff786aecf73e18e564564331cfcb54ad4d869..6dcdd31eae062059d9a48fb8c6c628588e7df1fa 100644 --- a/EN-state-of-the-art +++ b/EN-state-of-the-art @@ -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?) diff --git a/notes b/notes index f77f1f5a17cb7b53dfd955c56d55c46823ab81fc..216017e051f0c2d20861d5a041c1ef8c91cc5b9b 100644 --- a/notes +++ b/notes @@ -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. " diff --git a/todo b/todo index b95b53a391b5f0e1aad213233a702030871276eb..ca7172d273553d3b53a9e1b605e4a19e1b78833b 100644 --- a/todo +++ b/todo @@ -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