Extension:DiscussionTools/zh
此随附于MediaWiki 1.40及更高版本。 因此您无需另外下载。 但是,您仍需遵循此页面提供的其他使用说明。
Category:Extensions bundled with MediaWiki 1.40/zh
Category:MIT licensed extensions/zhCategory:All extensions/zh
Discussion Tools 扩展是用于增强讨论页面的工具集。 截至2024年 Category:Pages containing potentially dated statements,它作为讨论页计划 的一部分,由编辑团队构建。
用户文档位于帮助:讨论工具 。
部分功能可在个别页面或章节中禁用,详见Help:DiscussionTools/Magic words and markup 。
功能
依赖
- Extension:VisualEditor
- 扩展:Linter
- :Echo (可选)。只有在你要使用话题订阅功能,才需要安装它。
安裝
- 安装所需组件.
- 下载,并将解压后的
DiscussionTools
移动到extensions/
目录中。
开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools - 将下列放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'DiscussionTools' );
- 更新脚本,它将自动此必须依赖的数据库表。
- 同時在LocalSettings.php中,确保设置了时区 ,并將$wgFragmentMode 設定成
html5
。 完成 – 在您的wiki上至Special:Version,以验证已成功安装。
设置名称 | 描述 | |
---|---|---|
$wgDiscussionToolsEnable |
true |
在讨论页启用讨论工具。 |
$wgDiscussionToolsBeta |
false |
使讨论工具成为一个测试功能 。 |
$wgDiscussionToolsEnable2017Wikitext |
false |
为wikitext回复启用2017维基文本编辑器(暂不支持)。 |
$wgDiscussionToolsEnablePermalinksBackend |
true |
启用永久链接后端(Special:GoToComment) 详见Extension:讨论工具/工作原理#永久链接。 |
$wgDiscussionToolsReplyIndentation |
'invisible' |
选择一个回复缩进:'invisible' (使用<dl><dd> 标签以在wikitext中输出: )或'bullet' (使用<ul><li> 标签以在wikitext中输出* ) |
$wgDiscussionToolsShowFeedbackLinks |
false |
MW 1.40+ 在回复工具和新话题工具的后边显示“分享有关此功能的意见反馈”链接。 |
$wgDiscussionToolsConflictingGadgetName |
'convenientDiscussions' |
设置Convenient Discussions小工具的内部名称,因为先前的配置会与回复工具相冲突。 当这个小工具被启用时,回复工具将不可用。 |
API
编辑
操作 | 人类可读名 | 说明 | 是否为内部性质 |
---|---|---|---|
discussiontoolscompare | 比较 | 获取有关两个页面修订之间的评论更改的信息。 | internal |
discussiontoolsedit | 编辑 | 在讨论页上发布一条留言。 | |
discussiontoolsfindcomment | 查找留言 | 通过其ID或名称来查找留言。 | |
discussiontoolspageinfo | 页面信息 | 提供初始化讨论工具所需的元数据。 | internal |
discussiontoolspreview | 预览 | 在讨论页上预览一条留言。 | internal |
話題訂閱
操作 | 人类可读名 | 说明 | 是否为内部性质 |
---|---|---|---|
discussiontoolsgetsubscriptions | 管理订阅 | 获取所提供话题的订阅状态。 | |
discussiontoolssubscribe | 订阅 | 订阅(或取消订阅)某一话题,以接收有关通知。 |
特殊页面
整合其他
DiscussionTools可以跟PlaceNewSection 整合在一起,以放置用于添加新主题的位置。
It can also integrate with AutoModerator to enable community-configured reversion of Machine Language-scored bad edits.
參見
![]() | 此用于一个或多个维基媒体项目。 这可能意味着足够稳定、运作足够良好,可以用在这样的高流量的网站上。 请在维基媒体的CommonSettings.php和InitialiseSettings.php中查找此的名称以查看哪些网站安装了该。 特定wiki上的已安装的的完整列表位于Special:Version页面。 |
![]() | 此在以下wiki农场/托管网站和/或软件包中提供: 這不是一份權威名單。 即使某些wiki农场/托管网站和/或软件包未在这里列出,它们也可能提供此。 请检查你的wiki农场/托管网站或软件包以确认提供情况。 |
Category:All extensions/zh
Category:ApiMain::moduleManager extensions/zh
Category:BeforeCreateEchoEvent extensions/zh
Category:BeforeDisplayNoArticleText extensions/zh
Category:BeforePageDisplay extensions/zh
Category:ChangeTagsListActive extensions/zh
Category:DiscussionToolsAddOverflowMenuItems extensions/zh
Category:Discussion and forum extensions/zh
Category:EchoGetBundleRules extensions/zh
Category:EchoGetEventsForRevision extensions/zh
Category:Extensions available as Debian packages/zh
Category:Extensions bundled with MediaWiki 1.40/zh
Category:Extensions in Wikimedia version control/zh
Category:Extensions included in Miraheze/zh
Category:Extensions included in MyWikis/zh
Category:Extensions included in WikiForge/zh
Category:Extensions used on Wikimedia/zh
Category:Extensions with VisualEditor support/zh
Category:GetActionName extensions/zh
Category:GetBetaFeaturePreferences extensions/zh
Category:GetDoubleUnderscoreIDs extensions/zh
Category:GetPreferences extensions/zh
Category:ListDefinedTags extensions/zh
Category:LoadExtensionSchemaUpdates extensions/zh
Category:MIT licensed extensions/zh
Category:OutputPageBeforeHTML extensions/zh
Category:OutputPageParserOutput extensions/zh
Category:Pages containing potentially dated statements
Category:Pages using deprecated NoteTA template
Category:ParserAfterTidy extensions/zh
Category:ParserOutputPostCacheTransform extensions/zh
Category:RecentChange save extensions/zh
Category:ResourceLoaderGetConfigVars extensions/zh
Category:RevisionDataUpdates extensions/zh
Category:SidebarBeforeOutput extensions/zh
Category:SkinTemplateNavigation::Universal extensions/zh
Category:Stable extensions/zh
Category:Talk pages project/zh
Category:User interface extensions/zh