Edit filter management

Jump to navigation Jump to search

Differences between versions

ItemVersion from 18:03, 22 November 2017 by MusikAnimalVersion from 03:40, 8 December 2017 by MusikAnimal
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
Filter conditions
Conditions:
(documentation)
 
user_editcount < 40 &
 
user_editcount < 40 &
 
article_namespace == 0 &
 
article_namespace == 0 &
 
user_age > 0 & (
 
user_age > 0 & (
 
   normalUserName := rmspecials(lcase(user_name));
 
   normalUserName := rmspecials(lcase(user_name));
 
   normalArticleText := rmspecials(lcase(article_text));
 
   normalArticleText := rmspecials(lcase(article_text));
  
 +
  normalUserName in lcase(rmspecials(added_lines)) &
 
   normalUserName in lcase(rmspecials(added_links)) &
 
   normalUserName in lcase(rmspecials(added_links)) &
 
   !(normalUserName in normalArticleText) &
 
   !(normalUserName in normalArticleText) &
 
   !(normalArticleText in normalUserName)
 
   !(normalArticleText in normalUserName)
 
)
 
)