Extension:TranslatedPages

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

Synchronize translations
Example: Example: Example:
 * Create the page source. For example: Page
 * To define a base page we will put the following code at the beginning of the first line  
 * Create the page 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, we have to place the following code at the beginning of the first line:  
 * Where $num is the revision number corresponding to the Page base (Revision numbers appear in the page history). Example:TranslatedPages-example-version-number.png
 * You can add the parameter outdated on page translated to place a message.

Menu

 * The menu with the list of available pages in another language for any page can be displayed in two ways, in sidebar or in top bar.
 * It will show the difference 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 updated source code can be downloaded via git:

Please copy and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

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

TranslatedPages.php

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


 * Choose location of the languages bar, ie 'sidebar', 'topbar':


 * Choose colors of the states: