Extension:DiscussionTools
この拡張機能は MediaWiki 1.40 以降に同梱されています。 そのため再度ダウンロードする必要はありません。 しかし、提供されているその他の手順に従う必要はあります。
Discussion Tools 拡張機能は、議論ページを強化するための一連のツールです。 2024年時点、編集チームにより、トークページプロジェクト の一部として作られています。
Help:議論ツール に利用者向け説明文書があります。
詳細はHelp:DiscussionTools/Magic words and markup に説明したように、個別のページでも見出し単位でも、機能の一部を無効に設定できます。
機能
依存関係
- Extension:VisualEditor
- Extension:Linter
- Extension:Echo (任意)。トピック購読機能を利用したい場合のみ必要。
インストール
- 依存関係をインストール.
- ダウンロードして、ファイルを
extensions/
フォルダー内のDiscussionTools
という名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools - 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'DiscussionTools' );
- 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
- LocalSettings.php でタイムゾーン を設定していること、$wgFragmentMode を html5 にしていることを確認してください。
- 必要に応じて設定。
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
設定
設定名 | 既定値 | 説明 |
---|---|---|
$wgDiscussionToolsEnable
|
true
|
ノートページで議論ツールを有効にします |
$wgDiscussionToolsBeta
|
false
|
DiscussionToolsをベータ版機能 にする。 |
$wgDiscussionToolsEnable2017Wikitext
|
false
|
2017年版ウィキテキストエディターの返信用エディタを有効にする(未対応)。 |
$wgDiscussionToolsEnablePermalinksBackend
|
true
|
パーマリンクのバックエンドを有効にする (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.
関連項目
この拡張機能は 1 つ以上のウィキメディアのプロジェクトで使用されています。 これはおそらく、この拡張機能が安定していて高いトラフィックのウェブサイトでも十分に動作することを意味します。 この拡張機能がインストールされている場所を確認するには、ウィキメディアの設定ファイル CommonSettings.php および InitialiseSettings.php 内で、この拡張機能の名前を探してください。 特定のウィキにインストールされている拡張機能の完全な一覧は、そのウィキの Special:Version ページにあります。 |
この拡張機能は以下のウィキ ファーム/ウィキ ホスト/パッケージに含まれています: これは正式な一覧ではありません。 一部のウィキ ファーム/ウィキ ホスト/パッケージは、ここに記載されていなくてもこの拡張機能を含んでいる場合があります。 必ずご利用のウィキ ファーム、ウィキ ホスト、バンドルで確認してください。 |