Page MenuHomePhabricator

Special:MergeItems should report all conflicts at once
Open, LowPublic

Description

When I ask Special:MergeItems to merge two items, I want to know all conflicts at once, so that I can resolve them all at once (or desist from the merge) and then ask merge only once. Currently, I have to continuously switch from one tab to the other: resolve conflict, submit the merge form again, get told of another conflict, and so on.

Event Timeline

Nemo_bis raised the priority of this task from to Needs Triage.
Nemo_bis updated the task description. (Show Details)
Nemo_bis added a subscriber: Nemo_bis.
Lydia_Pintscher added a project: Wikidata.
Lydia_Pintscher set Security to None.

Briefly looking at the code the issue lies in the API module.
Currently exceptions are thrown in each of the methods contained in the linked code https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/repo/includes/ChangeOp/ChangeOpsMerge.php#L157
Once one exception is thrown the processing stops thus on the first conflict is ever reported.

Lydia_Pintscher lowered the priority of this task from Medium to Low.Apr 23 2017, 3:35 PM