Extension:TranslatedPages

What can this extension do?
This extension allows to synchronize translation pages, using a base page that can be in English or in another language.

Synchronize translations
Example: Example: Example:
 * Create the page source. For example: Page
 * To define a base page, add the following code at the beginning of the first line:  
 * Create the page to be translated into another language by following this format: $lang:Page, where $lang is the language code according to ISO 639 and with initial capital letters. For example: Es:Page, Fr:Page, etc.
 * To synchronize with any version of the page base, place the following code at the beginning of the first line:  
 * Where $num is the corresponding revision number of the base Page (revision numbers appear in the page history). Example:TranslatedPages-example-version-number.png
 * You can add the parameter outdated on the translated page to place a warning.

Menu

 * The menu with the list of available pages in another language for any page can be displayed in two ways: either in the sidebar or the top bar.
 * The difference will be shown in the menu when the pages are not synchronized. The number on the right is the version of the page base, the number on the left is $num.

Show Status

 * To see the status table of translated pages (those that include ') should use the following code: ' in any page.

Download instructions
The source code can be downloaded via git:

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

Configuration parameters

 * Choose language base of articles, e.g. 'en', 'es', etc.:


 * Choose location of the languages bar, e.g. 'sidebar', 'topbar':


 * Choose status colors: