From 64f66dba4803896567a03b573f88f70abee43822 Mon Sep 17 00:00:00 2001 From: Cindy Cicalese Date: Tue, 17 Apr 2018 21:52:03 +0000 Subject: [PATCH] Fix missing message parameter. Change-Id: Id0a1b3215064ef02c9eadf24877a4e887588c3ce (cherry picked from commit 65f20dcea10a44e2f51fc82a57057db94c404b64) --- src/SpecialReplaceText.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SpecialReplaceText.php b/src/SpecialReplaceText.php index c8c90c2b..cf15c87c 100644 --- a/src/SpecialReplaceText.php +++ b/src/SpecialReplaceText.php @@ -608,6 +608,8 @@ class SpecialReplaceText extends SpecialPage { } $out->addHTML( '
' ); $out->addWikiMsg( 'replacetext_formovedpages' ); + $rcPage = Title::makeTitleSafe( NS_SPECIAL, 'RecentChanges' ); + $rcPageName = $rcPage->getPrefixedText(); $out->addHTML( Xml::checkLabel( $this->msg( 'replacetext_savemovedpages' )->text(), @@ -616,7 +618,7 @@ class SpecialReplaceText extends SpecialPage { $this->msg( 'replacetext_watchmovedpages' )->text(), 'watch-pages', 'watch-pages', false ) . '
' . Xml::checkLabel( - $this->msg( 'replacetext_announce' )->text(), + $this->msg( 'replacetext_announce', $rcPageName )->text(), 'doAnnounce', 'doAnnounce', true ) . '
' ); $out->addHTML( '
' );