Edit filter configuration

Differences between versions

ItemVersion from 18:33, 18 July 2022 by Suffusion of YellowVersion from 23:03, 15 August 2022 by Suffusion of Yellow
Basic information
Notes:
Should there be a note in the warning about what to do if you're a BLP subject attempting to blank your own article?
Should there be a note in the warning about what to do if you're a BLP subject attempting to blank your own article?


Also, yay, first comment! - east
Also, yay, first comment! - east


These notes are not private, by the way.
These notes are not private, by the way.


The false positives page has not been created yet, so the warning page is incomplete. I deactivated the action 'warn'.
The false positives page has not been created yet, so the warning page is incomplete. I deactivated the action 'warn'.


Re-enabled after creating it -- Andrew
Re-enabled after creating it -- Andrew


We really need a better way to talk. Do tildes work here? ~~~ (east)
We really need a better way to talk. Do tildes work here? ~~~ (east)
Guess not :'(
Guess not :'(


Ignore if editor is the only editor of the page (faked by checking last 10 editors)
Ignore if editor is the only editor of the page (faked by checking last 10 editors)


Redefine blanking as any size under 50, where the page started at >500 (min delta of 450)
Redefine blanking as any size under 50, where the page started at >500 (min delta of 450)


Logic fixes, some of the conditions were redundant - Hersfold
Logic fixes, some of the conditions were redundant - Hersfold


Note that filter applies only to new users. (eg non autoconfirmed but new user is shorter)
Note that filter applies only to new users. (eg non autoconfirmed but new user is shorter)


Optimizing - Hersfold
Optimizing - Hersfold


Add redirect avoidance, necessary if this is going to allow pages to not be fully blank.  - DF
Add redirect avoidance, necessary if this is going to allow pages to not be fully blank.  - DF


changed "user_name in article_recent_contributors" to "!(user_name in article_recent_contributors)" - Hersfold
changed "user_name in article_recent_contributors" to "!(user_name in article_recent_contributors)" - Hersfold


Adding & !(user_name == 69.226.103.13) to temporarily exempt that IP address from this filter, see my talk page for details. - Hersfold
Adding & !(user_name == 69.226.103.13) to temporarily exempt that IP address from this filter, see my talk page for details. - Hersfold
Scratch that, removing per Prodego's comments on filter 30. If it got removed there, I shouldn't be adding it here. - Hersfold
Scratch that, removing per Prodego's comments on filter 30. If it got removed there, I shouldn't be adding it here. - Hersfold
I added an exception for {{db-attack}} template. - Ruslik
I added an exception for {{db-attack}} template. - Ruslik
I added an exception for {{db-g10}} template. - Od Mishehu
I added an exception for {{db-g10}} template. - Od Mishehu
Optimization of the code. - Ruslik
Optimization of the code. - Ruslik
Moved new size check before namespace check - rationale very few edits result in size < 50, most are to namespace 0.  Moved old size before namespace check - rationale _given_ new size< 50 very few edits will have oldsize > 500 (especially by new users), however most will be to mainspace.  Previous to change average run time 6.52ms, 27 conditions. RF
Moved new size check before namespace check - rationale very few edits result in size < 50, most are to namespace 0.  Moved old size before namespace check - rationale _given_ new size< 50 very few edits will have oldsize > 500 (especially by new users), however most will be to mainspace.  Previous to change average run time 6.52ms, 27 conditions. RF
OK condition stats seem meaningless varying from 8 to 500 I'll review in 10,000 edits time.
OK condition stats seem meaningless varying from 8 to 500 I'll review in 10,000 edits time.
Run 5.97 conditions 14, but I don't trust them. RF.
Run 5.97 conditions 14, but I don't trust them. RF.


Now monitoring namespace 100 (portal) Shirik 12 Feb 2010
Now monitoring namespace 100 (portal) Shirik 12 Feb 2010


Optimize --Tim
Optimize --Tim


Adding Wiktionary template to prevent false positives. -v^_^v
Adding Wiktionary template to prevent false positives. -v^_^v


