Differences between versions

ItemVersion from 23:14, 16 January 2023 by Suffusion of YellowVersion from 20:49, 17 January 2023 by Dreamy Jazz
Basic information
Notes:
NOTE: Please raise problems at 'Template talk:DS' or 'Wikipedia:Edit filter noticeboard'.
NOTE: Please raise problems at 'Template talk:DS' or 'Wikipedia:Edit filter noticeboard'.


====
====


SPECIAL NOTE ON EDITS MADE AT AROUND 23:29 ON 22 MARCH 2014: Due to a typo in the filter conditions, this filter today tagged several innocent edits. This was a mistake. Apologies for any confusion caused. -- User:AGK
SPECIAL NOTE ON EDITS MADE AT AROUND 23:29 ON 22 MARCH 2014: Due to a typo in the filter conditions, this filter today tagged several innocent edits. This was a mistake. Apologies for any confusion caused. -- User:AGK


Cleanp layout and reduce likely condition count.  -DF
Cleanp layout and reduce likely condition count.  -DF


Remove function to ignore if there is the text in old_wikitext. Callanecc 12 Sep 16
Remove function to ignore if there is the text in old_wikitext. Callanecc 12 Sep 16


Change edit_diff_pst to added_lines_pst to avoid issue where the edit after the alert is picked up by the filter. Also removed size limit to cover more situations (such as when additional information is included in the same edit and for long sigs). Plus detect "confirmed" rather than "autoconfirmed" for manually confirmed users. Callanecc 19 Sep 16
Change edit_diff_pst to added_lines_pst to avoid issue where the edit after the alert is picked up by the filter. Also removed size limit to cover more situations (such as when additional information is included in the same edit and for long sigs). Plus detect "confirmed" rather than "autoconfirmed" for manually confirmed users. Callanecc 19 Sep 16


Reverting Musik's change, the filter isn't working. Callanecc 28 Nov 17
Reverting Musik's change, the filter isn't working. Callanecc 28 Nov 17


Trying this again. This time I tested it to be working. ~MA
Trying this again. This time I tested it to be working. ~MA


Suppress for subpages. -TC
Suppress for subpages. -TC


Update to allow removal of {{Z33}} template. --Suffusion of Yellow 22:00 2 Oct 2021
Update to allow removal of {{Z33}} template. --Suffusion of Yellow 22:00 2 Oct 2021


Update for WP:CT2022 -- Dreamy Jazz 19:51 15 Jan 2023
Update for WP:CT2022 -- Dreamy Jazz 19:51 15 Jan 2023


