27 parent::__construct(
'wgLang' );
44 $this->
_unstub(
'findVariantLink', 3 );
45 $wgLang->findVariantLink( $link, $nt, $ignoreOtherCond );
52 return RequestContext::getMain()->getLanguage();
Class to implement stub globals, which are globals that delay loading the their associated module cod...
_unstub( $name='_unstub', $level=2)
This function creates a new object of the real class and replace it in the global variable.
Stub object for the user language.
findVariantLink(&$link, &$nt, $ignoreOtherCond=false)
Call Language::findVariantLink after unstubbing $wgLang.