Jump to content

Extension:DiscussionTools

From mediawiki.org
This page is a translated version of the page Extension:DiscussionTools and the translation is 31% complete.
Outdated translations are marked like this.
मीडियाविकि एक्सटेंशन नियमपुस्तक
DiscussionTools
प्रकाशन की स्थिति: स्थिर
कार्यान्वयन सदस्य अंतरफलक
विवरण चर्चा पृष्ठों को बेहतर बनाने के लिए उपकरण
लेखक विकिमीडिया सम्पादन दल
नवीनतम संस्करण निरंतर अद्यतन
संगतता नीति मीडियाविकि के साथ प्रकाशित स्नैपशॉट्स। Master में पश्च संगतता नहीं है।
डेटाबेस बदलता है हाँ
  • $wgDiscussionToolsTimestampFormatSwitchTime
  • $wgDiscussionToolsBeta
  • $wgDiscussionTools_visualenhancements
  • $wgDiscussionToolsTalkPageParserCacheExpiry
  • $wgDiscussionToolsReplyIndentation
  • $wgDiscussionToolsConflictingGadgetName
  • $wgDiscussionToolsAutoTopicSubEditor
  • $wgDiscussionToolsShowFeedbackLinks
  • $wgDiscussionTools_visualenhancements_reply_icon_languages
लाइसेंस MIT लाइसेंस
डाउनलोड करें
सहायता Help:DiscussionTools
DiscussionTools एक्सटेंशन को अनुवादित करें
मुद्दे अधूरे टास्क्स · बग रिपोर्ट करें

DiscussionTools एक्सटेंशन उपकरणों का एक समूह है जो चर्चा पृष्ठों बेहतर बनाएगा। As of २०२३ इसे वार्ता पृष्ठ परियोजना के हिस्से के तौर पर सम्पादन दल द्वारा बनाया जा रहा है।

सदस्य प्रलेख Help:DiscussionTools पर है।

Some features can be disabled on individual pages and sections as described at Help:DiscussionTools/Magic words and markup .

सुविधाएँ

निर्भरताएँ

Optional dependencies

  • Extension:Echo - अगर आप विषय सदस्यता सुविधा का इस्तेमाल करना चाहते हैं तो $1 की ज़रूरत होगी।
  • Extension:Thanks - Enables comment thanking.
  • Extension:MobileFrontend - Enables mobile support.

स्थापना

यह एक्सटेंशन मीडियाविकि 1.40 और अधिक के साथ उपलब्ध होता है, तो आपको इसे डाउनलोड करने की आवश्यकता नहीं। कॉन्फ़िगरेशन के बाकी अनुदेशों का फिर भी पालन किया जाना चाहिए।
  • Install the dependencies.
  • फ़ाइलों को डाउनलोड करें और अपने extensions/ फ़ोल्डर के DiscussionTools नामक डिरेक्ट्री में डालें।
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
    
  • अपने LocalSettings.php फ़ाइल के अंत में निम्न कोड जोड़ें:
    wfLoadExtension( 'DiscussionTools' );
    
  • अपडेट स्क्रिप्ट चलाएँ जो स्वचालित रूप से आवश्यक डेटाबेस टेबल्स का निर्माण करेगा जिसकी इस एक्सटेंशन को आवश्यकता है।
  • यह भी निश्चित करें कि आपेन LocalSettings.php में एक समय क्षेत्र , और html5 में $wgFragmentMode सेट किया है।
  • Configure as required.
  • Yes पूर्ण – अपने विकि पर Special:Version पर जाकर देखें कि एक्सटेंशन को सफलतापूर्वक स्थापित किया गया है कि नहीं।

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

सेटिंग का नाम

$wgDiscussionTools +

डिफ़ॉल्ट वैल्यू विवरण
Beta false DiscussionTools को एक बीटा सुविधा बनाएँ।
_visualenhancements 'default' Override availability of DiscussionTools visual enhancements.
Possible values:
'default', 'available', 'unavailable'
_visualenhancements_reply_icon_languages
[
  'ar' => true,
  'zh' => true,
  'yue' => true,
  'ja' => true,
  'nod' => true,
]
A dictionary of language codes which will receive an icon in their enhanced reply-button treatment, due to translation being very short. (T323537) Language fallbacks will be checked unless a language is explicitly set to false. (T352289) Normalized language codes are lower case.
AutoTopicSubEditor 'any' Editor which triggers automatic topic subscriptions. Either 'discussiontoolsapi' for edits made using DiscussionTools’ API (e.g. reply and new topic tools), or 'any' for any editor.
TalkPageParserCacheExpiry 0 Override $wgParserCacheExpireTime for discussion pages, regardless of DiscussionTools enablement.
ReplyIndentation 'invisible' Reply indentation syntax to use: 'invisible' (use <dl><dd> tags to output : in wikitext) or 'bullet' (use <ul><li> tags to output * in wikitext).
ShowFeedbackLinks false MW 1.40+ Show "इस सुविधा के बारे में प्रतिक्रिया साझा करें" links in the footer of reply tool and new topic tool.
TimestampFormatSwitchTime '2022-07-12' Date on which the internal timestamp format has changed (T304595), in ISO 8601 format.
ConflictingGadgetName 'convenientDiscussions' Internal name of the Convenient Discussions gadget, which conflicts with the reply tool. Reply tool will be unavailable when the user has this gadget enabled.


API

Editing

Action Description Internal?
discussiontoolscompare Get information about comment changes between two page revisions. Yes
discussiontoolsedit Post a message on a discussion page. N
discussiontoolsfindcomment Find a comment by its ID or name. N
discussiontoolspageinfo Returns metadata required to initialize the discussion tools. N
discussiontoolspreview Preview a message on a discussion page. Yes

Subscriptions

Action Description Internal?
discussiontoolsgetsubscriptions Get the subscription statuses of given topics. N
discussiontoolssubscribe Subscribe (or unsubscribe) to receive notifications about a topic. N

Special pages

Integration with other extensions

DiscussionTools can integrate with PlaceNewSection to put the location of where added new topics will begin to be placed.

It can also integrate with AutoModerator to enable community-configured reversion of Machine Language-scored bad edits.

ये भी देखें