Use $this->getMsg instead of wfMessage

Change-Id: Ief31c2d9037b5786657507e28ae75b6e467cccb4
This commit is contained in:
Fomafix 2018-06-12 16:39:57 +02:00
parent 5a964ea134
commit 44fd986540

View file

@ -265,7 +265,7 @@ class VectorTemplate extends BaseTemplate {
if ( $msg === null ) {
$msg = $name;
}
$msgObj = wfMessage( $msg );
$msgObj = $this->getMsg( $msg );
$labelId = Sanitizer::escapeIdForAttribute( "p-$name-label" );
?>
<div class="portal" role="navigation" id="<?php