Requested edit filters |
---|
This page can be used to request edit filters, or changes to existing filters. Edit filters are primarily used to address common patterns of harmful editing. Private filters should not be discussed in detail. If you wish to discuss creating an LTA filter, or changing an existing one, please instead email details to wikipedia-en-editfilterslists.wikimedia.org. Otherwise, please add a new section at the bottom using the following format: == Brief description of filter == *'''Task''': What is the filter supposed to do? To what pages and editors does it apply? *'''Reason''': Why is the filter needed? *'''Diffs''': Diffs of sample edits/cases. If the diffs are revdelled, consider emailing their contents to the mailing list. ~~~~ Please note the following:
|
Index |
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 4 sections are present. |
meme := "(?i)(" + str_replace(str_replace(page_title,"(the|or|and)","")," ","|") + ")";
bad_desc := "(cringe|worst|best)";
any_meme := "(skibd|skidibi|skibid|rizz|bozo|\(meme\))";
meme_cat := "(meme\}\}|fads\]\]|trends\]\]|slang\]\])";
!"confirmed" in user_groups & page_title irlike any_meme & (
rcount(meme, added_lines) / 3 > rcount("\.", added_lines) + 0.5 | /* prevent excessive use of the meme */
rcount(bad_desc,added_lines) > 3 | /* prevent defamation of the meme */
(removed_lines irlike meme_cat & !old_wikitext irlike meme_cat) /* prevent decategorization from meme categories */
)
Faster than Thunder ( talk | contributions) 01:06, 6 May 2024 (UTC)
!( (removed_lines + page_title) irlike abuseStr)
basically means that Skibidi Toilet additions are excluded from said article describing this meme itself.
Codename Noreste 🤔
La Suma 02:13, 6 May 2024 (UTC)Done. Faster than Thunder ( talk | contributions) 21:22, 8 May 2024 (UTC)
meme := "(?i)(" + str_replace(page_title," ","|") + ")";
length(meme) * 2 < rcount(meme,added_lines) | // prevent excessive use of the meme
meme
by splitting apart the title. That's clever, but what about a title like "Bozo the Clown"? One of your words is going to be "the". Second, rcount()
counts the total number of matches, not the total length of the matches put together. If you want to prevent excessive use of a word, say something more like:rcount(meme, added_lines) - rcount(meme, removed_lines) > 2
get_matches(bad_desc,added_lines) > 3 | // prevent defamation of the meme
get_matches()
returns a fixed-size array. I'm not sure what the "3" is supposed to mean.(removed_lines irlike meme_cat & !old_wikitext irlike meme_cat) // prevent decategorization from meme categories
added_lines
instead of old_wikitext
. But we already have
132 (
hist ·
log) for category removal.get_matches(bad_desc,added_lines) > 3 | // prevent defamation of the meme
is supposed to be compared to the array length so maybe @
Faster than Thunder really just meant length(get_matches(bad_desc,added_lines)) > 3
. I also do sadly agree that vandalism to meme pages is bound to happen, and we'll probably need to protect them at some point. –
PharyngealImplosive7
(talk) 22:34, 9 May 2024 (UTC)
bad_desc
variable to prevent defamation, wouldn't another issue be to say that the meme is the "best"? So would it also be a good idea to create a separate variable to prevent additions like that? –
PharyngealImplosive7
(talk) 02:57, 10 May 2024 (UTC)
Per this discussion (pinging @ GreenC):
|result=
parameter of {{
Infobox military conflict}}
, disallow edits between sides of "X victory", in addition to edits away from or between "X victory", "Inconclusive", and "See (article section)" by IP addresses or very new users.Remsense 诉 01:17, 11 May 2024 (UTC)
Edit filters are used primarily to prevent abuse. Contributors are not expected to have read all 200+ policies, guidelines and style pages before editing, and I don't think it's a far stretch to assume that edits are all in bad faith. Even in the diffs provided, the edit to Fourth Crusade seems misguided and wrong, but not necessarily in bad faith. Any filter that catches this would end up with a non-zero amount of false positives. I'm not against a log or maybe a tag filter, though. I'll see if I can work one up, but if anyone wants to have a shot at trying the code in the meantime feel free. EggRoll97 ( talk) 04:04, 24 May 2024 (UTC)
I think a filter which logs (and eventually warns?) people who attempt to create an article which begins with your username would be beneficial. I have seen multiple people who create (e.g.) HouseBlaster/sandbox as opposed to User:HouseBlaster/sandbox (and I have personally done something similar).
It also might catch people who try to write autobiographies and people whose usernames violate WP:CORPNAME, both of which seem like positive side-effects.
Thanks, House Blaster ( talk · he/him) — Preceding undated comment added 13:49, 17 May 2024 (UTC) <diff>
page_id == 0 &
(
page_namespace == 0 &
(
page_title rlike user_name | user_name in page_title
)
)
I've noticed that new usernames which contain "Skibidi" in them often are used only for disruption/vandalism/trolling. Is there any way we could add a filter which blocks all usernames with "Skibidi" and/or sends them to UAA? If you reply here, please ping me. Thanks — thetechie@enwiki: ~/talk/ $ 02:33, 29 May 2024 (UTC)
action == "createaccount"
); there is
User:AmandaNP/UAA/Blacklist in which you can propose adding s+k+[i1bdt]{4,}y*\b
on the talk page.
Codename Noreste 🤔
La Suma 03:15, 29 May 2024 (UTC)
I'm not good at this, but something like this might work:
format := "
^== .* ==\n
*Target of redirect:\[\[.+\]\]\n
*Reason:.*\n
*Source (if applicable):.*\n
<references />\n
~~~~$
"
!( "confirmed" in user_groups ) &
page_title == "Articles for creation/Redirects" &
!(added_lines_pst rlike format)
'''[[ User:CanonNi]]''' ( talk • contribs) 07:09, 3 June 2024 (UTC)
Air on White ( talk) 00:21, 5 June 2024 (UTC)
Air on White ( talk) 21:21, 9 June 2024 (UTC)
Hi. Could the line !('/' in page_title) &
be removed from
803 (
hist ·
log)? I can't think of a scenario where a new user would need to edit someone else's subpage, and I've seen users vandalizing guestbooks and other subpages before. Thanks. '''[[
User:CanonNi]]''' (
talk •
contribs) 10:32, 13 June 2024 (UTC)
page_first_contributor != user_name
could work for already created subpages.
Nobody (
talk) 11:23, 13 June 2024 (UTC)
Air on White ( talk) 00:14, 14 June 2024 (UTC)
Requested edit filters |
---|
This page can be used to request edit filters, or changes to existing filters. Edit filters are primarily used to address common patterns of harmful editing. Private filters should not be discussed in detail. If you wish to discuss creating an LTA filter, or changing an existing one, please instead email details to wikipedia-en-editfilterslists.wikimedia.org. Otherwise, please add a new section at the bottom using the following format: == Brief description of filter == *'''Task''': What is the filter supposed to do? To what pages and editors does it apply? *'''Reason''': Why is the filter needed? *'''Diffs''': Diffs of sample edits/cases. If the diffs are revdelled, consider emailing their contents to the mailing list. ~~~~ Please note the following:
|
Index |
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 4 sections are present. |
meme := "(?i)(" + str_replace(str_replace(page_title,"(the|or|and)","")," ","|") + ")";
bad_desc := "(cringe|worst|best)";
any_meme := "(skibd|skidibi|skibid|rizz|bozo|\(meme\))";
meme_cat := "(meme\}\}|fads\]\]|trends\]\]|slang\]\])";
!"confirmed" in user_groups & page_title irlike any_meme & (
rcount(meme, added_lines) / 3 > rcount("\.", added_lines) + 0.5 | /* prevent excessive use of the meme */
rcount(bad_desc,added_lines) > 3 | /* prevent defamation of the meme */
(removed_lines irlike meme_cat & !old_wikitext irlike meme_cat) /* prevent decategorization from meme categories */
)
Faster than Thunder ( talk | contributions) 01:06, 6 May 2024 (UTC)
!( (removed_lines + page_title) irlike abuseStr)
basically means that Skibidi Toilet additions are excluded from said article describing this meme itself.
Codename Noreste 🤔
La Suma 02:13, 6 May 2024 (UTC)Done. Faster than Thunder ( talk | contributions) 21:22, 8 May 2024 (UTC)
meme := "(?i)(" + str_replace(page_title," ","|") + ")";
length(meme) * 2 < rcount(meme,added_lines) | // prevent excessive use of the meme
meme
by splitting apart the title. That's clever, but what about a title like "Bozo the Clown"? One of your words is going to be "the". Second, rcount()
counts the total number of matches, not the total length of the matches put together. If you want to prevent excessive use of a word, say something more like:rcount(meme, added_lines) - rcount(meme, removed_lines) > 2
get_matches(bad_desc,added_lines) > 3 | // prevent defamation of the meme
get_matches()
returns a fixed-size array. I'm not sure what the "3" is supposed to mean.(removed_lines irlike meme_cat & !old_wikitext irlike meme_cat) // prevent decategorization from meme categories
added_lines
instead of old_wikitext
. But we already have
132 (
hist ·
log) for category removal.get_matches(bad_desc,added_lines) > 3 | // prevent defamation of the meme
is supposed to be compared to the array length so maybe @
Faster than Thunder really just meant length(get_matches(bad_desc,added_lines)) > 3
. I also do sadly agree that vandalism to meme pages is bound to happen, and we'll probably need to protect them at some point. –
PharyngealImplosive7
(talk) 22:34, 9 May 2024 (UTC)
bad_desc
variable to prevent defamation, wouldn't another issue be to say that the meme is the "best"? So would it also be a good idea to create a separate variable to prevent additions like that? –
PharyngealImplosive7
(talk) 02:57, 10 May 2024 (UTC)
Per this discussion (pinging @ GreenC):
|result=
parameter of {{
Infobox military conflict}}
, disallow edits between sides of "X victory", in addition to edits away from or between "X victory", "Inconclusive", and "See (article section)" by IP addresses or very new users.Remsense 诉 01:17, 11 May 2024 (UTC)
Edit filters are used primarily to prevent abuse. Contributors are not expected to have read all 200+ policies, guidelines and style pages before editing, and I don't think it's a far stretch to assume that edits are all in bad faith. Even in the diffs provided, the edit to Fourth Crusade seems misguided and wrong, but not necessarily in bad faith. Any filter that catches this would end up with a non-zero amount of false positives. I'm not against a log or maybe a tag filter, though. I'll see if I can work one up, but if anyone wants to have a shot at trying the code in the meantime feel free. EggRoll97 ( talk) 04:04, 24 May 2024 (UTC)
I think a filter which logs (and eventually warns?) people who attempt to create an article which begins with your username would be beneficial. I have seen multiple people who create (e.g.) HouseBlaster/sandbox as opposed to User:HouseBlaster/sandbox (and I have personally done something similar).
It also might catch people who try to write autobiographies and people whose usernames violate WP:CORPNAME, both of which seem like positive side-effects.
Thanks, House Blaster ( talk · he/him) — Preceding undated comment added 13:49, 17 May 2024 (UTC) <diff>
page_id == 0 &
(
page_namespace == 0 &
(
page_title rlike user_name | user_name in page_title
)
)
I've noticed that new usernames which contain "Skibidi" in them often are used only for disruption/vandalism/trolling. Is there any way we could add a filter which blocks all usernames with "Skibidi" and/or sends them to UAA? If you reply here, please ping me. Thanks — thetechie@enwiki: ~/talk/ $ 02:33, 29 May 2024 (UTC)
action == "createaccount"
); there is
User:AmandaNP/UAA/Blacklist in which you can propose adding s+k+[i1bdt]{4,}y*\b
on the talk page.
Codename Noreste 🤔
La Suma 03:15, 29 May 2024 (UTC)
I'm not good at this, but something like this might work:
format := "
^== .* ==\n
*Target of redirect:\[\[.+\]\]\n
*Reason:.*\n
*Source (if applicable):.*\n
<references />\n
~~~~$
"
!( "confirmed" in user_groups ) &
page_title == "Articles for creation/Redirects" &
!(added_lines_pst rlike format)
'''[[ User:CanonNi]]''' ( talk • contribs) 07:09, 3 June 2024 (UTC)
Air on White ( talk) 00:21, 5 June 2024 (UTC)
Air on White ( talk) 21:21, 9 June 2024 (UTC)
Hi. Could the line !('/' in page_title) &
be removed from
803 (
hist ·
log)? I can't think of a scenario where a new user would need to edit someone else's subpage, and I've seen users vandalizing guestbooks and other subpages before. Thanks. '''[[
User:CanonNi]]''' (
talk •
contribs) 10:32, 13 June 2024 (UTC)
page_first_contributor != user_name
could work for already created subpages.
Nobody (
talk) 11:23, 13 June 2024 (UTC)
Air on White ( talk) 00:14, 14 June 2024 (UTC)