Håndtering af misbrugsfilter

Forskelle mellem versioner

ElementVersion fra 7. maj 2013, 18:46 af KaareVersion fra 2. feb. 2022, 02:52 af Huji
Grundlæggende information
Noter:
Kaare: Fjerner teksten "(importeret fra enwiki)" fra beskrivelsen, da den ikke har relevans for dem, der bliver matchet.
Kaare: Fjerner teksten "(importeret fra enwiki)" fra beskrivelsen, da den ikke har relevans for dem, der bliver matchet.


This filter recognizes newly created articles that do not mention the article subject.
This filter recognizes newly created articles that do not mention the article subject.
It does not yet apply to multiword titles. If the filter finds any, it will skip those.
It does not yet apply to multiword titles. If the filter finds any, it will skip those.
I've written this using exclusions, so those cases can be expanded.
I've written this using exclusions, so those cases can be expanded.


-Broken, getting all new pages -Prodego
-Broken, getting all new pages -Prodego
Update, triggering because the pages use {{subst:PAGENAME}} either exclude that or use rendered wikitext. -Prodego
Update, triggering because the pages use {{subst:PAGENAME}} either exclude that or use rendered wikitext. -Prodego


Excluded template filter reenabled. --Mgm
Excluded template filter reenabled. --Mgm


Switched to contains_any (faster) and put PAGENAME -> pagename, since it is being compared to lcase(added_lines) -Prodego
Switched to contains_any (faster) and put PAGENAME -> pagename, since it is being compared to lcase(added_lines) -Prodego


Included another possible exception. - Mgm
Included another possible exception. - Mgm


add tag "new article with no mention of title" - Cen
add tag "new article with no mention of title" - Cen
Switched to contains_any. - Ruslik
Switched to contains_any. - Ruslik


Set editcount, make sure that the user is relatively new. - KoH
Set editcount, make sure that the user is relatively new. - KoH
rm useless parenthesis. -- Tim
rm useless parenthesis. -- Tim


Add "rmwhitespace" condition. Also, exclude very short articles (already covered by filter 98). -Sole Soul
Add "rmwhitespace" condition. Also, exclude very short articles (already covered by filter 98). -Sole Soul
"rmspecials" instead of "rmwhitespace". -Sole Soul
"rmspecials" instead of "rmwhitespace". -Sole Soul
Wrapped rmspecials in rmwhitespace to allow [[phab:T263024]] -- Huji (AbuseFilter Maintainer)
Filterregler
Betingelser:
article_recent_contributors == ""
article_recent_contributors == ""
& user_editcount < 50
& user_editcount < 50
& article_namespace == 0
& article_namespace == 0
& !(new_size < 150)
& !(new_size < 150)
& !contains_any(article_text,"("," ")
& !contains_any(article_text,"("," ")
& !contains_any(rmspecials(lcase(added_lines)),rmspecials(lcase(article_text)),"{{subst:pagename}}","#redirect", "pagename")
& !contains_any(rmwhitespace(rmspecials(lcase(added_lines))),rmwhitespace(rmspecials(lcase(article_text))),"{{subst:pagename}}","#redirect", "pagename")