mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-12-18 09:11:42 +00:00
Fix missing message parameter.
Change-Id: Id0a1b3215064ef02c9eadf24877a4e887588c3ce
(cherry picked from commit 65f20dcea1
)
This commit is contained in:
parent
fe7c4cf38e
commit
64f66dba48
|
@ -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 />' );
|
||||||
|
|
Loading…
Reference in a new issue