Page MenuHomePhabricator

prevent merging disambiguation items with items that are not disambiguations (based on P31 values)
Open, Needs TriagePublic

Description

*The Gadget-Merge shouldn't allow merging items if one of the items has P31 = Q4167410 ("Wikimedia disambiguation page") and the other doesn't.
*The same goes for Special:MergeItems / the api function

Item 1Item 2Expected result
Q4167410Q4167410merge
Q4167410not Q4167410don't merge
not Q4167410Q4167410don't merge
not Q4167410not Q4167410merge

Project discussion: https://www.wikidata.org/w/index.php?title=Wikidata:Contact_the_development_team&oldid=361189082#Playing_around

Event Timeline

It already checks if one of the items is linked to the other (with https://www.wikidata.org/wiki/Property:P1889 for example), useful for multiple wrong merges. I like the idea of your suggestion, but I'm wondering how much a feature like this would impact the performance of the gadget.

Esc3300 renamed this task from prevent Wikidata merge gadget from merging disambiguation items with items that are not disambiguations (based on P31 values) to prevent merging disambiguation items with items that are not disambiguations (based on P31 values).Sep 17 2016, 10:48 AM
Esc3300 updated the task description. (Show Details)

What's the progress in this? The community of Wikidata is interested that this problems will be resolved.

https://www.wikidata.org/wiki/Wikidata:Project_chat#Preventing_to_merge_disambiguation_items_with_regular_items

Since this is about a gadget, it's up to the community to solve this issue. Gadgets are for the community.

What's the progress in this? The community of Wikidata is interested that this problems will be resolved.

https://www.wikidata.org/wiki/Wikidata:Project_chat#Preventing_to_merge_disambiguation_items_with_regular_items

Since this is about a gadget, it's up to the community to solve this issue. Gadgets are for the community.

I think this task also covers the API function.

This is creating constraint violations day in, day out.

This is creating constraint violations day in, day out.

I'm sorry, I don't understand. Does that mean you don't agree with this request?

This is creating constraint violations day in, day out.

I'm sorry, I don't understand. Does that mean you don't agree with this request?

I agree very much. There are two cases:

  • People merging non-disambiguation sitelinks by accident in disambiguation item, then remove the existing sitelinks(!) except for the just added one and merge it into the "correct" item. Creating one big mess.
  • People who write over disambiguation pages and merge items afterwards.

This is creating constraint violations day in, day out.

I'm sorry, I don't understand. Does that mean you don't agree with this request?

I agree very much. There are two cases:

  • People merging non-disambiguation sitelinks by accident in disambiguation item, then remove the existing sitelinks(!) except for the just added one and merge it into the "correct" item. Creating one big mess.
  • People who write over disambiguation pages and merge items afterwards.

Oh ok, now I get it :) thanks.