MediaWiki master
PageContentLanguageHook.php
Go to the documentation of this file.
1<?php
2
4
5use Language;
7
27 public function onPageContentLanguage( $title, &$pageLang, $userLang );
28}
Base class for language-specific code.
Definition Language.php:66
Represents a title within MediaWiki.
Definition Title.php:79
This is a hook handler interface, see docs/Hooks.md.
onPageContentLanguage( $title, &$pageLang, $userLang)
Use this hook to change the language in which the content of a page is written.