扩展:讨论工具

本頁使用了標題或全文手工轉換
From mediawiki.org
This page is a translated version of the page Extension:DiscussionTools and the translation is 61% complete.
Outdated translations are marked like this.
此扩展随附于MediaWiki 1.40及更高版本。 因此您无需另外下载。 但是,您仍需遵循此页面提供的其他使用说明。
MediaWiki扩展手册
DiscussionTools
发行状态: 稳定版
实现 用户界面
描述
用于增强讨论页的工具
作者 维基媒体编辑团队
最新版本 持续更新
兼容性政策 快照跟随MediaWiki发布。 master分支不向后兼容。
MediaWiki >= 1.42.0
数据库更改
discussiontools_items
discussiontools_item_ids
discussiontools_item_pages
discussiontools_item_revisions
discussiontools_subscription
许可协议 MIT授權條款
下載
帮助 帮助:讨论工具
  • $wgDiscussionToolsReplyIndentation
  • $wgDiscussionToolsABTest
  • $wgDiscussionToolsBeta
  • $wgDiscussionTools_visualenhancements
  • $wgDiscussionToolsEnablePermalinksBackend
  • $wgDiscussionToolsAutoTopicSubEditor
  • $wgDiscussionTools_visualenhancements_newsectionlink_enable
  • $wgDiscussionToolsTimestampFormatSwitchTime
  • $wgDiscussionToolsShowFeedbackLinks
  • $wgDiscussionTools_visualenhancements_pageframe
  • $wgDiscussionToolsTalkPageParserCacheExpiry
  • $wgDiscussionToolsConflictingGadgetName
  • $wgDiscussionTools_visualenhancements_reply
  • $wgDiscussionToolsEnableTimestampLinks
  • $wgDiscussionTools_visualenhancements_reply_icon_languages
季度下載量 103 (Ranked 72nd)
正在使用的公开wiki数 930 (Ranked 285th)
翻译DiscussionTools扩展
問題 开启的任务 · 报告错误

Discussion Tools扩展是即将推出的用于增强讨论页面的工具集。 截至2021年,作为讨论页计划 的一部分,由编辑团队构建。

用户文档位于帮助:讨论工具

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

依赖

同样的,如果需要使用话题订阅功能,需要扩展:Echo

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的DiscussionTools目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'DiscussionTools' );
    
  • 运行更新脚本,它将自动创建此扩展必须依赖的数据库表。
  • 同样的,确保设置了时区 ,并在$wgFragmentMode 配置中包含了html5。
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。

功能

配置

设置名称 默认值 描述
$wgDiscussionToolsEnable true 在讨论页启用讨论工具。
$wgDiscussionToolsBeta false 使讨论工具成为beta功能
$wgDiscussionToolsEnable2017Wikitext false 为wikitext回复启用2017维基文本编辑器(暂不支持)。
$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.

Integration with other extensions

DiscussionTools can integrate with PlaceNewsection to put the location of where added new topic will begin to be placed.

參見