Cleanup, fix bug reported at [[Special:PermaLink/1133944322#Filter 602 not alerting for non-first contentious topic alerts]]. --Suffusion of Yellow 22:45 16 Jan 2023
Cleanup, fix bug reported at [[Special:PermaLink/1133944322#Filter 602 not alerting for non-first contentious topic alerts]]. --Suffusion of Yellow 22:45 16 Jan 2023
Update to also include alert/DS. Dreamy Jazz 17 Jan 2023
Filter conditions
Conditions:
( documentation)
page_namespace == 3 &
page_namespace == 3 &
"confirmed" in user_groups &
"confirmed" in user_groups &
!( "bot" in user_groups ) &
!( "bot" in user_groups ) &
/** do not warn for subpages **/
/** do not warn for subpages **/
!( "/" in page_title ) &
!( "/" in page_title ) &
(
(
     comment := "-- derived from template:(?:ds|contentious topics)/alert(?:/first)? --";
     comment := "-- derived from template:(?:ds|contentious topics)/alert(?:/first)?(?:/DS)? --";


     /** cancels out most edits **/
     /** cancels out most edits **/
     added_lines irlike (comment + "|subst:") &
     added_lines irlike (comment + "|subst:") &
     /** now check added_lines_pst, which is the more expensive operation **/
     /** now check added_lines_pst, which is the more expensive operation **/
     added_lines_pst irlike comment &
     added_lines_pst irlike comment &
     !( removed_lines irlike comment )
     !( removed_lines irlike comment )
)
)

Differences between versions

ItemVersion from 23:14, 16 January 2023 by Suffusion of YellowVersion from 20:49, 17 January 2023 by Dreamy Jazz
Basic information
Notes:
NOTE: Please raise problems at 'Template talk:DS' or 'Wikipedia:Edit filter noticeboard'.
NOTE: Please raise problems at 'Template talk:DS' or 'Wikipedia:Edit filter noticeboard'.


====
====


SPECIAL NOTE ON EDITS MADE AT AROUND 23:29 ON 22 MARCH 2014: Due to a typo in the filter conditions, this filter today tagged several innocent edits. This was a mistake. Apologies for any confusion caused. -- User:AGK
SPECIAL NOTE ON EDITS MADE AT AROUND 23:29 ON 22 MARCH 2014: Due to a typo in the filter conditions, this filter today tagged several innocent edits. This was a mistake. Apologies for any confusion caused. -- User:AGK


Cleanp layout and reduce likely condition count.  -DF
Cleanp layout and reduce likely condition count.  -DF


Remove function to ignore if there is the text in old_wikitext. Callanecc 12 Sep 16
Remove function to ignore if there is the text in old_wikitext. Callanecc 12 Sep 16


Change edit_diff_pst to added_lines_pst to avoid issue where the edit after the alert is picked up by the filter. Also removed size limit to cover more situations (such as when additional information is included in the same edit and for long sigs). Plus detect "confirmed" rather than "autoconfirmed" for manually confirmed users. Callanecc 19 Sep 16
Change edit_diff_pst to added_lines_pst to avoid issue where the edit after the alert is picked up by the filter. Also removed size limit to cover more situations (such as when additional information is included in the same edit and for long sigs). Plus detect "confirmed" rather than "autoconfirmed" for manually confirmed users. Callanecc 19 Sep 16


Reverting Musik's change, the filter isn't working. Callanecc 28 Nov 17
Reverting Musik's change, the filter isn't working. Callanecc 28 Nov 17


Trying this again. This time I tested it to be working. ~MA
Trying this again. This time I tested it to be working. ~MA


Suppress for subpages. -TC
Suppress for subpages. -TC


Update to allow removal of {{Z33}} template. --Suffusion of Yellow 22:00 2 Oct 2021
Update to allow removal of {{Z33}} template. --Suffusion of Yellow 22:00 2 Oct 2021


Update for WP:CT2022 -- Dreamy Jazz 19:51 15 Jan 2023
Update for WP:CT2022 -- Dreamy Jazz 19:51 15 Jan 2023


Cleanup, fix bug reported at [[Special:PermaLink/1133944322#Filter 602 not alerting for non-first contentious topic alerts]]. --Suffusion of Yellow 22:45 16 Jan 2023
Cleanup, fix bug reported at [[Special:PermaLink/1133944322#Filter 602 not alerting for non-first contentious topic alerts]]. --Suffusion of Yellow 22:45 16 Jan 2023
Update to also include alert/DS. Dreamy Jazz 17 Jan 2023
Filter conditions
Conditions:
( documentation)
page_namespace == 3 &
page_namespace == 3 &
"confirmed" in user_groups &
"confirmed" in user_groups &
!( "bot" in user_groups ) &
!( "bot" in user_groups ) &
/** do not warn for subpages **/
/** do not warn for subpages **/
!( "/" in page_title ) &
!( "/" in page_title ) &
(
(
     comment := "-- derived from template:(?:ds|contentious topics)/alert(?:/first)? --";
     comment := "-- derived from template:(?:ds|contentious topics)/alert(?:/first)?(?:/DS)? --";


     /** cancels out most edits **/
     /** cancels out most edits **/
     added_lines irlike (comment + "|subst:") &
     added_lines irlike (comment + "|subst:") &
     /** now check added_lines_pst, which is the more expensive operation **/
     /** now check added_lines_pst, which is the more expensive operation **/
     added_lines_pst irlike comment &
     added_lines_pst irlike comment &
     !( removed_lines irlike comment )
     !( removed_lines irlike comment )
)
)

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook