Correctly localize special page name.

Change-Id: I05b337358b0f205dd11cf05491303f4b9068b242
This commit is contained in:
Cindy Cicalese 2018-04-18 01:36:04 +00:00 committed by Cicalese
parent 64f66dba48
commit 6d983b645e

View file

@ -464,7 +464,7 @@ class SpecialReplaceText extends SpecialPage {
// @todo FIXME: raw html messages
$category_search_label = $this->msg( 'replacetext_categorysearch' )->escaped();
$prefix_search_label = $this->msg( 'replacetext_prefixsearch' )->escaped();
$rcPage = Title::makeTitleSafe( NS_SPECIAL, 'RecentChanges' );
$rcPage = SpecialPage::getTitleFor( 'Recentchanges' );
$rcPageName = $rcPage->getPrefixedText();
$out->addHTML(
"<fieldset id=\"mw-searchoptions\">\n" .
@ -608,7 +608,7 @@ class SpecialReplaceText extends SpecialPage {
}
$out->addHTML( '<br />' );
$out->addWikiMsg( 'replacetext_formovedpages' );
$rcPage = Title::makeTitleSafe( NS_SPECIAL, 'RecentChanges' );
$rcPage = SpecialPage::getTitleFor( 'Recentchanges' );
$rcPageName = $rcPage->getPrefixedText();
$out->addHTML(
Xml::checkLabel(