حزمة امتدادات لغات ميدياويكي
The MediaWiki language extension bundle (MLEB) is a curated set of MediaWiki extensions offering multilingual features.
It attempts to provide an easy way to bring comprehensive language support to a MediaWiki.
Overview of extensions
[edit ]The current version of MLEB contains the following extensions:[1] [2]
- Babel
- CLDR ("Common Locale Data Repository")
- Translate
- UniversalLanguageSelector
MLEB is released semi-annually after the new MediaWiki release and will only support the latest MediaWiki version. The bundle is tested against recent MediaWiki release versions, so you can avoid most of the temporary breaks that would happen if you were using the latest development versions of each extension.
Motivation
[edit ]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 common operating systems, and input methods for typing languages that don't use the Latin alphabet. It includes freely-licensed fonts, which cover most of the major languages of America, Europe, Middle East, India and South East Asia.
Maintaining multilingual content in a wiki is a mess without the Translate extension, which is used by Wikimedia Foundation, KDE, translatewiki.net and other sites.
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.
Release notes and downloads
[edit ]Latest release (2025.07)
[edit ]- Download: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2025.07.tar.bz2
- sha256sum: 4bde98632adeba62710779ec36025abb225939fe0b5052f6e793fcc84e1afb2e
- Signature: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2025.07.tar.bz2.asc
- Announcement
- Release notes
- Compatible with MediaWiki >= 1.44.0 and requires PHP >= 8.1.0.
Highlights
[edit ]- CleanChanges extension is no longer part of MLEB releases. See T379896. The Language filter has been integrated into the Translate extension. The User filter will be deprecated; use the standard Special:Contributions page as an alternative.
- To enable the language filter on
Special:RecentChanges
, set$wgTranslateRecentChangesLanguageFilter = true;
- To enable the language filter on
Previous releases
[edit ]2025.03
[edit ]- Download: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2025.03.tar.bz2
- sha256sum: 4f173ea9ebd31f894861b1fd06124727fe788fb008f9b983fdbe0446151d7fe5
- Signature: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2025.03.tar.bz2.asc
- Announcement
- Release notes
- Compatible with MediaWiki >= 1.43.0 and requires PHP >= 7.4.0.
Highlights
[edit ]- Future releases of MLEB will no longer include the CleanChanges extension. The Language filter has been integrated into the Translate extension. The User filter will be deprecated; use the standard
Special:Contributions
page as an alternative.- To enable the language filter on
Special:RecentChanges
, set$wgTranslateRecentChangesLanguageFilter = true;
- To enable the language filter on
2024.07
[edit ]- Download: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2024.07.tar.bz2
- sha256sum: 81d2232577f8309cf3335073464f7c5be3c38b3703a858eac17061cca20daf2e
- Signature: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2024.07.tar.bz2.asc
- Announcement
- Release notes
- Compatible with MediaWiki >= 1.41.0 and requires PHP >= 7.4.0.
Highlights
[edit ]- As per discussion on phab:T356847 this is the last release to support MediaWiki 1.41 and MediaWiki 1.42. Moving forward, MLEB will be released semi-annually after the new MediaWiki release and will only support the latest MediaWiki version.
- Support has been dropped for MediaWiki 1.40. MLEB 2024.07 supports >= MediaWiki 1.41.
Downloading with Git
[edit ]In your extensions directory do the following to get or update to the latest release and follow configuration instructions below.
forextinBabelcldrTranslateUniversalLanguageSelector do if[!-d"$ext"] then gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/$ext.git fi cd$ext;gitfetch--tags;gitcheckout2025.07;cd.. done
Installation
[edit ]Installation requirements
[edit ]Installation requirements of each piece of provided software are included in the respective documentation. See in particular the installation requirements.
Add/update your LocalSettings.php
[edit ]Near the end of LocalSettings.php, you have to place this configuration:
wfLoadExtension( 'Babel' ); wfLoadExtension( 'cldr' ); $wgDefaultUserOptions['usenewrc'] = 1; wfLoadExtension( 'Translate' ); $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 wfLoadExtension( 'UniversalLanguageSelector' );
Update database tables
[edit ]Command line
[edit ]In the directory where your LocalSettings.php is located, run the following command:
php maintenance/run.php update
Web browser
[edit ]Go to example.com/mediawiki/mw-config/ (see Manual:Upgrading#Web browser) by using your domain and path and rerun install.
Configuring and using extensions
[edit ]See the respective extension documentation pages.
- https://www.mediawiki.org/wiki/Extension:Babel
- https://www.mediawiki.org/wiki/Extension:CLDR
- https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector
- https://www.mediawiki.org/wiki/Help:Extension:Translate
Background
[edit ]MLEB does not use version-specific branches of extensions. It's a snapshot from master which is verified to be working with the latest MediaWiki releases at the time MLEB is released.
MLEB releases are created with a tool called Melange. If you are interested in that code (e.g. you want to change its code), see the Melange repository in Git. We may drop support for EOL versions of PHP, but will have at least one compatible version for each MediaWiki version we support.
References
[edit ]- ↑ LocalisationUpdate is no longer part of MLEB since 2022.07 release.
- ↑ CleanChanges is no longer part of MLEB since 2025.07 release.