Extension:PageLanguage
Appearance
Not to be confused with the feature Special:PageLanguage, for which see Manual:Language#Page content language.
Release status: experimental |
|
|---|---|
| Implementation | Parser function |
| Description | Define page language per page |
| Author(s) | Liangent (Liangenttalk) |
| MediaWiki | >= 1.43 |
| License | No licence specified |
| Download | |
| 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
[edit]- Download and move the extracted
PageLanguagefolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PageLanguage
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'PageLanguage' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
| This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
