Help:विलय
This page in a nutshell: आयटम्स को मर्ज करते समय पूरी तरह से निश्चित रहें कि विषय समान हैं। दावों को खुद स्थानांतरित न करें, वरना अनुप्रेषण नहीं बनाया जाएगा। अगर आप निश्चित नहीं हैं तो पूछें। |
एक मर्ज या विलय तब किया जाता है जब किसी एक ही विषय, परिकल्पना, या वस्तु के बारे में विकिडेटा पर दो या अधिक आयटम्स मौजूद हों। मर्ज करना कई चरणों की एक प्रक्रिया है, जिसमें पहले आयटम्स के बारे में सारी डेटा को एक पृष्ठ पर जमा किया जाता है (प्रापक आयटम), और आखिर में पुराने पृष्ठों को प्रापक पृष्ठ की ओर अनुप्रेषित कर देना।
एक मर्ज या तो स्वचालित रूप से, या फिर हस्तचलित रूप से साइटकड़ियों और बयानों को एक आयटम पर लेकर पुराने आयटम/आयटम्स को अनुप्रेषित करके किया जा सकता है। स्वचालित मर्ज, मर्ज गैजेट की मदद से किए जाने चाहिए।
इस गाइड में दिखाया गया है कि अपनी वरीयताओं में मर्ज गैजेट को सक्रिय करके और कुछ दूसरे तरीकों से स्वचालित मर्ज को सक्षम कर सकते हैं।
अगर आपके पास आयटम्स को मर्ज करने के बारे में कोई सवाल है, कृपया परियोजना चैट पर पूछें।
निश्चित कर लें
निश्चित करें कि आयटम्स सचमुच एक ही विषय, परिकल्पना, या विषय के बारे में हैं। दो या अधिक आयटम्स की उपस्थिति के बीच छोटे अंतर हो सकते हैं।
उदाहरण
- en:tree → de:Baum (पेड़ का जर्मन शब्द)
- मर्ज करना है?
- कारण: ये एक ही चीज़ (पेड़) के बारे में हैं और इन्हें (बहुभाषी) आयटम tree (Q10884) पर मर्ज कर दिया जाना चाहिए।
- en:tree → de:Eiche (ओक पेड़ का जर्मन शब्द)
- मर्ज करना है?
- कारण: ये अलग-अलग चीज़ें हैं (ओक पेड़, पेड़ "का एक उपवर्ग" है) इसलिए इन्हें दो अलग-अलग आयटम्स होना चाहिए; क्रमशः tree (Q10884) और remarkable oak (Q33036816)
- मिलर (पारिवारिक नाम) → मिलर (बहुविकल्पी पृष्ठ)
- मर्ज करना है?
- कारण: ये अलग-अलग परिकल्पनाएँ हैं, हालाँकि कुछ विकिपीडिया लेख पारिवारिक नामों को बहुविकल्पी पृष्ठों पर रखते हैं। इन्हें दो अलग-अलग आयटम्स होना चाहिए; क्रमशः Miller (Q1605060) और Miller (Q304896)
अगर आप निश्चित नहीं हैं (उदाहरणस्वरूप, अलग-अलग भाषाओं के बीच अनुवाद करने में मुश्किलों के कारण), या फिर असंगत साइटकड़ियों वाले आयटम्स पाते हैं, मद्दे को इंटरविकि संघर्ष पर लाएँ।
स्वचालित मर्ज
स्वचालित मर्ज करने के दो तरीके हैं: मर्ज गैजेट या फिर विशेष "दो आयटम्स को मर्ज करें" पृष्ठ।
कृपया याद रखें कि, हालाँकि इंटरविकि संघर्षों के पाए जाने पर स्वचालित मर्जों को रोक दिया जाएगा, आपको फिर भी जाँच लेना चाहिए कि आयटम्स समान हैं, क्योंकि उपकरण बस वही मर्ज करेंगे जो आप मर्ज करने के लिए चुनेंगे। Special:MergeItems, अनुप्रेषणों से बने संघर्षों को सुलझा सकता है।
गैजेट
Merge.js Ebrahim द्वारा एक गैजेट है जिससे साइटकड़ियों, लेबल्स, विवरण, उपनामों, और सन्दर्भों वाले बयानों को स्थानांतरित किया जा सकता है।
To enable this function, open Preferences, select Gadgets, check the box for Merge and hit the Save button. To use it, open either the recipient or obsolete item, go to the drop-down menu in the top bar (in the default skin, it is to the left of "Search"), select "Merge with...", and enter the ID of the other item into the merge wizard. Click on "Merge" when done.
Special:MergeItems
Special:MergeItems can be used to trigger a merge of two items where all labels, descriptions, aliases, sitelinks and statements are moved. Enter the Q#### (not item label) in the fields specifying which is the recipient item ("The ID to merge to") and which is the obsolete item ("The ID to merge from").
If you need assistance with the special page, please use Wikidata:Project chat.
Special:MergeLexemes
Special:MergeLexemes can be used to trigger a merge of two lexemes if (only if) the lemma, the language and the lexical category are identical. If one of them isn't identical, it may be that this can be corrected first.
Enter the L#### in the fields specifying which is the recipient lexeme ("The ID to merge to") and which is the obsolete lexeme ("The id to merge from").
QuickStatements
The QuickStatements 2 (Q29032512) tool, and its predecessor, QuickStatements (Q20084080) allow users to merge a series of items. See the instructions.
Mark as duplicate
If two items can't be merged because of two different articles at a Wikipedia, these can be marked for merging with markasduplicate.js.
The script also adds instance of (P31) = Wikimedia duplicated page (Q17362920) to the redundant item.
विलय:क्रमशः
Manual merge steps (automatic merge is generally preferred) |
---|
Select recipient itemOnce it has been decided that two or more items should be merged, one item will be selected to be the recipient item (i.e. the item you are merging to) for sitelinks and statements. The recipient item is usually the item that is used more often (possible indicators are the quality of sitelinks or the number of sitelinks and statements). When in doubt, it's best to choose the item with the lowest Q####, as it will be the older item (meaning the one created before the others). Move sitelinksSitelinks can be moved manually from one item to another by first removing the link(s) from the obsolete item(s) (i.e. the item(s) you are merging from), and then adding it to the recipient item. If you try to add the sitelink to the recipient item before removing it from the obsolete item(s), there will be a conflict. There is a gadget in your preferences called Move that gives users the ability to move sitelinks quickly. Once the gadget is enabled, go to the obsolete item, click the icon next to the sitelink you wish to move, then input the Q#### of the recipient item. Move label and descriptionCorrect labels, descriptions and aliases that are present in the obsolete item, but not present in the recipient item, should simply be added to the recipient item. If a different label is already present, you can add the label of the obsolete item as an alias. To check which labels, descriptions and aliases are present in various languages, it is advisable to turn on the labelLister gadget in your preferences. To activate the labelLister gadget for a given item, click on the "Label List" tab at the top right of the item page. Upon clicking on it, you will see a pop-up with a list of all labels, descriptions, and aliases available by language code. The autoEdit gadget (also under preferences) can in some cases be used to generate new labels and descriptions for the recipient item, which may be easier than moving them from the obsolete item. Once activated, the gadget will appear in the left sidebar menu under "Tools" with the label "Automatic addition." Move statementsCorrect statements that are present in the obsolete item, but not present in the recipient item, should simply be added to the recipient item. Be sure not to add statements that are already present but keep in mind that it's possible to add multiple values to one property in Wikidata.
Create redirectOnce all the sitelinks, properties, labels, and descriptions have been moved and copied over to the recipient item, the obsolete item can then be redirected. The Merge gadget provides the easiest way to do this. Redirects can also be created using Special:RedirectEntity. Furthermore, User:PLbot will create redirects for all merged items which are not redirected yet (Task 10). |
Items to be merged with sitelink conflicts
If there is a sitelink conflict, items can't be merged as only one link per site is possible.
Until the two pages at the site (e.g. articles at English language Wikipedia) are merged, two items have to be kept at Wikidata.
- One of the two items should be marked with instance of (P31)Wikimedia duplicated page (Q17362920) and qualifier of (P642)the other (main) item. Usually the more recent item should be marked. Wikidata:Database reports/Identified duplicates lists all such items.
- Statements, other sitelinks and labels/descriptions can be moved from the redundant item to the main item.
- Once the articles at the site are merged, the two items can be merged and instance of (P31)Wikimedia duplicated page (Q17362920) deleted.
Note the tool Mark as duplicate above.
If the sitelink conflict is due to an article and a redirect pointing to the same article, the redirect can be removed and the items merged.
Dealing with items where both have a Wikipedia link to the same Wikipedia
A Wikidata item can only have one Wikipedia link so it's not possible to re-add both links after merging. If one link is to a redirect and the other is to a proper Wikipedia article, then remove the link to the redirect and merge. If, however, both links are to proper Wikipedia articles, you should not leave any of those Wikipedia articles without a linked Wikidata item. Sometimes that means moving the Wikipedia link to a more appropriate item. Other times it means asking in Wikipedia for the articles to be merged when they are duplicates. If Wikipedia doesn't merge their articles, we don't merge the items here on Wikidata.
Finding items to merge
Now that you know how to merge, you can make use of your new skill at various places on Wikidata where potential duplicates are found/listed. These places include:
- Wikimedia tool which has gamified the merging process, offering candidate pages to potentially be merged by the user
User:Ivan A. Krestinin/To merge
- lists of merge candidates based on similar page title strings
- lists of merge candidates based on sitelink names being identical
- lists of merge candidates based on values of a property being same in two items
- finds items containing only one sitelink to a Wikimedia site (which therefore may need to be merged with other items linked to different Wikimedia language versions of the same page)
- lists items in a given category that are linked to articles in Wikipedia A but not in Wikipedia B
- summary of constraint violations for properties; in particular, "Unique value" violations may indicate a duplication
- list of items having at least one sitelink which is due to a bug used in another item
Wikidata:Database reports/identical birth and death dates
- based on date of birth (P569) and date of death (P570)
Wikidata:Database reports/Identified duplicates
- items with Wikimedia duplicated page (Q17362920) waiting for Wikipedia to merge
Wikidata:VIAF/cluster/linking to multiple Wikidata items
- items which, according to VIAF (see VIAF ID (P214)), are related to the same person - VIAF may sometimes be wrong
Other pages and projects in the Category:Merge candidates
Feel free to add any more useful pages or delete ones that are not actively updated!
Unmerging
Canceling a wrong merge could be done in a few steps:
- Go to the history page of the item onto which the merge has been done and restore the revision just before the merge.
- Go to the history page of the merged item and restore the revision just before the merge.
The order is important (especially if the item has sitelinks) because articles can be linked to at most one item. So they should first be deleted on the item which got all the linked before they could be restored on the other one.
Some bots (KrBot for example) are known to replace the redirected items in statements with their target redirects a certain period of time (24 hours for KrBot) after the merge. The next step is to ping bot owners (like Ivan A. Krestinin) so they can run the code to cancel the merge if that period of time passed and some bot did the substitution, so that the statements can be restored with the right item. KrBot creates edit groups when fixing redirects, which may be reverted en masse using the EditGroups tool.
On a closely related topic, the help page Help:Split an item will help you if the item has not been merged but if statements on two topics are mixed-up on a unique item for some reason. It has guidelines on how to divide the statements on two items without re-entering the information by hand.
See also
- Help talk:Merge, to propose or request a merge
For related Help pages, see:
- Help:Deduplication
- Help:Conflation of two people
- Help:Sitelinks, which explains what sitelinks are and what rules they follow
- Wikidata:Interwiki conflicts, for reporting interwiki conflicts
- Wikidata:Requests for deletions, for nominating items for deletion
- Wikidata:Tools, freely available tools for working with Wikidata
For additional information and guidance, see:
- परियोजना चैट, विकिडेटा के हर पहलू के बारे में चर्चा के लिए
- Wikidata:Glossary, इस और दूसरे सहायता पृष्ठों पर प्रयुक्त शब्दों की शब्दावली
- Help:FAQ, विकिडेटा समुदाय द्वारा अक्सर पूछे जाने वाले और सुलझाए जाने वाले प्रश्न
- Help:Contents, विकिडेटा के बारे में उपलब्ध पूरे प्रलेख को सूचीबद्ध करने वाला एक सहायता प्रवेशद्वार