MediaWiki
REL1_40
PageContentLanguageHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Language
;
6
use
MediaWiki\Title\Title
;
7
15
interface
PageContentLanguageHook
{
27
public
function
onPageContentLanguage
(
$title
, &$pageLang, $userLang );
28
}
Language
Base class for language-specific code.
Definition
Language.php:56
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:82
MediaWiki\Content\Hook\PageContentLanguageHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PageContentLanguageHook.php:15
MediaWiki\Content\Hook\PageContentLanguageHook\onPageContentLanguage
onPageContentLanguage( $title, &$pageLang, $userLang)
Use this hook to change the language in which the content of a page is written.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
$title
$title
Definition
testCompression.php:39
includes
content
Hook
PageContentLanguageHook.php
Generated on Thu Jun 27 2024 14:02:32 for MediaWiki by
1.10.0