Extension:DoubleWiki
![]() リリースの状態: 安定 |
|
---|---|
実装 | ユーザー インターフェイス |
説明 | The DoubleWiki extension displays an article and its translation on two columns of the same page. |
作者 | ThomasVトーク |
互換性の方針 | MediaWikiとともにリリースされるスナップショット。 master には後方互換性がありません。 |
MediaWiki | >= 1.35.0 |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
例 | http://fr.wikisource.org/wiki/Criton_(trad._Cousin)?match=en |
|
|
Quarterly downloads | 2 (Ranked 174th) |
translatewiki.net で翻訳を利用できる場合は、DoubleWiki 拡張機能の翻訳にご協力ください | |
問題点 | 未解決のタスク · バグを報告 |
DoubleWiki allows you to compare wikis in two separate languages side by side.
For an example, see http://fr.wikisource.org/wiki/Criton_(trad._Cousin)?match=en. See Wikisource:DoubleWiki Extension for more information.
使用法
Appending ?match=<lang code> (or &match=<lang code> ) to a url allows you to see a side by side comparison of a page with the same page in another language.
You can use an empty div with a title attribute (for example <div title="some title"/>
) to force certain sections to line up.
This extension was made especially for Wikisource (see also bugzilla:4104). For full information on this extension, it is recommended you read the page at wikisource - oldwikisource:Wikisource:DoubleWiki Extension Comments/questions/etc should go on the Wikisource page.
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のDoubleWiki
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'DoubleWiki' );
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
MediaWiki 1.24以前を稼働させている利用者へ:
上記の手順では、wfLoadExtension()
を使用してこの拡張機能をインストールする新しい方法を記載しています。
この拡張機能をこれらの過去のバージョン (MediaWiki 1.24以前) にインストールする必要がある場合は、wfLoadExtension( 'DoubleWiki' );
の代わりに以下を使用する必要があります:
require_once "$IP/extensions/DoubleWiki/DoubleWiki.php";
設定のパラメーター
This extension has no configuration parameters, but expects interlanguage links to be configured appropriately. See Interlanguage links and Manual:Interwiki#Interwiki links to other languages. You should ensure all your interlanguage (not interwiki) links are to websites you control, as this extension will load pages from these other language links.
この拡張機能は 1 つ以上のウィキメディアのプロジェクトで使用されています。 これはおそらく、この拡張機能が安定していて高いトラフィックのウェブサイトでも十分に動作することを意味します。 この拡張機能がインストールされている場所を確認するには、ウィキメディアの設定ファイル CommonSettings.php および InitialiseSettings.php 内で、この拡張機能の名前を探してください。 特定のウィキにインストールされている拡張機能の完全な一覧は、そのウィキの Special:Version ページにあります。 |