mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-28 00:20:00 +00:00
Show message replacetext_reminder in user interface language
The message replacetext_reminder is shown on the user interface and should use the user interface language instead of the content language like the other messages on this page. Change-Id: I55f084b3b1a7c83aa45f1489be54fc2f8955135e
This commit is contained in:
parent
d4f3d6b500
commit
6e1ca1e5a6
|
@ -96,7 +96,7 @@ class Hooks implements
|
||||||
$page = $this->specialPageFactory->getPage( 'ReplaceText' );
|
$page = $this->specialPageFactory->getPage( 'ReplaceText' );
|
||||||
$pageLink = $form->getLinkRenderer()->makeLink( $page->getPageTitle() );
|
$pageLink = $form->getLinkRenderer()->makeLink( $page->getPageTitle() );
|
||||||
$out->addHTML( $form->msg( 'replacetext_reminder' )
|
$out->addHTML( $form->msg( 'replacetext_reminder' )
|
||||||
->rawParams( $pageLink )->inContentLanguage()->parseAsBlock() );
|
->rawParams( $pageLink )->parseAsBlock() );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue