Extension:PageLanguage

Not to be confused with the feature Special:PageLanguage, for which see Manual:Language#Page content language.
MediaWiki extensions manual
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 2 (Ranked 134th)
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 PageLanguage folder to your extensions/ 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.