MediaWiki REL1_35
PageContentLanguageHook.php
Go to the documentation of this file.
1<?php
2
4
5use Language;
6use Title;
7
26 public function onPageContentLanguage( $title, &$pageLang, $userLang );
27}
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...
Definition Language.php:41
Represents a title within MediaWiki.
Definition Title.php:42
onPageContentLanguage( $title, &$pageLang, $userLang)
Use this hook to change the language in which the content of a page is written.