Extension:PoolCounter
Jump to navigation
Jump to search
PoolCounter リリースの状態: ベータ |
|
---|---|
説明 | Provides a MediaWiki client for the pool counter daemon |
作者 | Tim Starling, Platonides |
データベースの変更 | いいえ |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
|
|
translatewiki.net で翻訳を利用できる場合は、PoolCounter 拡張機能の翻訳にご協力ください | |
問題点 | 未解決のタスク · バグを報告 |
The PoolCounter extension provides a MediaWiki client for the pool counter daemon.
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のPoolCounter
という名前のディレクトリ内に配置します。 - 以下のコードを LocalSettings.php の末尾に追加します:
wfLoadExtension( 'PoolCounter' );
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
MediaWiki 1.24 以前を稼働させている利用者へ:
上記の手順では、wfLoadExtension()
を使用してこの拡張機能をインストールする新しい方法を記載しています。
この拡張機能をこれらの過去のバージョン (MediaWiki 1.24 以前) にインストールする必要がある場合は、wfLoadExtension( 'PoolCounter' );
の代わりに以下を使用する必要があります:
require_once "$IP/extensions/PoolCounter/PoolCounter.php";
Configuration
The extension can be configured with the global $wgPoolCountClientConf
, which is an associative array with the following keys:
- servers
- An array of server IP addresses. Adding multiple servers causes locks to be distributed on the client side using a consistent hashing algorithm.
- timeout
- The connect timeout in seconds.
関連項目
![]() | この拡張機能は 1 つ以上のウィキメディアのプロジェクトで使用されています。 これはおそらく、この拡張機能が安定していて高いトラフィックのウェブサイトでも十分に動作することを意味します。 この拡張機能がインストールされている場所を確認するには、ウィキメディアの設定ファイル CommonSettings.php および InitialiseSettings.php 内で、この拡張機能の名前を探してください。 特定のウィキにインストールされている拡張機能の完全な一覧は、そのウィキの Special:Version ページにあります。 |