Extension:DiscussionTools/my
Appearance
Outdated translations are marked like this.
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.
User documentation is at Help:DiscussionTools.
Help:DiscussionTools/Magic words and markupမှာ ဖော်ပြထားသလို သီးခြားစာမျက်နှာများနှင့် အပိုင်းများတွင် တစ်ချို့သော လုပ်ဆောင်ချက်များကို ပိတ်နိုင်သည်။
ထူးခြားချက်များ
Main pages: Talk pages project/Feature summary နှင့် Extension:DiscussionTools/Comparison
Dependencies
Optional dependencies
- Extension:Echo - $1(ရွေးချယ်စရာ) သင် Subscriptions feature ကို အသုံးပြုချင်ရင်သာ လိုအပ်ပါတယ်။
- Extension:Thanks - Enables comment thanking.
- Extension:MobileFrontend - Enables mobile support.
တပ်ဆင်ခြင်း
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.
- Download and move the extracted
DiscussionToolsfolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'DiscussionTools' );
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Also in LocalSettings.php, ensure that you have a timezone set and $wgFragmentMode set to
html5. - Configure as required.
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
ဖွဲ့စည်းမှု
| အမည်ကို သတ်မှတ်ခြင်း။ | Default value | Description |
|---|---|---|
$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
တည်းဖြတ်ခြင်း
| Action | Description | Internal? |
|---|---|---|
| discussiontoolscompare | Get information about comment changes between two page revisions. | |
| discussiontoolsedit | Post a message on a discussion page. | |
| discussiontoolsfindcomment | Find a comment by its ID or name. | |
| discussiontoolspageinfo | Returns metadata required to initialize the discussion tools. | |
| discussiontoolspreview | Preview a message on a discussion page. |
စာရင်းသွင်းမှုများ
| Action | ဖော်ပြချက် | Internal? |
|---|---|---|
| discussiontoolsgetsubscriptions | Get the subscription statuses of given topics. | |
| discussiontoolssubscribe | Subscribe (or unsubscribe) to receive notifications about a topic. |
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.
See also
- Extension:DiscussionTools/How it works – technical information
- Convenient Discussions – another tool for discussions, incompatible with DiscussionTools
| This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
| This extension is included in the following wiki farms/hosts and/or packages: |
Categories:
- Stable extensions/my
- User interface extensions/my
- MIT licensed extensions/my
- Extensions in Wikimedia version control/my
- APIAfterExecute extensions/my
- APIGetAllowedParams extensions/my
- ApiMain::moduleManager extensions/my
- BeforeCreateEchoEvent extensions/my
- BeforeDisplayNoArticleText extensions/my
- BeforePageDisplay extensions/my
- ChangeTagsListActive extensions/my
- DiscussionToolsAddOverflowMenuItems extensions/my
- EchoGetBundleRules extensions/my
- EchoGetEventsForRevision extensions/my
- GetActionName extensions/my
- GetBetaFeaturePreferences extensions/my
- GetDoubleUnderscoreIDs extensions/my
- GetPreferences extensions/my
- ListDefinedTags extensions/my
- LoadExtensionSchemaUpdates extensions/my
- OutputPageBeforeHTML extensions/my
- OutputPageParserOutput extensions/my
- ParserAfterTidy extensions/my
- ParserOutputPostCacheTransform extensions/my
- RecentChange save extensions/my
- ResourceLoaderGetConfigVars extensions/my
- RevisionDataUpdates extensions/my
- SidebarBeforeOutput extensions/my
- SkinTemplateNavigation::Universal extensions/my
- All extensions/my
- Extensions bundled with MediaWiki 1.40/my
- Extensions used on Wikimedia/my
- Extensions included in Canasta/my
- Extensions available as Debian packages/my
- Extensions included in Miraheze/my
- Extensions included in MyWikis/my
- Extensions included in wiki.gg/my
- Discussion and forum extensions/my
- Extensions with VisualEditor support/my
- Talk pages project/my
