Edit filter configuration

Differences between versions

ItemVersion from 20:38, 14 March 2020 by Suffusion of YellowVersion from 02:58, 14 October 2020 by GeneralNotability
Basic information
Notes:
+warning - nakon
+warning - nakon
+tag - nakon
+tag - nakon


optimize ordering. -DF
optimize ordering. -DF


+exempt IP editors - nakon
+exempt IP editors - nakon
really exempt IP editors - nakon
really exempt IP editors - nakon
I created a special warning message for this filter. - Ruslik
I created a special warning message for this filter. - Ruslik


Exclud when the username matches the article title, partly covered by filter 188. The rationale: a user who is a fan of something could choose it as his/her username, which causes FPs. -Sole Soul
Exclud when the username matches the article title, partly covered by filter 188. The rationale: a user who is a fan of something could choose it as his/her username, which causes FPs. -Sole Soul


Format. -DF
Format. -DF


Attempt to improve performance, this filter is slowing down editing for some users. Link (requires logstash access): https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2017.11.22/mediawiki?id=AV_ksjkkgaOKEclNGXGT ~MA
Attempt to improve performance, this filter is slowing down editing for some users. Link (requires logstash access): https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2017.11.22/mediawiki?id=AV_ksjkkgaOKEclNGXGT ~MA


Check if the username is in added_lines first, which will cancel out most edits before running the more expensive added_links ~MA
Check if the username is in added_lines first, which will cancel out most edits before running the more expensive added_links ~MA


Skip usernames  shorter than 3 characters, suggested at [[Special:PermaLink/945563751#Special:AbuseLog/26225194]] --Suffusion of Yellow 20:36 14 Mar 2020
Skip usernames  shorter than 3 characters, suggested at [[Special:PermaLink/945563751#Special:AbuseLog/26225194]] --Suffusion of Yellow 20:36 14 Mar 2020
rmspecials -> rmwhitespace(rmspecials) to maintain current behavior per phab:T263024 -GN 2020-10-13
Filter conditions
Conditions:
(documentation)
user_editcount < 40 &
user_editcount < 40 &
page_namespace == 0 &
page_namespace == 0 &
user_age > 0 & (
user_age > 0 & (
   normalUserName := rmspecials(lcase(user_name));
   normalUserName := rmwhitespace(rmspecials(lcase(user_name)));
   normalPageTitle := rmspecials(lcase(page_title));
   normalPageTitle := rmwhitespace(rmspecials(lcase(page_title)));


   normalUserName in lcase(rmspecials(added_lines)) &
   normalUserName in lcase(rmwhitespace(rmspecials(added_lines))) &
   normalUserName in lcase(rmspecials(added_links)) &
   normalUserName in lcase(rmwhitespace(rmspecials(added_links))) &
   !(normalUserName in normalPageTitle) &
   !(normalUserName in normalPageTitle) &
   !(normalPageTitle in normalUserName) &
   !(normalPageTitle in normalUserName) &
   length(normalUserName) >= 3
   length(normalUserName) >= 3
)
)