Page MenuHomePhabricator

Automatically create redirects when merging items
Closed, ResolvedPublic1 Estimated Story Points

Description

Automatically create redirects when merging items


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=5

Related Objects

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:30 AM
bzimport set Reference to bz57745.
bzimport added a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).

I'd like to get some community feedback if we should still spend time on this or if it is ok the way things are now.

I would love to see this fixed to just get it over with. I have a list of items at https://www.wikidata.org/wiki/User:Multichill/To_redirect that have recently be emptied out to be redirected, but the item was not redirected. Just updated it and again about 1600 items on there.

And how about automatically Fixing the Double-Redirects of items?

Lucie set Security to None.

Change 214917 had a related patch set uploaded (by Lucie Kaffee):
[WIP] Redirect creation when using wbmergeitems

https://gerrit.wikimedia.org/r/214917

Change 214917 merged by jenkins-bot:
Merging items creates redirect

https://gerrit.wikimedia.org/r/214917

@tobi: think so, yea :)

Um, is this supposed to be fixed? Currently, PLBot still redirects a lot of the items emptied by a merge.

Um, is this supposed to be fixed? Currently, PLBot still redirects a lot of the items emptied by a merge.

I just tested this on test and it seems to still be working.
https://test.wikidata.org/w/index.php?title=Q213482&action=history

Can you provide an example PLBot edit creating a redirect that was not automatically created?

See, for example, https://www.wikidata.org/w/index.php?title=Q25945246&action=history, https://www.wikidata.org/w/index.php?title=Q25945256&action=history, https://www.wikidata.org/w/index.php?title=Q25945263&action=history, https://www.wikidata.org/w/index.php?title=Q25945274&action=history, https://www.wikidata.org/w/index.php?title=Q25945289&action=history, https://www.wikidata.org/w/index.php?title=Q25945302&action=history, https://www.wikidata.org/w/index.php?title=Q25945344&action=history, https://www.wikidata.org/w/index.php?title=Q25945350&action=history, https://www.wikidata.org/w/index.php?title=Q25945373&action=history, https://www.wikidata.org/w/index.php?title=Q25945422&action=history, https://www.wikidata.org/w/index.php?title=Q25945438&action=history, https://www.wikidata.org/w/index.php?title=Q25945481&action=history, https://www.wikidata.org/w/index.php?title=Q25945484&action=history, https://www.wikidata.org/w/index.php?title=Q25945487&action=history, https://www.wikidata.org/w/index.php?title=Q25945496&action=history, https://www.wikidata.org/w/index.php?title=Q25945510&action=history, https://www.wikidata.org/w/index.php?title=Q25945524&action=history, https://www.wikidata.org/w/index.php?title=Q25945530&action=history, https://www.wikidata.org/w/index.php?title=Q25945534&action=history, https://www.wikidata.org/w/index.php?title=Q25945536&action=history, https://www.wikidata.org/w/index.php?title=Q25945545&action=history, https://www.wikidata.org/w/index.php?title=Q25945553&action=history, https://www.wikidata.org/w/index.php?title=Q25945554&action=history, https://www.wikidata.org/w/index.php?title=Q25945558&action=history, https://www.wikidata.org/w/index.php?title=Q25945559&action=history, https://www.wikidata.org/w/index.php?title=Q25945560&action=history, https://www.wikidata.org/w/index.php?title=Q25945566&action=history, https://www.wikidata.org/w/index.php?title=Q25945584&action=history, https://www.wikidata.org/w/index.php?title=Q25945599&action=history, https://www.wikidata.org/w/index.php?title=Q25945611&action=history, and https://www.wikidata.org/w/index.php?title=Q25945616&action=history.

Looking at the first few these edits seem to always leave some descriptions behind which then need to be cleared up https://www.wikidata.org/w/index.php?diff=1292704464&oldid=1292658459&title=Q25945246

This is intended behaviour when users choose to use the ignoreconflicts option of the wbmergeitems api https://www.wikidata.org/w/api.php?action=help&modules=wbmergeitems

Change to this behaviour would need a new ticket with @Lydia_Pintscher attached, but right now the behaviour is intentional when used with that param.

What's the point in having ignoreconflicts disabled on merging items through the "Other languages" interface when a) the on-Wikidata merge tool does not and b) PLBot removes the leftover descriptions anyway?

What's the point in having ignoreconflicts disabled on merging items through the "Other languages" interface when a) the on-Wikidata merge tool does not and b) PLBot removes the leftover descriptions anyway?

One possibility could be another option for the API to force conflicted things to be removed and a redirect to be created, but that would be a new feature request