Extensió:DiscussionTools
Appearance
This extension comes with MediaWiki 1.40 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
L'extensió Discussion Tools és un conjunt d'eines per a millorar les pàgines de discussió. As of 2024, l'equip d'edició està desenvolupant-lo com a part del projecte de pàgines de discussió .
La documentació d'usuari és a Ajuda:DiscussionTools .
Algunes característiques es poden desactivar en pàgines i seccions individuals tal com es descriu a Help:DiscussionTools/Magic words and markup .
Característiques
Dependències
- Extension:VisualEditor
- Extension:Linter
- Extension:Echo (opcional). Només és necessari si voleu utilitzar la funció de subscripcions a temes.
Instal·lació
- Install the dependencies.
- Download and move the extracted
DiscussionTools
folder 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 in html5.
- Configure as required.
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuració
Setting name | Default value | Description |
---|---|---|
$wgDiscussionToolsEnable
|
true
|
Enable DiscussionTools on talk pages. |
$wgDiscussionToolsBeta
|
false
|
Make DiscussionTools a beta feature . |
$wgDiscussionToolsEnable2017Wikitext
|
false
|
Enable the 2017 wikitext editor for wikitext replies (not yet supported). |
$wgDiscussionToolsEnablePermalinksBackend
|
true
|
Enable the permalinks backend (Special:GoToComment). See Extension:DiscussionTools/How it works#Permanent links. |
$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 "Compartiu la vostra opinió sobre aquesta característica" links in the footer of reply tool and new topic tool. |
$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 | Human readable | Description | Internal? |
---|---|---|---|
discussiontoolscompare | compare | Get information about comment changes between two page revisions. | internal |
discussiontoolsedit | edit | Post a message on a discussion page. | |
discussiontoolsfindcomment | find comment | Find a comment by its ID or name. | |
discussiontoolspageinfo | page info | Returns metadata required to initialize the discussion tools. | internal |
discussiontoolspreview | preview | Preview a message on a discussion page. | internal |
Subscriptions
Action | Human readable | Description | Internal? |
---|---|---|---|
discussiontoolsgetsubscriptions | get subscriptions | Get the subscription statuses of given topics. | |
discussiontoolssubscribe | subscribe | 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.
See also
- Extension:DiscussionTools/How it works – technical information
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: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Categories:
- Extensions bundled with MediaWiki 1.40/ca
- Stable extensions/ca
- User interface extensions/ca
- MIT licensed extensions/ca
- Extensions in Wikimedia version control/ca
- ApiMain::moduleManager extensions/ca
- BeforeCreateEchoEvent extensions/ca
- BeforeDisplayNoArticleText extensions/ca
- BeforePageDisplay extensions/ca
- ChangeTagsListActive extensions/ca
- DiscussionToolsAddOverflowMenuItems extensions/ca
- EchoGetBundleRules extensions/ca
- EchoGetEventsForRevision extensions/ca
- GetActionName extensions/ca
- GetBetaFeaturePreferences extensions/ca
- GetDoubleUnderscoreIDs extensions/ca
- GetPreferences extensions/ca
- ListDefinedTags extensions/ca
- LoadExtensionSchemaUpdates extensions/ca
- OutputPageBeforeHTML extensions/ca
- OutputPageParserOutput extensions/ca
- ParserAfterTidy extensions/ca
- ParserOutputPostCacheTransform extensions/ca
- RecentChange save extensions/ca
- ResourceLoaderGetConfigVars extensions/ca
- RevisionDataUpdates extensions/ca
- SidebarBeforeOutput extensions/ca
- SkinTemplateNavigation::Universal extensions/ca
- All extensions/ca
- Extensions used on Wikimedia/ca
- Extensions included in Miraheze/ca
- Extensions included in MyWikis/ca
- Extensions included in WikiForge/ca
- Discussion and forum extensions/ca
- Extensions with VisualEditor support/ca
- Talk pages project/ca