Edit filter configuration

Differences between versions

ItemVersion from 19:08, 11 April 2024 by Suffusion of YellowVersion from 23:02, 11 April 2024 by Suffusion of Yellow
Basic information
Notes:
Filter to detect most commonly seen extraneous markup inserted via the Toolbar from new users, presumably the result of misclicking. Log only ~ MusikAnimal 2014.08.31
Filter to detect most commonly seen extraneous markup inserted via the Toolbar from new users, presumably the result of misclicking. Log only ~ MusikAnimal 2014.08.31


Tag only. Remove empty ref tags from regex, they have no visual effect, and more often accompanied with otherwise very constructive edits (as opposed to the other extraneous markup) ~ MusikAnimal 2014.09.01
Tag only. Remove empty ref tags from regex, they have no visual effect, and more often accompanied with otherwise very constructive edits (as opposed to the other extraneous markup) ~ MusikAnimal 2014.09.01


Add back in <ref></ref> and heading text, only tagging ~ MusikAnimal 2014.09.11
Add back in <ref></ref> and heading text, only tagging ~ MusikAnimal 2014.09.11


Add other toolbar markup: I have been removing this from articles for years, and I'm sure everyone else has too.  RF 20150806
Add other toolbar markup: I have been removing this from articles for years, and I'm sure everyone else has too.  RF 20150806


Update to match what the buttons actually do nowadays. --Suffusion of Yellow 23:38 26 Apr 2023
Update to match what the buttons actually do nowadays. --Suffusion of Yellow 23:38 26 Apr 2023


Cleanup, add a few missing ones. --Suffusion of Yellow 19:06 11 Apr 2024
Cleanup, add a few missing ones. --Suffusion of Yellow 19:06 11 Apr 2024
\\n -> [\n] for external tools which don't know about AbuseFilter's weird escaping rules. --Suffusion of Yellow 23:01 11 Apr 2024
Filter conditions
Conditions:
(documentation)
!("confirmed" in user_groups) &
!("confirmed" in user_groups) &
page_namespace === 0 &
page_namespace === 0 &
(
(
     toolbar := "(?x)
     toolbar := "(?x)
         '''Bold[ ]text'''
         '''Bold[ ]text'''
         |''Italic[ ]text''
         |''Italic[ ]text''
         |\[\[\|thumb\]\]
         |\[\[\|thumb\]\]
         |<gallery>\\nExample\.jpg
         |<gallery>[\n]Example\.jpg
         |<ref></ref>
         |<ref></ref>
         |==[ ]Heading[ ]text[ ]==
         |==[ ]Heading[ ]text[ ]==
         |\*[ ]Bulleted[ ]list[ ]item
         |\*[ ]Bulleted[ ]list[ ]item
         |\#[ ]Numbered[ ]list[ ]item
         |\#[ ]Numbered[ ]list[ ]item
         |<big>Big[ ]text
         |<big>Big[ ]text
         |<small>Small[ ]text
         |<small>Small[ ]text
         |<sup>Superscript[ ]text
         |<sup>Superscript[ ]text
         |<sub>Subscript[ ]text
         |<sub>Subscript[ ]text
         |<nowiki>Insert[ ]non-formatted[ ]text[ ]here
         |<nowiki>Insert[ ]non-formatted[ ]text[ ]here
         |![ ]Header[ ]text
         |![ ]Header[ ]text
         |[#]REDIRECT[ ]\[\[Target[ ]page[ ]name\]\]
         |[#]REDIRECT[ ]\[\[Target[ ]page[ ]name\]\]
     ";
     ";


     added_lines rlike toolbar &
     added_lines rlike toolbar &
     !(removed_lines rlike toolbar)
     !(removed_lines rlike toolbar)
)
)