Extension:PageLanguage

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
Page Language

Release status: experimental

Implementation Parser function
Description Define page language per page
Author(s) (Liangenttalk)
License No license specified
Download
Hooks used
PageContentLanguage

ParserFirstCallInit

Translate the PageLanguage extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

The PageLanguage extension adds a {{PAGELANGUAGE: }} parser function to set language (seen by MediaWiki) per page.

Installation[edit | edit source]

  • Download and extract the tarball in your extensions/ folder. It should generate a new folder called PageLanguage directly inside your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/PageLanguage/PageLanguage.php";
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.