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:
Fomafix 2022-09-08 10:10:27 +00:00 committed by DannyS712
parent d4f3d6b500
commit 6e1ca1e5a6

View file

@ -96,7 +96,7 @@ class Hooks implements
$page = $this->specialPageFactory->getPage( 'ReplaceText' );
$pageLink = $form->getLinkRenderer()->makeLink( $page->getPageTitle() );
$out->addHTML( $form->msg( 'replacetext_reminder' )
->rawParams( $pageLink )->inContentLanguage()->parseAsBlock() );
->rawParams( $pageLink )->parseAsBlock() );
}
/**