Jump to content

এক্সটেনশন:আলোচনাসরঞ্জাম

From mediawiki.org
This page is a translated version of the page Extension:DiscussionTools and the translation is 22% complete.
মিডিয়াউইকি এক্সটেনশন ম্যানুয়াল
DiscussionTools
মুক্তির অবস্থা: স্থিতিশীল
বাস্তবায়ন ব্যবহারকারী ইন্টারফেস
বিবরণ Tools to enhance discussion pages
লেখক(গণ) উইকিমিডিয়া সম্পাদনা দল
সর্বশেষ সংস্করণ ক্রমাগত হালনাগাদ
সামঞ্জস্য নীতি Snapshots releases along with MediaWiki. Master is not backward compatible.
ডাটাবেজ পরিবর্তন হ্যাঁ
সারণি discussiontools_items
discussiontools_item_ids
discussiontools_item_pages
discussiontools_item_revisions
discussiontools_subscription
লাইসেন্স এমআইটি লাইসেন্স
ডাউনলোড
সাহায্য সাহায্য:আলোচনাসরঞ্জাম
  • $wgDiscussionToolsTimestampFormatSwitchTime
  • $wgDiscussionToolsBeta
  • $wgDiscussionTools_visualenhancements
  • $wgDiscussionToolsTalkPageParserCacheExpiry
  • $wgDiscussionToolsReplyIndentation
  • $wgDiscussionToolsConflictingGadgetName
  • $wgDiscussionToolsAutoTopicSubEditor
  • $wgDiscussionToolsShowFeedbackLinks
  • $wgDiscussionTools_visualenhancements_reply_icon_languages
DiscussionTools বর্ধনাংশটি অনুবাদ করুন
Issues উন্মুক্ত কাজ · বাগ প্রতিবেদন

The Discussion Tools extension is a set of tools to enhance discussion pages. As of ২০২৪, it is being built by the Editing team as part of the talk pages project .

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

বৈশিষ্ট্য

Dependencies

Optional dependencies

ইনস্টল প্রক্রিয়া

This extension comes with MediaWiki 1.40 and later, so you do not need to download it. The remaining configuration instructions must still be followed.
  • 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' );
    
  • হালনাগাদ করার স্ক্রিপ্টটি চালান যা স্বয়ংক্রিয়ভাবে এই এক্সটেনশনের জন্য প্রয়োজনীয় ডাটাবেস টেবিল তৈরি করবে।
  • Also in LocalSettings.php, ensure that you have a timezone set and $wgFragmentMode set to html5.
  • Configure as required.
  • Yes করা হয়েছে – এক্সটেনশনটি সফলভাবে ইনস্টল করা হয়েছে কিনা তা যাচাই করতে আপনার উইকির Special:Version-এ যান।

কনফিগারেশন

সেটিংয়ের নাম পূর্বনির্ধারিত মান বিবরণ
$wgDiscussionToolsBeta false Make DiscussionTools a beta feature .
$wgDiscussionTools_visualenhancements 'default' Override availability of DiscussionTools visual enhancements.
Possible values:
'default', 'available', 'unavailable'
$wgDiscussionTools_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.
$wgDiscussionToolsAutoTopicSubEditor '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.
$wgDiscussionToolsTalkPageParserCacheExpiry 0 Override $wgParserCacheExpireTime for discussion pages, regardless of DiscussionTools enablement.
$wgDiscussionToolsReplyIndentation '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).
$wgDiscussionToolsShowFeedbackLinks false MW 1.40+ Show "এটি সম্পর্কে আপনার প্রতিক্রিয়া জানান" links in the footer of reply tool and new topic tool.
$wgDiscussionToolsTimestampFormatSwitchTime '2022-07-12' Date on which the internal timestamp format has changed (T304595), in ISO 8601 format.
$wgDiscussionToolsConflictingGadgetName '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. Yes
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.

আরও দেখুন