Расширение:DiscussionTools

This page is a translated version of the page Extension:DiscussionTools and the translation is 14% complete.
Это расширение поставляется с MediaWiki 1.40 и выше. Таким образом, вам не нужно загружать его снова. Тем не менее, вы всё равно должны следовать другим инструкциям.
Справка по расширениям MediaWiki
DiscussionTools
Статус релиза: стабильно
Реализация Пользовательский интерфейс
Описание Tools to enhance discussion pages
Автор(ы) Wikimedia Editing team
Последняя версия continuous updates
Политика совместимости Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.42.0
Изменения в БД Да
Таблицы discussiontools_items
discussiontools_item_ids
discussiontools_item_pages
discussiontools_item_revisions
discussiontools_subscription
Лицензия MIT License
Скачать
Помощь Help:DiscussionTools
  • $wgDiscussionToolsReplyIndentation
  • $wgDiscussionToolsABTest
  • $wgDiscussionToolsBeta
  • $wgDiscussionTools_visualenhancements
  • $wgDiscussionToolsEnablePermalinksBackend
  • $wgDiscussionToolsAutoTopicSubEditor
  • $wgDiscussionToolsTimestampFormatSwitchTime
  • $wgDiscussionToolsShowFeedbackLinks
  • $wgDiscussionTools_visualenhancements_pageframe
  • $wgDiscussionToolsTalkPageParserCacheExpiry
  • $wgDiscussionToolsConflictingGadgetName
  • $wgDiscussionTools_visualenhancements_reply
  • $wgDiscussionToolsEnablePermalinksFrontend
  • $wgDiscussionTools_visualenhancements_reply_icon_languages
Ежеквартальные загрузки 106 (Ranked 65th)
Использование общедоступными вики 930 (Ranked 285th)
Переведите расширение DiscussionTools
Проблемы Открытые задачи · Сообщить об ошибке

The Discussion Tools extension is a set of tools to enhance discussion pages. По состоянию на 2024, it is being built by the Editing team as part of the talk pages project .

User documentation is at Help:DiscussionTools .

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

Dependencies

Установка

  • Install the dependencies.
  • Скачайте и распакуйте файл(ы) в папку с названием DiscussionTools в вашей папке extensions/.
    Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя: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 in html5.
  • Configure as required.
  •   Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

Конфигурация

Название настройки Значение по умолчанию Описание
$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 "Отправить отзыв об этой функции" 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.

См. также