Jump to content

Wikipedia:Edit filter/Requested

From Wikipedia, the free encyclopedia
    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@lists.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:

    • Edit filters are used primarily to prevent abuse. Contributors are not expected to have read all 200+ policies, guidelines and style pages before editing. Trivial formatting mistakes and edits that at first glance look fine but go against some obscure style guideline or arbitration ruling are not suitable candidates for an edit filter.
    • Filters are applied to all edits on all pages. Problematic changes that apply to a single page are likely not suitable for an edit filter. Page protection may be more appropriate in such cases.
    • Non-essential tasks or those that require access to complex criteria, especially information that the filter does not have access to, may be more appropriate for a bot task or external software.
    • To prevent the creation of pages with certain names, the title blacklist is usually a better way to handle the problem - see MediaWiki talk:Titleblacklist for details.
    • To prevent the addition of problematic external links, please make your request at the spam blacklist.
    • To prevent the registration of accounts with certain names, please make your request at the global title blacklist.
    • To prevent the registration of accounts with certain email addresses, please make your request at the email blacklist.




    New IP user using wrong sources and/or IP vandals (Twinkle helper only)

    [edit]

    Brief description of filter

    [edit]
    • Task: This new filter I am proposing disallows edits that introduce "harv or sfn error"s.
    • Reason: Prevent errors.
    • Diffs: E.g. this.

    BodhiHarp 04:28, 12 October 2025 (UTC)[reply]

    We already have 1254 (hist · log) that tags harv errors. Disallowing them would lead to blocking mostly good faith edits often from new contributors, who may not understand what they did wrong. – PharyngealImplosive7 (talk) 05:11, 12 October 2025 (UTC)[reply]
    A better idea would be for a bot to send a (Non warning) talk page message along with the tag 24.155.147.109 (talk) 17:38, 23 October 2025 (UTC)[reply]

    Adding a tag to filter 636

    [edit]

    Filter 636 could also have a tag function besides the warning where the tag could read "(possible) unexplained content removal". However, because this filter is the fourth most triggered out of all the edit filters, this might lead to some issues, so I don't know whether to implement this or not. RaschenTechner (talk) 00:45, 19 October 2025 (UTC)[reply]

    Brief description of filter

    [edit]
    • Task: What is the filter supposed to do? To what pages and editors does it apply?

    It applies to people's user and user talk pages

    • Reason: Why is the filter needed?

    People are vandalizing the page with f word and other words in others user talk pages and that is WP:VANDALISM.

    • Diffs: Diffs of sample edits/cases. If the diffs are revdelled, consider emailing their contents to the mailing list.

    Here's this for example. Black0hole (talk) 17:26, 23 October 2025 (UTC)[reply]

    That is the same person.
    Please look at the ips and who is the primary editor.-Flower 24.155.147.109 (talk) 17:27, 23 October 2025 (UTC)[reply]

    Disallow removing declined unblock requests

    [edit]

    Per WP:KEEPDECLINEDUNBLOCK. Draft code:

    user_blocked &
    ("{{unblock reviewed" in removed_lines) &
    ! ("{{unblock reviewed" in added_lines)
    

    * Pppery * it has begun... 15:50, 30 October 2025 (UTC)[reply]

    Warn for U6 and U7 outside of user subpages

    [edit]

    Chaotic Enby (talk · contribs) 14:57, 31 October 2025 (UTC)[reply]

    Chaotic Enby, are you clarifying that this should apply to all namespaces except user subpages? Codename Noreste (discusscontribs) 22:12, 31 October 2025 (UTC)[reply]
    I presume it will only really be tripped in user space, but maybe also user talk space. I don't think there is any performance issue with having it activate outside user space, as that will be the first check either way. Chaotic Enby (talk · contribs) 22:25, 31 October 2025 (UTC)[reply]
    Any diffs of users adding U6 and U7 templates outside of user subpages? Codename Noreste (discusscontribs) 23:11, 31 October 2025 (UTC)[reply]
    [1]. [2]. [3]. User at least noticed it afterward, on the second and third ones. —Cryptic 17:13, 1 November 2025 (UTC)[reply]
    @Chaotic Enby and Cryptic: Testing at 1390PharyngealImplosive7 (talk) 20:05, 1 November 2025 (UTC)[reply]
    Thanks! I wonder if it could be worth it to try:
    !(page_namespace == 2) |
    !(page_title contains "/")
    to see if there are any hits (whether true or false positives) outside userspace?
    Although now that I think about it, there will be performance issues, as we're adding two irlike checks to every non-userspace edit. Chaotic Enby (talk · contribs) 20:18, 1 November 2025 (UTC)[reply]
    Taggers and patrolling admins are usually pretty good about getting the namespace right, though you do see the occasional draft tagged db-a10 or such. The subpage part is more likely to be abused.
    I'm somewhat more concerned about the templates' redirects; they each have one (tm:csd-u6 and tm:csd-u7 respectively), and speedy deletion tags tend to slowly accumulate more. Edit filters can't check for categorization, or transclusion directly, can they? —Cryptic 20:26, 1 November 2025 (UTC)[reply]
    I've updated the regex pattern to also detect the addition of {{csd-u6 and {{csd-u7PharyngealImplosive7 (talk) 20:31, 1 November 2025 (UTC)[reply]
    Yeah, it could be worth it to test for FPs outside userspace, but they aren't too likely to occur intentionally. I'll see how many are caught by the filter after around a month and if the condition is catching a lot of edits outside userspace, I'll keep it there, but if it isn't (as I suspect it won't), I'll remove it. – PharyngealImplosive7 (talk) 20:27, 1 November 2025 (UTC)[reply]
    Here is the suggested change should there only be changes within others’ userspace pages:
    equals_to_any(page_namespace, 2, 3) &
    !(page_title contains "/") &
    (
        pattern := "{{[\s_]*(?:csd|db)-u[67]";
        
        added_lines irlike pattern &
        !(removed_lines irlike pattern)
    )
    Codename Noreste (discusscontribs) 01:35, 2 November 2025 (UTC)[reply]

    Publifye 2

    [edit]

    Please see the previous request, which got archived without a response. Publifye publishes AI-generated books with little to no human review, and some editors mistakenly believe them to be reliable and cite them. An edit filter that warned them of this and tagged these edits would be great. The reason I brought this up again, is because there has been another edit citing one of their books. Kovcszaln6 (talk) 12:13, 2 November 2025 (UTC)[reply]

    Exempt U6 from 1060 (disallow CSD removal by page creator)

    [edit]

    As U6 is pretty much the userspace equivalent of G13, the page creator is allowed to remove the tag if they want to keep working on the page. For that reason, Special:AbuseFilter/1060 should be edited to add U6 to the exceptions. Chaotic Enby (talk · contribs) 23:42, 2 November 2025 (UTC)[reply]

    Thanks @Jlwoodwa! Chaotic Enby (talk · contribs) 01:30, 4 November 2025 (UTC)[reply]