MediaWiki Language Extension Bundle
The MediaWiki language extension bundle provides easy way to bring ultimate language support to your MediaWiki. The bundle is a collection of selected few MediaWiki extensions needed by any wiki which desires to be multilingual.
Introduction [edit]
Contents |
The Universal Language Selector is a must have, because it provides an essential functionality for any user regardless of the number of languages they speak: language selection, font support for displaying scripts badly supported by operating systems and input methods for typing languages that don't use the Latin alphabet.
Maintaining multilingual content in a wiki is a mess without the Translate extension, which is used by Wikimedia, KDE, translatewiki.net and other sites, where hundreds of interface translations are updated every day. With Localisation Update your users will always have the latest translations freshly out of the oven. The Clean Changes extension keeps your recent changes page uncluttered from translation activity and other clutter.
Don't miss the chance to practice your rusty language skills, use the Babel extension to mark the languages you speak and find other speakers of the same language in your wiki. And finally the cldr extension is a database of language and country translations.
MLEB has a monthly release schedule, so that you can easily stay on the cutting edge with the constantly improving language support. The bundle comes with clear installation and upgrade instructions (see below). The bundle is tested against MediaWiki release versions, so you can avoid most of the temporary breaks that would happen if you were using the latest development versions instead.
Download [edit]
Tarball [edit]
Latest release [edit]
- 2013.04: http://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2013.04.tar.bz2
- sha256sum: bd6aca60101308f429d90d421e35093328e7a05ea74d35c05a98474ab648dec4 [1]
- Announcement and Release Notes
- The new translation interface, known as Translate UX, is being improved. In particular, several bugs affecting Microsoft Internet Explorer users were fixed.
- The UniversalLanguageSelector extension is compatible with MediaWiki 1.20.4. It is not compatible with previous versions of MediaWiki.
Previous releases [edit]
- 2013.03: http://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2013.03.tar.bz2
- sha256sum: be4c6b5f80e27396555dc09cef0cec92c78cca9eeef796a230da281734738810 [2]
- Announcement and Release Notes
- The new translation interface, known as Translate UX, is now the default. It can be disabled by setting $wgTranslateUseTux to
falsein LocalSettings.php. - The diff feature on all old outdated translations is temporarily broken until all such old "fuzzy" messages are updated.
- The UniversalLanguageSelector extension is updated to the latest version. It is compatible with MediaWiki 1.20.3. It is not compatible with previous versions of MediaWiki.
- 2013.02: http://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2013.02.tar.bz2
- sha256sum: 7fece850483e2b74539f69b461501d26487290293ae93b40cd31d6e96f90d112 [3]
- Announcement and Release Notes
- UniversalLanguageSelector is rolled back to the 2012.12 version for compatibility with MediaWiki 1.20 because of a known issue where, with UniversalLanguageSelector enabled, preferences are not saved for logged-in users. Wait for 1.20.3 or use only with the last revision of the 1.20 branch.
- 2013.01: http://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2013.01.tar.bz2
- sha256sum: 55adb8b1a5197570fe76501454a66d2f1581bd6854e4091e2b56545a6d072d0b [4]
- Announcement and Release Notes
- Compatible only with MediaWiki 1.21alpha. 1.20.2 has a known issue where, with UniversalLanguageSelector enabled, preferences are not saved for logged-in users; wait for 1.20.3 or use only with the last revision of the 1.20 branch.
- 2012.12: http://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2012.12.tar.bz2
- sha256sum: d27fdbbcdd73795914c6f6a8bdddedc3cea06c1ce968b9420f28028fda191a92 [5]
- Announcement and Release Notes
- Compatible with MediaWiki 1.20 and 1.21alpha
- 2012.11: http://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2012.11.tar.bz2
- sha256sum: 924e95b8d5b1c9cef17f72ffe141b06df310ca2cbe013816b5fb69b09732763a [6]
- Announcement and Release Notes
- Compatible with MediaWiki 1.20 and 1.21alpha
Via Git [edit]
In your extensions directory do the following to get or update to the latest release and follow configuration instructions below.
for ext in Babel cldr CleanChanges LocalisationUpdate Translate UniversalLanguageSelector do if [ ! -d "$ext" ] then git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/$ext.git fi cd $ext; git fetch --tags; git checkout 2013.03; cd .. done
Installation [edit]
Layout: ./mediawiki/extensions/{A,B,C} [edit]
Go to mediawiki directory and extract the release file:
tar xjf MediaWikiLanguageExtensionBundle-2013.03.tar.bz2
Your extension variable is
$EXT = "$IP/extensions";
Layout: ./mediawiki/ ./extensions/{A,B,C} [edit]
Go to common parent directory and extract the release file:
tar xjf MediaWikiLanguageExtensionBundle-2013.03.tar.bz2
Your extension variables are:
$EXT = "$IP/../extensions";
$wgExtensionAssetsPath = "{$wgScriptPath}/../extensions";
Add/update your LocalSettings.php [edit]
Near the end, place the config lines given above followed by this:
require_once( "$EXT/Babel/Babel.php" ); require_once( "$EXT/cldr/cldr.php" ); require_once( "$EXT/CleanChanges/CleanChanges.php" ); $wgCCTrailerFilter = true; $wgCCUserFilter = false; $wgDefaultUserOptions['usenewrc'] = 1; require_once( "$EXT/LocalisationUpdate/LocalisationUpdate.php" ); $wgLocalisationUpdateDirectory = "$IP/cache"; require_once( "$EXT/Translate/Translate.php" ); $wgGroupPermissions['user']['translate'] = true; $wgGroupPermissions['user']['translate-messagereview'] = true; $wgGroupPermissions['user']['translate-groupreview'] = true; $wgGroupPermissions['user']['translate-import'] = true; $wgGroupPermissions['sysop']['pagetranslation'] = true; $wgGroupPermissions['sysop']['translate-manage'] = true; $wgTranslateDocumentationLanguageCode = 'qqq'; $wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages require_once( "$EXT/UniversalLanguageSelector/UniversalLanguageSelector.php" );
Update database tables [edit]
Commandline [edit]
In the directory where your LocalSettings.php is located, run the following command:
php maintenance/update.php
Webbrowser [edit]
Go to example.com/mediawiki/mw-config/ by using your domain and path and rerun install.
Configuring LocalisationUpdate [edit]
If you are on unix like system, you should add LocalisationUpdate to crontab:
crontab -e # Add the following line @daily php /path/to/your/wiki/extensions/LocalisationUpdate/update.php --quiet