Optimize using regex. - KoH
Optimize using regex. - KoH
Portals are simply not worth the runtime. - KoH
Portals are simply not worth the runtime. - KoH


Temporarily adding the reference desks due to a persistent IP-hopping vandal. Will disable when it's over.--JD
Temporarily adding the reference desks due to a persistent IP-hopping vandal. Will disable when it's over.--JD


Was ultimately not needed. Removed.--JD
Was ultimately not needed. Removed.--JD


Ugh, is that vandal watching this filter? --JD
Ugh, is that vandal watching this filter? --JD


The vandal seems to have again stopped blanking. If (s)he resumes, re-add the condition. --JD
The vandal seems to have again stopped blanking. If (s)he resumes, re-add the condition. --JD


Vandal is back. Will leave on longer. --JD
Vandal is back. Will leave on longer. --JD


Removing now. Sorry for the comment/log spam here. --JD
Removing now. Sorry for the comment/log spam here. --JD


Decrease old_size restriction to > 300 to pick up what few edits Filter 344 catched that this one did not. ~ MusikAnimal 2014.09.25
Decrease old_size restriction to > 300 to pick up what few edits Filter 344 catched that this one did not. ~ MusikAnimal 2014.09.25


Reorder to reduce conditions. -DF
Reorder to reduce conditions. -DF


Set to disallow per [[Special:PermaLink/878875898#Setting filter 3 to warn and disallow?]] -Galo 2019.01.18
Set to disallow per [[Special:PermaLink/878875898#Setting filter 3 to warn and disallow?]] -Galo 2019.01.18


Temporary tag-only as removing check to "page_recent_contributors" - simultaneously significantly slows down the filter while causing many false negatives. Original purpose of that was to allow article creators to blank their own pages, but since ACTPERM there should be basically no non-autoconfirmed users who have articles. Also allow spaces in redirect. -Galo 2019.01.22
Temporary tag-only as removing check to "page_recent_contributors" - simultaneously significantly slows down the filter while causing many false negatives. Original purpose of that was to allow article creators to blank their own pages, but since ACTPERM there should be basically no non-autoconfirmed users who have articles. Also allow spaces in redirect. -Galo 2019.01.22


Back to disallow. -Galo 2019.01.22
Back to disallow. -Galo 2019.01.22


Add cases where content is reduced to a tenth of its size; this is same as what MediaWiki tags as "replaced". All vandalism when looking at non-(auto)confirmed users. -G 2019-03-04
Add cases where content is reduced to a tenth of its size; this is same as what MediaWiki tags as "replaced". All vandalism when looking at non-(auto)confirmed users. -G 2019-03-04


Check new_wikitext instead of added_lines, per false positives relating to substantial pages already being a redirect. -G 2019-03-11
Check new_wikitext instead of added_lines, per false positives relating to substantial pages already being a redirect. -G 2019-03-11


+Exception for {{wiktionary redirect}} per FP. -G 2019-06-07
+Exception for {{wiktionary redirect}} per FP. -G 2019-06-07


Tweak template regex. -G 2019-06-17
Tweak template regex. -G 2019-06-17
Exclude reverts, so IPs can undo large copy-paste vandalism (e.g. [[Special:AbuseLog/33169923]]). Surprisingly, no false negatives in the last 1000 hits. --Suffusion of Yellow 23:02 15 Aug 2022
Filter conditions
Conditions:
(documentation)
!("confirmed" in user_groups) &
!("confirmed" in user_groups) &
page_namespace == 0 &
page_namespace == 0 &
(
(
   new_size < 50 & old_size > 300 |
   new_size < 50 & old_size > 300 |
   new_size/(old_size + 1) < 0.1
   new_size/(old_size + 1) < 0.1
) &
) &
!(lcase(new_wikitext) rlike "#\s*redirect|{{(?:db-(?:attack|g10)|wi|wiktionary\s*redirect)\s*[|}]")
!(lcase(new_wikitext) rlike "#\s*redirect|{{(?:db-(?:attack|g10)|wi|wiktionary\s*redirect)\s*[|}]") &
!(summary irlike "^(?:revert|rv|undid)")