| |
---|---|
Wikipedia's centralized discussion, request, and help venues. For a listing of ongoing discussions and current requests, see the dashboard. For a related set of forums which do not function as noticeboards see formal review processes. | |
General |
|
Articles and content |
|
Page handling |
|
User conduct |
|
Other |
|
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-editfilters 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)Reply
!( (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)ReplyDone. 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)Reply
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)Reply
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)Reply
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)Reply
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)Reply
Air on White (talk) 00:21, 5 June 2024 (UTC)Reply
Air on White (talk) 21:21, 9 June 2024 (UTC)Reply
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)Reply
page_first_contributor != user_name
could work for already created subpages. Nobody (talk) 11:23, 13 June 2024 (UTC)Reply
Air on White (talk) 00:14, 14 June 2024 (UTC)Reply
I propose that 1076 (hist · log), with a filter's description of "Draftified article more than 180 days old", be modified from a threshold of 180 days to 90 days. The notes in the filter say the following:
Since these changes where the filter moved from 90 to 180 days, there has been a RfC on the matter of draftifications and how long after creation is appropriate. It was closed March 24, 2022, and the result was that pages over 90 days should not generally be draftified. As such, it makes sense for the filter to reflect this. Hey man im josh (talk) 13:49, 19 June 2024 (UTC)Reply
celeb := "(Taylor Swift)";
bad_word := "(piss)";
!"confirmed" in user_groups & page_namespace == 0 & (
added_lines rlike bad_word & added_lines rlike celeb |
summary rlike "(|\/\**\*\/)"
)
Faster than Thunder (talk | contributions) 05:13, 20 June 2024 (UTC)Reply
Nyttend (talk) 12:54, 24 June 2024 (UTC)Reply
<!-- Important, do not remove this line before article has been created. -->
beside the templates)I've tested possible code for this filter on Test Wiki (see here), and it seems to work well. '''[[User:CanonNi]]''' (talk • contribs) 13:12, 25 June 2024 (UTC)Reply
!contains_any(user_groups, 'extendedconfirmed', 'sysop', 'bot', 'patrol')
? – PharyngealImplosive7 (talk) 01:36, 26 June 2024 (UTC)Reply
before article has been createdclause of the hidden comment. Can the filter tell the difference between these two cases? If not, then I do not think it will be a helpful filter (unless it is log-only). Primefac (talk) 13:19, 26 June 2024 (UTC)Reply
!added_lines irlike '#redirect'
line is used to not catch drafts that were turned into redirects (likely from a page move). '''[[User:CanonNi]]''' (talk • contribs) 13:26, 26 June 2024 (UTC)Reply