Edit filter configuration

Differences between versions

ItemVersion from 17:18, 13 May 2022 by TamzinVersion from 12:30, 2 January 2023 by Tamzin
Basic information
Notes:
GENSEX topic area disruption - idea from Tamzin, moved from 1190 as I need that for something else now -- Firefly, 2022-04-30
GENSEX topic area disruption - idea from Tamzin, moved from 1190 as I need that for something else now -- Firefly, 2022-04-30


Logging for now, can add a warning when we're sure it's ready.
Logging for now, can add a warning when we're sure it's ready.


Set to warn+tag and making public, after discussion with Firefly. -- TZ 2022-05-12
Set to warn+tag and making public, after discussion with Firefly. -- TZ 2022-05-12


A number of changes to avoid FPs on large changes to trans people's biographies that aren't related to pronouns and on correcting the pronouns of nonbinary people who take binary pronouns. Might become too expensive, but we'll see. This approach means that it won't catch changes from she/her to he/him or vice versa on NB people's articles if there's no "for consistency" note, but... well let's see how that goes. -- TZ 2022-05-13
A number of changes to avoid FPs on large changes to trans people's biographies that aren't related to pronouns and on correcting the pronouns of nonbinary people who take binary pronouns. Might become too expensive, but we'll see. This approach means that it won't catch changes from she/her to he/him or vice versa on NB people's articles if there's no "for consistency" note, but... well let's see how that goes. -- TZ 2022-05-13
Lower threshold to 5 pronoun changes. Tested in 1206 for 9 days w/o FPs. -- TZ 2023-01-02
Filter conditions
Conditions:
(documentation)
! "confirmed" in user_groups &
! "confirmed" in user_groups &
page_namespace == 0 &
page_namespace == 0 &
old_wikitext irlike "\[\[\s*Category\s*:\s*(Transgender|Non-binary|Genderqueer)" &
old_wikitext irlike "\[\[\s*Category\s*:\s*(Transgender|Non-binary|Genderqueer)" &
(
(
     she := "\b([Ss]he|[Hh]er(s(elf)?)?)\b";
     she := "\b([Ss]he|[Hh]er(s(elf)?)?)\b";
     they := "\b([Tt]he(y|irs?|m(sel(f|ves)?)?))\b";
     they := "\b([Tt]he(y|irs?|m(sel(f|ves)?)?))\b";
     he := "\b([Hh](e|i(s|m(self)?)))\b";
     he := "\b([Hh](e|i(s|m(self)?)))\b";
     (old_wikitext irlike "\[\[\s*Category\s*:\s*(Transgender[^\]]+people|Historical figures[_ ]+with[_ ]+ambiguous[_ ]+or[_ ]+disputed[_ ]+gender[_ ]+identity|Non-binary|Genderqueer|Fa'afafine|Fakafifine|Hijra \(South Asia\)|Kathoey|Two-spirit)" &
     (old_wikitext irlike "\[\[\s*Category\s*:\s*(Transgender[^\]]+people|Historical figures[_ ]+with[_ ]+ambiguous[_ ]+or[_ ]+disputed[_ ]+gender[_ ]+identity|Non-binary|Genderqueer|Fa'afafine|Fakafifine|Hijra \(South Asia\)|Kathoey|Two-spirit)" &
     !(old_wikitext rlike "((her|him)('')?|(femin|mascul)ine|(fe)?male) pronouns for consistency") &
     !(old_wikitext rlike "((her|him)('')?|(femin|mascul)ine|(fe)?male) pronouns for consistency") &
     rcount(they, removed_lines) >= rcount(they, added_lines) + 10 &
     rcount(they, removed_lines) >= rcount(they, added_lines) + 5 &
     rcount(he + "|" + she, added_lines) >= rcount(he + "|" + she, removed_lines) + 10)
     rcount(he + "|" + she, added_lines) >= rcount(he + "|" + she, removed_lines) + 5)
     |
     |
     (old_wikitext irlike "(\[\[\s*Category\s*:\s*(Transgender[^\]]+(women|female|actresses))|((her('')?|feminine|female) pronouns for consistency))" &
     (old_wikitext irlike "(\[\[\s*Category\s*:\s*(Transgender[^\]]+(women|female|actresses))|((her('')?|feminine|female) pronouns for consistency))" &
     rcount(she, removed_lines) >= rcount(she, added_lines) + 10 &
     rcount(she, removed_lines) >= rcount(she, added_lines) + 5 &
     rcount(he + "|" + they, added_lines) >= rcount(he + "|" + they, removed_lines) + 10)
     rcount(he + "|" + they, added_lines) >= rcount(he + "|" + they, removed_lines) + 5)
     |
     |
     (old_wikitext irlike "(\[\[\s*Category\s*:\s*(Transgender[^\]]+(\bmen|\bmale|actors))|((him('')?|masculine|male) pronouns for consistency))" &
     (old_wikitext irlike "(\[\[\s*Category\s*:\s*(Transgender[^\]]+(\bmen|\bmale|actors))|((him('')?|masculine|male) pronouns for consistency))" &
     rcount(he, removed_lines) >= rcount(he, added_lines) + 10 &
     rcount(he, removed_lines) >= rcount(he, added_lines) + 5 &
     rcount(she + "|" + they, added_lines) >= rcount(she + "|" + they, removed_lines) + 10)
     rcount(she + "|" + they, added_lines) >= rcount(she + "|" + they, removed_lines) + 5)
) &
) &
!summary irlike ("revert|undo|restore|rollback|\br(b|vv?)\b|undid")
!summary irlike ("revert|undo|restore|rollback|\br(b|vv?)\b|undid")