2declare( strict_types = 1 );
4use MediaWiki\Context\IContextSource;
23 $language = $context->getLanguage()->getCode();
26 $msgkey = $this->getFromConf(
'BASIC',
'descriptionmsg' );
29 $desc = $this->
getMessage( $msgkey, $language );
30 if ( (
string)$desc ===
'' ) {
35 if ( (
string)$desc ===
'' ) {
37 $desc = parent::getDescription( $context );
This class implements default behavior for file based message groups.
getMessage( $key, $code)
@inheritDoc
getSourceLanguage()
Returns language code depicting the language of source text.