Extension:LiquidThreads

This page is a translated version of the page Extension:LiquidThreads and the translation is 50% complete.
MediaWiki 拡張機能マニュアル
LiquidThreads
リリースの状態: 保守されていない
実装 ページの操作 , 特別ページ , API
説明 Implements a structured discussion system
作者 デイビッド・マッケイブ、アンドリュー・ギャレット
最新バージョン 2.2-alpha (2014-03-28)
MediaWiki 1.29+
PHP 5.4+
データベースの変更 はい
Composer mediawiki/liquid-threads
テーブル thread
thread_history
thread_pending_relationship
thread_reaction
historical_thread
user_message_state
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
README
ヘルプ Help:Extension:LiquidThreads/ja
  • $egLqtNamespaceNumbers
  • Merge threads (lqt-merge)
  • Reply to threads (lqt-react)
  • Split threads (lqt-split)
Quarterly downloads 9 (Ranked 138th)
translatewiki.net で翻訳を利用できる場合は、LiquidThreads 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

リキッド スレッド (LiquidThreads、LQT) は MediaWiki の拡張機能であり、議論ページにスレッド型議論システムを実装します。

歴史

元のコードは、Google Summer of Code 2006学習協会Wikia の後援のもと、デヴィッド・マッケーブによって開発されました。しかしながら、デヴィッド・マッケーブはもうこのプロジェクトに関わっていません。

However, David McCabe is no longer involved with this project.

The original LiquidThreads code was substantially improved and augmented by Andrew Garrett at the Wikimedia Foundation since May 2009.

The latest stable release of the LiquidThreads extension is LQT 2.0, described on this page.

LQT 2.0 is the version currently being used on several Wikimedia wikis, and was used in the strategic planning process.

In January 2011, work on LiquidThreads 3.0 was begun at the Wikimedia Foundation.

LQT 3.0 was being developed, with Andrew Garrett as the lead developer, but is now suspended. The last commits to LQT3's branch (lqt-updates) were in September 2011.

Development by the Foundation has been discontinued.

使用法

リキッド スレッドがオプト イン (既定は切) となっているウィキ上で、特定のページのリキッド スレッドを入にするには、そのページのソースコードに次の文を加えてください。

{{#useliquidthreads:1}}

リキッド スレッドがオプト アウト (既定が入) であるウィキ上で、特定のページでリキッド スレッドを切にするには、そのページのソースコードに次の文を加えてください。

{{#useliquidthreads:0}}

包括的な使用法は、リキッド スレッドが操作仕様を最終決定した (あるいはほんの少し安定させた) 時点で、解説されるでしょう。

動機

ウィキの議論ページには、ウェブ フォーラムや、Usenet フォーラムに勝るいくつかの長所があります:

  • 画像からリンク、参照読み込みまで、すべてのウィキ構文を使用できます。
  • 全体の議論ページを要約することができます。

ウェブ フォーラムは、MediaWiki の会話ページ様式に勝る、多くの長所があります:

  • 異なった表示形式でスレッドを表示できる。平坦、入れ子、日付順、件名順など。
  • 投稿に応じる場合、「返答」ボタン (リンク文字) をクリックするだけでよい。字下げを手書きで書き込む必要はない。自動的に 元の投稿からの引用を挿入することができる。
  • 投稿は自動的に署名され、日付が挿入される。
  • アバター (ただし未作成)。
  • 利用者は、関わったスレッドを監視したり、スレッドへの返答の通知を受けることができる。
  • 投稿やスレッドを、周囲のページを省いて自分用に表示することができる。
  • 古いコメントは、自動的に邪魔にならないよう容易に利用可能な状態で固定リンク付きで格納される。
  • 投稿者や件名、日付等で検索可能
  • 各スレッドはカテゴリを持つことができる。
  • MediaWiki の会話ページでは必ず「1本文1協議」様式に従う。これに対し、本文に付随するフォーラムで関連する協議群を管理するのが、比較的簡単である。
  • There can be restrictions on which users can edit other users' posts.

リキッド スレッドは、両方のフォーラム様式の長所を組み合わせ、さらにいくつかの独特な議論機能を加えることを目指します。

インストール

Prerequisites: LiquidThreads currently requires the Extension:WikiEditor extension to be already installed. See タスク T40654.

  • ダウンロードして、ファイルをextensions/フォルダー内のLiquidThreadsという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LiquidThreads
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'LiquidThreads' );
    
  • 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

Configuration

This is the default configuration of the extension. You can override such values in LocalSettings.php:

// Preferences
$wgDefaultUserOptions['lqtnotifytalk'] = false;
$wgDefaultUserOptions['lqtdisplaydepth'] = 5;
$wgDefaultUserOptions['lqtdisplaycount'] = 25;
$wgDefaultUserOptions['lqtcustomsignatures'] = true;
$wgDefaultUserOptions['lqt-watch-threads'] = true;

// Permissions
$wgGroupPermissions['user']['lqt-split'] = true;
$wgGroupPermissions['user']['lqt-merge'] = true;
$wgGroupPermissions['user']['lqt-react'] = true;

/* Allows activation of LiquidThreads on individual pages */
$wgLqtPages = array();

/* Allows switching LiquidThreads off for regular talk pages
	(intended for testing and transition) */
$wgLqtTalkPages = true;

/* Whether or not to activate LiquidThreads email notifications */
$wgLqtEnotif = true;

/* Thread actions which do *not* cause threads to be "bumped" to the top */
/* Using numbers because the change type constants are defined in Threads.php, don't
	want to have to parse it on every page view */
$wgThreadActionsNoBump = array(
	3 /* Edited summary */,
	10 /* Merged from */,
	12 /* Split from */,
	2 /* Edited root */,
	14 /* Adjusted sortkey */
);

/** Switch this on if you've migrated from a version before around May 2009 */
$wgLiquidThreadsMigrate = false;

/** The default number of threads per page */
$wgLiquidThreadsDefaultPageLimit = 20;

/** Whether or not to allow users to activate/deactivate LiquidThreads per-page */
$wgLiquidThreadsAllowUserControl = true;

/** Whether or not to allow users to activate/deactivate LiquidThreads
	in specific namespaces.  NULL means either all or none, depending
	on the above. */
$wgLiquidThreadsAllowUserControlNamespaces = null;

/** Allow LiquidThreads embedding */
$wgLiquidThreadsAllowEmbedding = true;

// Namespaces in which to enable LQT
$wgLqtNamespaces = array();

/** Enable/disable the bump checkbox. **/
$wgLiquidThreadsShowBumpCheckbox = false;

/** Enable/Disable 'New messages' link and special page (Special:NewMessages) */
$wgLiquidThreadsEnableNewMessages = true;

API

メインのページ: Extension:LiquidThreads/API

注記

This extension does not work if your LocalSettings.php contains the following two parameter settings: $wgEnableAPI = false; and $wgEnableWriteAPI = false;

関連項目

外部リンク