Extension:DiscussionTools/pt
A extensão Discussion Tools é um próximo conjunto de ferramentas para melhorar as páginas de discussão. As of 2024 Category:Pages containing potentially dated statements, it is being built by the Editing team as part of the talk pages project .
User documentation is at Ajuda:Ferramentas de Discussão .
Some features can be disabled on individual pages and sections as described at Help:DiscussionTools/Magic words and markup .
Funcionalidades
Dependências
- Extension:VisualEditor
- Extension:Linter
- Extension:Echo (optional). Only required if you want to use the topic subscriptions feature and user ping.
Instalação
- Install the dependencies.
- Exporte e coloque o ficheiro, ou ficheiros, num diretório chamado
DiscussionTools
, na sua pastaextensions/
.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools - Acrescente o seguinte código ao fundo do ficheiro $LocalSettings:
wfLoadExtension( 'DiscussionTools' );
- Execute o script de atualização que irá criar automaticamente as tabelas da base de dados necessárias para esta extensão.
- Also in LocalSettings.php, ensure that you have a timezone set and $wgFragmentMode set to
html5
. - Configure as required.
Pronto – Na página especial Special:Version da sua wiki verifique se a extensão foi instalada.
Configuração
Nome da configuração | Valor predefinido | Descrição |
---|---|---|
$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 "Partilhe um comentário sobre esta funcionalidade" 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.
It can also integrate with AutoModerator to enable community-configured reversion of Machine Language-scored bad edits.
Ver também
- Extension:DiscussionTools/How it works – informação técnica
![]() | Este extensão está a ser utilizado em um ou mais projetos da Wikimedia. Isso provavelmente significa que a extensão é estável e funciona bem o suficiente para ser usada por esses sites de alto tráfego. Procure o nome desta extensão nos arquivos de configuração CommonSettings.php e InitialiseSettings.php da Wikimedia para ver onde está instalado. Uma lista completa das extensões instaladas em um determinado wiki pode ser vista na página Special:Version do wiki. |
![]() | 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. |