Extension:Disambiguator/hi

डिस्बिम्बिगेटर एक्सटेंशन को बहुविकल्पी पेज को प्रोग्रामेटिक रूप से काम करने में आसान बनाने के लिए बनाया गया है It allows you to designate all disambiguation pages with the __DISAMBIG__ (or an equivalent alias), which then marks them as such in the database. यह अन्य एक्सटेंशनों को अलग-अलग श्रेणी के पेज के रूप में असम्बद्धता पृष्ठों को संभालने की अनुमति देता है।

विन्यास
निम्न कॉन्फ़िगरेशन चर को आपके LocalSettings.php फ़ाइल से सेट किया जा सकता है।
 * $wgDisambiguatorIndicateLinks - whether to add a 'mw-disambig' CSS class to links to disambiguation pages (default is true)
 * $wgDisambiguatorNotifications - whether to warn the user when they type a link to a disambiguation page in wikitext editors (default is false)

विशेषता
यह निम्न विशेषता प्रदान करता है:


 * Programmatic identification of disambiguation pages via the __DISAMBIG__
 * New special pages for listing all disambiguation pages and pages linking to disambiguation pages
 * New API functions equivalent to the above special pages as well as an API function for querying whether or not a page is a disambiguation page
 * Modifies Special:LonelyPages to ignore disambiguation pages
 * Modifies Special:Random to ignore disambiguation pages (requires MediaWiki 1.26.0)
 * If is enabled, allows marking a page as a disambiguation page via the page properties interface
 * If is enabled, shows whether a page is a disambiguation page or not in the link inspector
 * If is enabled, shows whether a page is a disambiguation page or not in the link dialog
 * If configured, adds a 'mw-disambig' CSS class to links to disambiguation pages (See #Configuration above)
 * Warns a user when they is linking to a disambiguation page, and allows them to fix the link.

विकि पर
Once Disambiguator is installed, the best way to use it is to add the  magic word to a template that is then included in all of your disambiguation pages.

Once the magic word is in place, your disambiguation pages will all have the 'disambiguation' page property assigned to them in the database. यह गुण तालिका में रहती है।

आपके पास दो नए भी होंगे:
 * Special:DisambiguationPages - जो आपके विकि पर सभी बहुविकल्पी पृष्ठों को सूचीबद्ध करता है।
 * Special:DisambiguationPageLinks - which lists all of the pages on your wiki that link to disambiguation pages. ( This is a replacement for the old Special:Disambiguations page which is deprecated. )

एपीआई के साथ
सभी बहुविकल्पी पृष्ठों को सूचीबद्ध करने के लिए:

api.php?action=query&list=querypage&qppage=DisambiguationPages

सभी छूट पृष्ठ लिंक को सूचीबद्ध करने के लिए:

api.php?action=query&list=querypage&qppage=DisambiguationPageLinks

Note that on wikis running in MiserMode (all WMF wikis), both the special page and API interface for DisambiguationPageLinks are limited to a certain number of results (typically 1000–5000).

To see if an individual page is a disambiguation page:

api.php?action=query&titles=Bug&prop=pageprops&ppprop=disambiguation

If it is a disambiguation page it will include 'disambiguation' in its pageprops. Note that the disambiguation pageprop, if present, will have its value set to an empty string, so be careful about testing it as a boolean.

संभावित भविष्य की योजना
Special:AllPages (task #9936), Special:PrefixIndex (task #11319), Special:WhatLinksHere (task #9935), Special:AncientPages (task #76287)
 * Add an option to hide disambiguation pages from:
 * Consider extending link dialog in wikitext editor with ability to detect disambigs in search results and pull a list of links
 * इस एक्सटेंशन के लिए बग की पूरी सूची