Abuse filter management

Differences between versions

ItemVersion from 15:31, 4 August 2023 by MdsShakilVersion from 14:04, 1 October 2023 by MdsShakil
Basic information
Notes:
Prevent newbies from unfuzzying translations without actual changes.
Prevent newbies from unfuzzying translations without actual changes.
- On translation pages, detect removal of !!FUZZY!!
- On translation pages, detect removal of !!FUZZY!!
- Other namespaces, detect the span removal
- Other namespaces, detect the span removal


edit_delta for performance optimization
edit_delta for performance optimization


Import [[mw:Special:AbuseFilter/96]] per GSR request --MdsShakil
Import [[mw:Special:AbuseFilter/96]] per GSR request --MdsShakil
Add global_user_editcount < 50 --MdsShakil
Filter conditions
Conditions:
((action == "edit" & user_editcount < 20)) &
((action == "edit" & (user_editcount < 20 | global_user_editcount < 50))) &
(
(
     (
     (
         page_namespace == 1198 &
         page_namespace == 1198 &
         edit_delta == -9 &
         edit_delta == -9 &
         string(added_lines) == str_replace(string(removed_lines), '!!FUZZY!!', '')
         string(added_lines) == str_replace(string(removed_lines), '!!FUZZY!!', '')
     )
     )
|
|
     (
     (
         edit_delta == -40 &
         edit_delta == -40 &
         string(added_lines) == str_replace(str_replace(string(removed_lines), '</span>', ''), '<span class="mw-translate-fuzzy">', '')
         string(added_lines) == str_replace(str_replace(string(removed_lines), '</span>', ''), '<span class="mw-translate-fuzzy">', '')
     )
     )
|
|
     (
     (
         edit_delta == -40 &
         edit_delta == -40 &
         string(added_lines) == str_replace(str_replace(string(removed_lines), '\n</div>', ''), '<div class="mw-translate-fuzzy">\n', '')
         string(added_lines) == str_replace(str_replace(string(removed_lines), '\n</div>', ''), '<div class="mw-translate-fuzzy">\n', '')
     )
     )
)
)