Extension:MultiLanguageManager/pt-br
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Predefinição:Extensão }}</tvar> infobox.</translate> |
MultiLanguageManager Estado da versão: sem manutenção |
|
---|---|
Implementação | Banco de dados , Idiomas |
Descrição | Adicionar capacidade de múltiplos idiomas em uma wiki |
Autor(es) | Marc Despland, Robert Vogel |
Última versão | 2.0 (2017-08-31) |
MediaWiki | 1.29 |
Modifica o banco de dados |
Sim |
Licença | GNU GPL (Licença Pública Geral) 2.0 |
Download | |
|
|
language |
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Para traduzir a extensão MultiLanguageManager, verifique sua disponibilidade no 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.
Instalação
- <translate> [[<tvar name=2>Special:ExtensionDistributor/MultiLanguageManager/pt-br</tvar>|Download]] and move the extracted <tvar name=name>
MultiLanguageManager/pt-br
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MultiLanguageManager%2Fpt-br - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'MultiLanguageManager/pt-br' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuração
Linguagens disponíveis
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'
);
Direitos de usuário
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;
Veja também
- Extension:PerPageLanguage - Displays the interface in the language of the content
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions/pt-br
- Database extensions/pt-br
- Internationalization extensions/pt-br
- Extensions with manual MediaWiki version
- GPL licensed extensions/pt-br
- Extensions in Wikimedia version control/pt-br
- Extensions which add rights/pt-br
- All extensions/pt-br
- Extensions not in ExtensionJson