Jump to content

Extension:Cite

From mediawiki.org
This page is a translated version of the page Extension:Cite and the translation is 50% complete.
Outdated translations are marked like this.
यह पृष्ठ एक्सटेंशन का एक प्रलेख है। इसका उपयोग करने के तरीके के लिए, फ़ुटनोट्स पर मदद और उद्धृत करने में सहायता देखें।
मीडियाविकि एक्सटेंशन नियमपुस्तक
Cite
प्रकाशन की स्थिति: स्थिर
कार्यान्वयन टैग
विवरण सूत्रों को उद्धृत करते हुए फ़ुटनोट बनाता है और ऑफ़लाइन मीडिया में सामग्री को सही तरीके से उद्धृत करने में मदद करता है
लेखक Ævar Arnfjörð Bjarmasonवार्ता
नवीनतम संस्करण निरंतर अद्यतन
संगतता नीति मीडियाविकि के साथ प्रकाशित स्नैपशॉट्स। Master में पश्च संगतता नहीं है।
MediaWiki 1.34+
PHP 7.0+
लाइसेंस GNU साधारण सार्वजनिक लाइसेंस 2.0 या अधिक
डाउनलोड करें
उदाहरण Wikipedia:Footnotes
  • $wgCiteDefaultBacklinkAlphabet
  • $wgCiteReferencePreviewsConflictingNavPopupsGadgetName
  • $wgCiteResponsiveReferencesThreshold
  • $wgCiteResponsiveReferences
  • $wgCiteSubReferencing
  • $wgCiteBacklinkCommunityConfiguration
  • $wgCiteReferencePreviews
  • $wgCiteUseLegacyBacklinkLabels
  • $wgCiteVisualEditorOtherGroup
  • $wgCiteReferencePreviewsConflictingRefTooltipsGadgetName
Cite एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है
मुद्दे अधूरे टास्क्स · बग रिपोर्ट करें

Cite एक्सटेंशन की मदद से सदस्य पृष्ठ पर फ़ुटनोट्स की मदद से उद्धरण बना सकता है। यह दो मीडियाविकि पर पार्सर हुक्स जोड़ देता है, $2 और $3; ये दोनों साथ में काम करके पृष्ठों पर उद्धरण जोड़ते हैं। It adds two parser hooks to MediaWiki, ‎<ref> and ‎<references />; these operate together to add citations to pages.

उपयोग

अधिक जानकारी के लिए Cite एक्सटेंशन के उपयोग के लिए सहायता पृष्ठ देखें।

स्थापना

This extension comes with MediaWiki 1.21 and later, so you do not need to download it. The remaining configuration instructions must still be followed.
  • फ़ाइलों को डाउनलोड करें और अपने extensions/ फ़ोल्डर के Cite नामक डिरेक्ट्री में डालें।
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
    
  • अपने LocalSettings.php फ़ाइल के अंत में निम्न कोड जोड़ें:
    wfLoadExtension( 'Cite' );
    
  • आवश्यकतानुसार कॉन्फ़िगर करें।
  • Yes पूर्ण – अपने विकि पर Special:Version पर जाकर देखें कि एक्सटेंशन को सफलतापूर्वक स्थापित किया गया है कि नहीं।


Vagrant स्थापना:

  • अगर आप Vagrant का इस्तेमाल कर रहे हैं, तो vagrant roles enable cite --provision से स्थापित करें

कॉन्फ़िगरेशन

$wgCiteBookReferencing

true पर सेट करने पर उप-उद्धरणों के लिए एक प्रयोगात्मक सुविधा सक्षम करता है। सहायता पृष्ठ देखें। डिफ़ॉल्ट वैल्यू: false

$wgCiteResponsiveReferences

सन्दर्भों के उत्तरदायी प्रदर्शन के लिए डिफ़ॉल्ट सेटिंग। जब true पर सेट किया जाता है, सन्दर्भ अनुभाग कई कॉलम्स में प्रदर्शित किया जाता है। उपयोग प्रलेख देखें। डिफ़ॉल्ट वैल्यू: true

$wgCiteVisualEditorOtherGroup

जब true पर सेट किया जाता है, Cite टूलबार बटन को 'जोड़ें' मेन्यू के अंतर्गत ले जाया जा सकता है। इसका इस्तेमाल विकियात्रा साइटों पर किया जाता है। मूल सुविधा अनुरोध देखें। डिफ़ॉल्ट वैल्यू: Default value: false.

By adding a definition in JSON to MediaWiki:Cite-tool-definition.json, the cite menu can be populated with tools that create references containing specific templates. The content of the definition should be an array containing a series of objects, one for each tool. Each object must contain name, icon, template properties. An optional title property can also be used to define the tool title in plain text. The name property is a unique identifier for the tool, and also provides a fallback title for the tool by being transformed into a message key. The name is prefixed with visualeditor-cite-tool-name-, and messages can be defined on Wiki. Some common messages are pre-defined for tool names such as web, book, news, journal.

Example:

[ { "name": "web", "icon": "browser", "template": "Cite web" }, ... ]

(From: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Cite/+/refs/heads/REL1_44/modules/ve-cite/ve.ui.MWReference.init.js#64)

Limitations

ये भी देखें