Extension:PageLanguage
From Linux Web Expert
Not to be confused with the feature Special:PageLanguage, for which see Manual:Language#Page content language.
Page Language Release status: experimental |
|
---|---|
Implementation | Parser function |
Description | Define page language per page |
Author(s) | Liangent (Liangenttalk) |
MediaWiki | >= 1.40 |
License | No license specified |
Download | |
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'). |
Translate the PageLanguage extension if it is available at translatewiki.net |
The PageLanguage extension adds a {{PAGELANGUAGE: }} parser function to set language (seen by MediaWiki) per page.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/PageLanguage</tvar>|Download]] and move the extracted <tvar name=name>
PageLanguage
</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/PageLanguage - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'PageLanguage' );
- 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>
Categories:
- Pages with script errors
- Pages with broken file links
- Experimental extensions
- Extensions without an image
- Parser function extensions
- Extensions without a compatibility policy
- Extensions with no license specified
- Extensions in Wikimedia version control
- PageContentLanguage extensions
- ParserFirstCallInit extensions
- All extensions