Edit filter configuration

Differences between versions

ItemVersion from 23:42, 26 October 2023 by Suffusion of YellowVersion from 21:08, 28 October 2023 by Suffusion of Yellow
Basic information
Notes:
See [[Special:PermaLink/1182056875#Unblock requests with nowiki tags]]. A unblock request that doesn't show up in [[:Category:Requests for unblock]] might sit there forever, unnoticed. --Suffusion of Yellow 21:37 26 Oct 2023
See [[Special:PermaLink/1182056875#Unblock requests with nowiki tags]]. A unblock request that doesn't show up in [[:Category:Requests for unblock]] might sit there forever, unnoticed. --Suffusion of Yellow 21:37 26 Oct 2023


Tweak html check to allow other classes, e.g. unblock-un. --Suffusion of Yellow 23:39 26 Oct 2023
Tweak html check to allow other classes, e.g. unblock-un. --Suffusion of Yellow 23:39 26 Oct 2023
Only log if the user is actually blocked; AFAIK user_blocked covers all kinds of blocks, including autoblocks and hard IP blocks while logged in. Leaving as the last check because I don't know how expensive it is to generate this variable. --Suffusion of Yellow 21:07 28 Oct 2023
Filter conditions
Conditions:
(documentation)
page_namespace == 3 &
page_namespace == 3 &
user_name == page_title &
user_name == page_title &
rcount("(?i)unblock", added_lines) > rcount("(?i)unblock", removed_lines) &
rcount("(?i)unblock", added_lines) > rcount("(?i)unblock", removed_lines) &
!(new_html rlike 'class="[^"]*unblock') &
!(new_html rlike 'class="[^"]*unblock') &
(
user_blocked
    user_blocked; /* Generate for later testing */
    true
)