Extension:MultiLanguageManager/de-formal
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
![]() Release status: unmaintained |
|
---|---|
Implementation | Database , Locale |
Description | Add multi-languages capacities to a wiki |
Author(s) | Marc Despland, Robert Vogel |
Latest version | 2.0 (2017-08-31) |
MediaWiki | 1.29 |
Database changes | Yes |
Composer | mediawiki/multi-language-manager |
License | GNU General Public License 2.0 |
Download | |
|
|
language |
|
Quarterly downloads | 29 (Ranked 140th) |
Translate the MultiLanguageManager extension if it is available at translatewiki.net | |
The MultiLanguageManager extension allows you to add multi-languages capacities to a wiki:
- You can define a list of available languages
- You can define a page to be a variant of another page within the same wiki
- On a page with variants a special navigation will be displayed ("flags") that allow to switch between those pages
- The interface language for anonymous users will automatically be changed to match the language of the page
ATTENTION: This extension does not use the built-in Page content language mechanism of MediaWiki. If that is desired, use the PerPageLanguage extension.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
MultiLanguageManager
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:wfLoadExtension( 'MultiLanguageManager' );
- Führen Sie das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Configuration
Available languages
The configuration is done using the $mgAvailableLanguages variable which contains the code of language and the code of its name in the file MultiLanguageManager_setup.php.
$mgAvailableLanguages = array(
'en',
'fr'
);
The users rights
You can manage who has the rights to modify the linguistic parameters of the pages. You can set those users rights to match with an existing right using the $mgLanguagePermisionsKey variable. For example to set the linguistic rights to match the edition article rights:
$mgLanguagePermisionsKey = 'edit';
But you could also choose an other rights language:
$mgLanguagePermisionsKey = 'language';
Then think of set the rights according to the groups:
$wgGroupPermissions['*'][$mgLanguagePermisionsKey] = false;
$wgGroupPermissions['user'][$mgLanguagePermisionsKey] = true;
$wgGroupPermissions['sysop'][$mgLanguagePermisionsKey] = true;
Siehe auch
- Extension:PerPageLanguage - Displays the interface in the language of the content