Merge "Block: Explicit convert Message to string"
This commit is contained in:
commit
b972c452b5
1 changed files with 2 additions and 2 deletions
|
|
@ -1294,10 +1294,10 @@ class Block {
|
|||
*/
|
||||
public function getRedactedName() {
|
||||
if ( $this->mAuto ) {
|
||||
return Html::rawElement(
|
||||
return Html::element(
|
||||
'span',
|
||||
[ 'class' => 'mw-autoblockid' ],
|
||||
wfMessage( 'autoblockid', $this->mId )
|
||||
wfMessage( 'autoblockid', $this->mId )->text()
|
||||
);
|
||||
} else {
|
||||
return htmlspecialchars( $this->getTarget() );
|
||||
|
|
|
|||
Loading…
Reference in a new issue