Page MenuHomePhabricator

Babel AutoCreate should not recreate deleted categories
Closed, DeclinedPublic

Description

I deleted [[Category:User Yi]] from enwiki on 26 February, as it was a duplicate of [[Category:User yi]].

https://en.wikipedia.org/w/index.php?title=Special:Log&page=Category%3AUser+Yi

However, Babel AutoCreate recreated the category on 27 February, despite me having fixed the broken #babel invocation that led to it being created:

https://en.wikipedia.org/w/index.php?title=Category:User_Yi&action=history
https://en.wikipedia.org/w/index.php?title=User:%D7%97%D7%95%D7%91%D7%91%D7%94%D7%99%D7%A1%D7%98%D7%95%D7%A8%D7%99%D7%94&diff=prev&oldid=597224662

If an admin has deleted a category that can be used by Babel, it probably should not be recreated. There is likely a good reason for such deletions, and recreation might need to be discussed. Instead of recreation, I recommend getting Babel AutoCreate to log these events on its user page or on a user subpage so that a human can check them.

I have blocked [[User:Babel AutoCreate]] on enwiki, partly for this issue, but mostly because it was creating categories with the wrong capitalisation. (See bug 61993 and bug 61994 for more on that.) If there's a better way of doing this than blocking, let me know and I'll be happy to unblock the account.


Version: unspecified
Severity: normal

Details

Reference
bz61995

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:00 AM
bzimport set Reference to bz61995.
bzimport added a subscriber: Unknown Object (MLST).

I don't think we should be preventing this from recreating deleted categories for the same note I mentioned in bug 61994. If people are using these alternate cases, then it is reasonable to assume that others will as well and the category should be created as a redirect to the proper case/category. Redirects are cheap and this will allow the category redirect bot to go through and move members with the wrong case to the correct one while allowing people to easily find a category regardless of what case they search with or type in the URL bar.

(In reply to Technical 13 from comment #1)

That sounds like a separate bug. Regardless of the *reason* for recreation of a deleted category, it seems reasonable to assume that the action might be controversial. Flagging the category for human review would stop Babel AutoCreate from getting in the way of human editors that have good reasons to delete those categories, whatever those reasons might be. For example, with this feature, there would not have been a reason to file bug 33553.

I don't like this particular fix. There's a lot of ways a category could end up deleted and still be okay to recreate at some point. It looks like the code already respects salting, so that can just be used if necessary.

I'm not sure about this one either.

It's complicated to know if a category is recreated because now useful or because it's still unneeded.

For example, if three users register with a new language code, and the category were deleted as empty, the recreation could be useful.


(In reply to Technical 13 from comment #1)

That sounds like a separate bug. Regardless of the *reason* for recreation of a deleted category, it seems reasonable to assume that the action might be controversial. Flagging the category for human review would stop Babel AutoCreate from getting in the way of human editors that have good reasons to delete those categories, whatever those reasons might be. For example, with this feature, there would not have been a reason to file bug 33553.

At this stage, it could make sense not to use the Babel extension and to manage the categories manually.

I agree with Dereckson. Please see T63993. If, for example, we delete a category as empty because no one happens to speak the language right now, but later some user registers and happens to speak that language and tags his page as such, I think the bot should be recreating it. Thanks.

Dereckson claimed this task.

Consensus not to implement this feature request.