MediaWiki REL1_39
GetLangPreferredVariantHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
25 public function onGetLangPreferredVariant( &$req );
26}
This is a hook handler interface, see docs/Hooks.md.
onGetLangPreferredVariant(&$req)
This hook is called in LanguageConverter::getPreferredVariant() to allow fetching the language varian...