mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-13 17:57:06 +00:00
Use $this->getMsg instead of wfMessage
Change-Id: Ief31c2d9037b5786657507e28ae75b6e467cccb4
This commit is contained in:
parent
5a964ea134
commit
44fd986540
|
@ -265,7 +265,7 @@ class VectorTemplate extends BaseTemplate {
|
||||||
if ( $msg === null ) {
|
if ( $msg === null ) {
|
||||||
$msg = $name;
|
$msg = $name;
|
||||||
}
|
}
|
||||||
$msgObj = wfMessage( $msg );
|
$msgObj = $this->getMsg( $msg );
|
||||||
$labelId = Sanitizer::escapeIdForAttribute( "p-$name-label" );
|
$labelId = Sanitizer::escapeIdForAttribute( "p-$name-label" );
|
||||||
?>
|
?>
|
||||||
<div class="portal" role="navigation" id="<?php
|
<div class="portal" role="navigation" id="<?php
|
||||||
|
|
Loading…
Reference in a new issue