[go: nahoru, domu]

Page MenuHomePhabricator

Improve Special:MergeItems for qualified and not-qualified statements
Open, Needs TriagePublicBUG REPORT

Description

User story:
When using Special:MergeItems to merge two Wikidata Items, if ItemA has a statement X with one or more qualifiers and ItemB has the same statement X without qualifiers and references, the two statements are kept separate in the merged Item.

Problem:
After merging such cases, I had to manually remove the statement that lacked qualifiers and references.

Steps to replicate the issue (include links if applicable):

  • Go to Test Wikidata
  • Create ItemA and add statement X with 1+ qualifier(s).
  • Create ItemB and add statement X without qualifiers and references.
  • Use the Special:MergeItems to merge ItemA and ItemB.
  • Observe that the two statements for X are kept separate in the merged Item

Example:
In this edit, the statement for GND ID (P227) with value 1057744190 was duplicated after merging.

What should have happened instead?:
The statement without qualifiers and references should be considered a duplicate of the statement with qualifiers and automatically removed during the merge process.

Previous discussion:
See discussion on Wikidata:Report a technical problem#Improvement in merge gadget to avoid data duplication

Related Objects

Event Timeline

Mohammed_Sadat_WMDE renamed this task from Special:MergeItems for qualified and not-qualified IDs to Improve Special:MergeItems for qualified and not-qualified IDs.Apr 6 2023, 10:49 AM

Is this only about qualifiers or also about references?

I edited the task to make it clearer. So, two statements X could be surely merged only if they have exactly the same qualifiers (e.g. X + qual. A with X + qual. A) or if one has qualifier(s) and the other has no qualifiers and no references (e.g. X + qual. A with X without qualifiers and references). Presently, the Merge process keeps X with qualifiers and X with no qualifiers and no references separated, which should be avoided.
Of course X with qualifiers should not merged with X with no qualifiers but one or more references, since the references could or could not support the qualifiers. I hope it's clear enough.

Epidosis renamed this task from Improve Special:MergeItems for qualified and not-qualified IDs to Improve Special:MergeItems for qualified and not-qualified statements.May 23 2024, 7:12 PM

just noticed this bug, I hope it can be fixed.