Fix missing message parameter.

Change-Id: Id0a1b3215064ef02c9eadf24877a4e887588c3ce
(cherry picked from commit 65f20dcea1)
This commit is contained in:
Cindy Cicalese 2018-04-17 21:52:03 +00:00 committed by Cicalese
parent fe7c4cf38e
commit 64f66dba48

View file

@ -608,6 +608,8 @@ class SpecialReplaceText extends SpecialPage {
} }
$out->addHTML( '<br />' ); $out->addHTML( '<br />' );
$out->addWikiMsg( 'replacetext_formovedpages' ); $out->addWikiMsg( 'replacetext_formovedpages' );
$rcPage = Title::makeTitleSafe( NS_SPECIAL, 'RecentChanges' );
$rcPageName = $rcPage->getPrefixedText();
$out->addHTML( $out->addHTML(
Xml::checkLabel( Xml::checkLabel(
$this->msg( 'replacetext_savemovedpages' )->text(), $this->msg( 'replacetext_savemovedpages' )->text(),
@ -616,7 +618,7 @@ class SpecialReplaceText extends SpecialPage {
$this->msg( 'replacetext_watchmovedpages' )->text(), $this->msg( 'replacetext_watchmovedpages' )->text(),
'watch-pages', 'watch-pages', false ) . '<br />' . 'watch-pages', 'watch-pages', false ) . '<br />' .
Xml::checkLabel( Xml::checkLabel(
$this->msg( 'replacetext_announce' )->text(), $this->msg( 'replacetext_announce', $rcPageName )->text(),
'doAnnounce', 'doAnnounce', true ) . '<br />' 'doAnnounce', 'doAnnounce', true ) . '<br />'
); );
$out->addHTML( '<br />' ); $out->addHTML( '<br />' );