Aller au contenu

Gestion du filtre anti-abus

Différences entre les versions

ArticleVersion du 2 novembre 2018 à 21:04 par Crochet.davidVersion du 2 novembre 2018 à 21:07 par Crochet.david
Conditions du filtre
Conditions :
(match := "\b(?<!\[)(l+o+l+|m+d+r+|p+t+d+r+|o+n+c+h+e+|s+a+l+u+t+|b+i+t+e|c+a+c+a+|p+i+p+i+|c+o+n+|c+o+n+a+r+d+|c+o+u+i+l+l+e+s+(?:u+h*)?)(?!\])\b");
(match := "\b(?<!\[)(l+o+l+|m+d+r+|p+t+d+r+|o+n+c+h+e+|s+a+l+u+t+|b+i+t+e|c+a+c+a+|p+i+p+i+|c+o+n+|c+o+n+a+r+d+|c+o+u+i+l+l+e+s+(?:u+h*)?)(?!\])\b");
 
user_editcount < 300  
user_editcount < 300 &
& page_namespace == 0  
article_namespace == 0 &
& action == "edit"  
action == "edit" &
& !("autoconfirmed" in user_groups)  
!("autoconfirmed" in user_groups) &  
& (lcase(added_lines) rlike match)  
(lcase(added_lines) rlike match) &
& !(lcase(page_title) rlike match)  
!(lcase(page_title) rlike match) &
& !(lcase(removed_lines) rlike match)
!(lcase(removed_lines) rlike match)