Extension:PerPageLanguage/zh

The PerPageLanguage extension allows a multi-lingual wiki to display each page in the same language as its contents. It allows for the page's defined content 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 content language, not what the user selects. This extension can be thought of as using  based on the page content language. (For more information on the difference between user interface language and page content language, see Manual:Language.)

This extension was created for WikiWorks.

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

-{zh-hans:配置; zh-hant:組態;}-

 *   - 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 content language.

參見

 * - An extension with similar goals
 * - An extension with similar goals