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.



    Log possible non-EC creations in other ECR topic areas

    [edit]

    We currently have Special:AbuseFilter/1276 logging possible ARBPIA creations. In the interest of fairness and consistency we should do so (either with that filter or with a new filter ID) for the other extended-confirmed-only topic areas.

    That would be:

    • Russo-Ukrainian War (contains both "Russia" and "Ukraine"; probably each individually is too broad).
    • Kurds and Kurdistan (probably Kurd case-sensitive would suffice)
    • Armenia/Azerbaijan (this is a smaller area than Russia and Ukraine so probably easy country name individually would suffice)
    • history of Jews and antisemitism in Poland during World War II (probably too narrow to be findable, listing for completeness)

    * Pppery * it has begun... 02:42, 12 May 2025 (UTC)[reply]

    Block bad moves to project space

    [edit]

    Continuing the bad move filter train, another idea would be to block moves by new users from user, draft, or main namespace to the Wikipedia: namespace -- that's rarely where things are supposed to go, and seems to get frequently selected by mistake. * Pppery * it has begun... 17:26, 14 May 2025 (UTC)[reply]

    It makes sense to make this another addition to 1354 (hist · log). Here's some sample code (note that the age/contribs requirement is very flexible, I'll leave the exact details to an EFM):
    /* rest of 1354 */
    | (
       equals_to_any(moved_from_namespace, 0, 2, 118) &
       moved_from_namespace == 4 &
       (user_editcount < 60 | user_age < 604800)
    )
    
    PharyngealImplosive7 (talk) 04:47, 21 May 2025 (UTC)[reply]
    @Pppery  Done. @PharyngealImplosive7: great minds think alike, I drafted up the exact same code and then came here to post about it. --Ahecht (TALK
    PAGE
    )
    16:54, 22 May 2025 (UTC)[reply]
    @Pppery: @PharyngealImplosive7: @Ahecht: Looks great. After reviewing the move log to confirm it was enough of an issue to add to the filter, I added a similar check for each of the respective talk namespaces and made a few minor tweaks for performance. Daniel Quinlan (talk) 17:29, 22 May 2025 (UTC)[reply]