Edit filter configuration

Differences between versions

ItemVersion from 10:11, 27 June 2021 by David GerardVersion from 11:23, 15 July 2021 by David Gerard
Filter conditions
Conditions:
(documentation)
equals_to_any(page_namespace, 0, 2, 10, 100, 118) &
equals_to_any(page_namespace, 0, 2, 10, 100, 118) &
(
(
     deprecated := "\b(armeniasputnik\.am|almanach\.be|sputnik\.by|jacobite\.ca|(globaltimes|sputniknews)\.cn|(dailystar|thescottishsun|thisismoney)\.co\.uk|thesun\.(co\.uk|ie|mobi)|(cracroftspeerage|dailymail|englishmonarchs|newsoftheworld|mailonsunday)\.co(\.uk|m)|(b(aike)?\.baidu|campaignlifecoalition|cgtn|cinemos|dailycaller|epochtimes|frontpagemag|frontpagemagazine|glitchwave|huanqiu|lifenews|lifesitenews|mintpressnews|newsbreak|newsmax|newsmaxtv|nndb|oann|occupydemocrats|presstv|rateyourmusic|rt|sonemic|sputniknews|takimag|the-sun|theepochtimes|thegatewaypundit|thegrayzone|thepeerage|urbandictionary|vdare|wnd|worldnetdaily|worldstatesmen|zerohedge)\.com|hispantv\.(com|ir)|last\.fm|sputnik\.kz|(royalark|telesur(english|tv))\.net|(almanachdegotha|alternet|chivalricorders|jihadwatch|voltairenet|worldstatesmen)\.org|sputniknews\.ru|presstv\.ir)";
     deprecated := "\b(armeniasputnik\.am|almanach\.be|sputnik\.by|jacobite\.ca|(globaltimes|sputniknews)\.cn|(dailystar|thescottishsun|thisismoney)\.co\.uk|thesun\.(co\.uk|ie|mobi)|(cracroftspeerage|dailymail|englishmonarchs|newsoftheworld|mailonsunday)\.co(\.uk|m)|(b(aike)?\.baidu|campaignlifecoalition|cgtn|cinemos|crunchbase|dailycaller|epochtimes|frontpagemag|frontpagemagazine|glitchwave|huanqiu|lifenews|lifesitenews|mintpressnews|newsbreak|newsmax|newsmaxtv|nndb|oann|occupydemocrats|presstv|rateyourmusic|rt|sonemic|sputniknews|takimag|the-sun|theepochtimes|thegatewaypundit|thegrayzone|thepeerage|urbandictionary|vdare|wnd|worldnetdaily|worldstatesmen|zerohedge)\.com|hispantv\.(com|ir)|last\.fm|sputnik\.kz|(royalark|telesur(english|tv))\.net|(almanachdegotha|alternet|chivalricorders|jihadwatch|voltairenet|worldstatesmen)\.org|sputniknews\.ru|presstv\.ir)";
     added_lines irlike deprecated &
     added_lines irlike deprecated &
     !(removed_lines irlike deprecated) &
     !(removed_lines irlike deprecated) &
     !("bot" in user_groups) &
     !("bot" in user_groups) &
     !(summary irlike "^(?:revert|rv|undid)|AFCH|WP:TW|reFill") &
     !(summary irlike "^(?:revert|rv|undid)|AFCH|WP:TW|reFill") &
     !(added_lines irlike "\{\{(db[\-\|]|delete\||sd\||speedy deletion|(subst:)?copyvio|copypaste)") &
     !(added_lines irlike "\{\{(db[\-\|]|delete\||sd\||speedy deletion|(subst:)?copyvio|copypaste)") &
     new_content_model == "wikitext"     
     new_content_model == "wikitext"     
)
)