Jump to content

MediaWiki nyelvi kiterjesztéscsomag

rövidítés: MLEB
From mediawiki.org
This page is a translated version of the page MediaWiki Language Extension Bundle and the translation is 64% complete.
Outdated translations are marked like this.


A MediaWiki nyelvi kiterjesztéscsomagja (MLEB) a többnyelvűséget elősegítő kiterjesztésgyűjtemény. Célja, hogy egyszerű módon nyújtson többnyelvű funkcionalitást a MediaWikiben.

Kiterjesztések

Az MLEB aktuális verziója az alábbi kiterjesztéseket tartalmazza:[1][2]

MLEB is released semi-annually after the new MediaWiki release and will only support the latest MediaWiki version. A kiterjesztéseket a legújabb MediaWiki-verziókon teszteltük, így nem kell aggódnod a fejlesztési kiadások által okozott szoftverhibák miatt.

Motivation

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.

Kiadási megjegyzések és letöltés

Latest release (2025.07)

Highlights
  • 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;

Previous releases

2025.03
Highlights
  • 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;
2024.07
Highlights
  • 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.

Show all releases .

Letöltés Gitről

Az extensions könyvtárban add ki a következő parancsokat és kövesd az utasításokat lejjebb.

 for ext in Babel cldr Translate UniversalLanguageSelector
 do
   if [ ! -d "$ext" ]
   then
     git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/$ext.git
   fi
   cd $ext; git fetch --tags; git checkout 2025.07; cd ..
 done


Installation

Installation requirements

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

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

Command line

In the directory where your LocalSettings.php is located, run the following command:

php maintenance/run.php update

Web browser

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

See the respective extension documentation pages.


Háttér

Az MLEB nem az egyes kiterjesztések konkrét verzióit, hanem a master ág pillanatképét tartalmazza, így a megjelölt MediaWiki-verziókkal biztosan működik.

A csomagot a Melange eszközzel állítjuk össze. Ha érdekel a kódja, lásd a Melange repozitóriumát a Giten. Lehet, hogy a régi PHP-verziók támogatását megszüntetjük, de minden támogatott MediaWiki-verzióhoz lesz legalább egy kompatibilis verzió.

Jegyzetek

  1. A LocalisationUpdate 2022. július óta nem része az MLEB-nek.
  2. CleanChanges is no longer part of MLEB since 2025.07 release.