Extension:PerPageLanguage

The PerPageLanguage extension allows for the page's defined page language, a feature built into MediaWiki, to also define what language the user interface should use. Unlike UniversalLanguageSelector, it changes the language used for the user interface based on the page's page language, not what the user selects. This extension can be thought of as using  based on the page language. (For more information on the difference between user interface language and page language, see Manual:Language.)

This extension was created for WikiWorks.

Usage
A page's language can be defined at Special:PageLanguage if $wgPageLanguageUseDB is set to true. If this is defined, then PerPageLanguage will change the user interface language to match the page language for anyone who navigates onto that page.

Installation
Set $wgPageLanguageUseDB to true.

Configuration

 *   - If true, disregards the language chosen by the user's own preferences and forces the page to be displayed in the same language as the page language.