Extension:DiscussionTools

From mediawiki.org
This page is a translated version of the page Extension:DiscussionTools and the translation is 43% complete.
この拡張機能は 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 ライセンス
ダウンロード
ヘルプ Help:議論ツール
  • $wgDiscussionToolsReplyIndentation
  • $wgDiscussionToolsABTest
  • $wgDiscussionToolsBeta
  • $wgDiscussionTools_visualenhancements
  • $wgDiscussionToolsEnablePermalinksBackend
  • $wgDiscussionToolsAutoTopicSubEditor
  • $wgDiscussionToolsTimestampFormatSwitchTime
  • $wgDiscussionToolsShowFeedbackLinks
  • $wgDiscussionTools_visualenhancements_pageframe
  • $wgDiscussionToolsTalkPageParserCacheExpiry
  • $wgDiscussionToolsConflictingGadgetName
  • $wgDiscussionTools_visualenhancements_reply
  • $wgDiscussionToolsEnablePermalinksFrontend
  • $wgDiscussionTools_visualenhancements_reply_icon_languages
Quarterly downloads 105 (Ranked 61st)
Public wikis using 930 (Ranked 285th)
DiscussionTools 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

Discussion Tools 拡張機能は、議論ページを強化するための一連のツールです。 2024年時点、編集チームにより、トークページプロジェクト の一部として作られています。

Help:議論ツール に利用者向け説明文書があります。

詳細はHelp:DiscussionTools/Magic words and markup に説明したように、個別のページでも見出し単位でも、機能の一部を無効に設定できます。

機能

依存関係

インストール

  • 依存関係をインストール.
  • ダウンロードして、ファイルをextensions/フォルダー内のDiscussionToolsという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'DiscussionTools' );
    
  • 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
  • LocalSettings.php でタイムゾーン を設定していること、$wgFragmentMode を html5 にしていることを確認してください。
  • 必要に応じて設定。
  • Yes 完了 – ウィキの「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.

関連項目