Extension:DoubleWiki

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
DoubleWiki

Release status: stable

Implementation User interface
Description The DoubleWiki extension displays an article and its translation on two columns of the same page.
Author(s) ThomasVTalk
License GPLv2
Download
Example http://fr.wikisource.org/wiki/Criton_(trad._Cousin)?match=en
Hooks used
OutputPageBeforeHTML

Contents

[edit] What can this extension do?

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.

[edit] Usage

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.

[edit] Download instructions

Download from mediawiki svn repository - special:extensionDistributor/DoubleWiki and extract into the extensions directory.

[edit] Installation

To install this extension, add the following to LocalSettings.php:

require_once("$IP/extensions/DoubleWiki/DoubleWiki.php");

[edit] Configuration parameters

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.


Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox