Extension:MultiLanguageManager/de

Category:Unmaintained extensions/de#MultiLanguageManager/de Category:GPL licensed extensions/de
MediaWiki-Erweiterungen
MultiLanguageManager
Freigabestatus: ohne WartungCategory:Unmaintained extensions/de
Einbindung Datenbank Category:Database extensions/de, Ort Category:Internationalization extensions/de
Beschreibung Add multi-languages capacities to a wiki
Autor(en) Marc Despland, Robert Vogel
Letzte Version 2.0 (2017-08-31)
MediaWiki 1.29Category:Extensions with manual MediaWiki version
Datenbankänderungen Ja
Lizenz GNU General Public License 2.0
Herunterladen Category:Extensions in Wikimedia version control/de
  • $mgAvailableLanguage
  • $mgLanguagePermisionsKey
Vierteljährliche Downloads 0
Übersetze die MultiLanguageManager-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Category:All extensions/de

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 Ordner extensions/ ablegen.
    Entwickler und Code-Beitragende sollten stattdessen die Erweiterung von Git installieren, mit:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MultiLanguageManager
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'MultiLanguageManager' );
    
  • Führe das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
  • Yes Erledigt – Navigiere zu Special:Version in deinem Wiki, um zu überprüfen, ob die Erweiterung erfolgreich installiert wurde.

Konfiguration

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

Category:All extensions/de Category:ArticleDelete extensions/de Category:BeforePageDisplay extensions/de Category:Database extensions/de Category:Extensions in Wikimedia version control/de Category:Extensions which add rights/de Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/de Category:Internationalization extensions/de Category:LoadExtensionSchemaUpdates extensions/de Category:SkinBuildSidebar extensions/de Category:SkinTemplateNavigation::Universal extensions/de Category:Unmaintained extensions/de Category:UserGetLanguageObject extensions/de