Release status: stable
|Description||The DoubleWiki extension displays an article and its translation on two columns of the same page.|
|License||GNU General Public License 2.0 or later|
Translate the DoubleWiki extension if it is available at translatewiki.net
|Open tasks · Report a bug|
What can this extension do?[edit | edit source]
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.
Usage[edit | edit source]
Appending ?match=<lang code> (or &match=<lang code> ) to a url allows you to see a side by side comparision 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.
Installation[edit | edit source]
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'DoubleWiki' );
- Special:Version on your wiki to verify that the extension is successfully installed. Done - Navigate to
To users running MediaWiki 1.24 or earlier:
Those instructions describe the new way of installing extensions since MediaWiki 1.25. If you need to install this extension in earlier versions, instead of
wfLoadExtension( 'DoubleWiki' );, you need to use:
Configuration parameters[edit | edit source]
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.
|This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.|