MediaWiki
REL1_37
GetLangPreferredVariantHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
12
interface
GetLangPreferredVariantHook
{
25
public
function
onGetLangPreferredVariant
( &$req );
26
}
MediaWiki\Hook\GetLangPreferredVariantHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetLangPreferredVariantHook.php:12
MediaWiki\Hook\GetLangPreferredVariantHook\onGetLangPreferredVariant
onGetLangPreferredVariant(&$req)
This hook is called in LanguageConverter::getPreferredVariant() to allow fetching the language varian...
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
language
Hook
GetLangPreferredVariantHook.php
Generated on Fri Apr 5 2024 23:40:24 for MediaWiki by
1.9.8