Edit filter configuration

Differences between versions

ItemVersion from 00:46, 16 October 2023 by Daniel QuinlanVersion from 22:24, 29 April 2024 by Suffusion of Yellow
Basic information
Notes:
Testing per request https://en.wikipedia.org/wiki/Wikipedia:Edit_filter/Requested#Changing_owner_field_in_infoboxes --Samwalton9, 24 Nov 2015
Testing per request https://en.wikipedia.org/wiki/Wikipedia:Edit_filter/Requested#Changing_owner_field_in_infoboxes --Samwalton9, 24 Nov 2015


Tagging as possible vandalism, edits not always inherently bad and FP rate a bit too high for me to be comfortable with disallow. --Samwalton9, 20 Dec 2015
Tagging as possible vandalism, edits not always inherently bad and FP rate a bit too high for me to be comfortable with disallow. --Samwalton9, 20 Dec 2015


Updated to improve coverage --Daniel Quinlan, 15 Oct 2023
Updated to improve coverage --Daniel Quinlan, 15 Oct 2023
Ignore whitespace/punctuation/cap. changes. --Suffusion of Yellow 22:23 29 Apr 2024
Filter conditions
Conditions:
(documentation)
!"confirmed" in user_groups &
owner := "\|\s*owner(?:s|ship)?\s*=(.*)";
 
!("confirmed" in user_groups) &
page_namespace == 0 &
page_namespace == 0 &
added_lines irlike "\|\s*owner(s|ship)?\s*=" &
added_lines irlike owner &
old_wikitext irlike "Infobox\s+(American\s+football\s+team|Australian\s+football\s+club|basketball\s+club|cricket\s+team|football\s+club|MLB|NBA\s+team|NFL\s+team|NHL\s+team)"
old_wikitext irlike "Infobox\s+(American\s+football\s+team|Australian\s+football\s+club|basketball\s+club|cricket\s+team|football\s+club|MLB|NBA\s+team|NFL\s+team|NHL\s+team)" &
(
    old := get_matches(owner, removed_lines)[1];
    new := get_matches(owner, added_lines)[1];
    norm(old) != norm(new)
)