diff --git a/src/SpecialReplaceText.php b/src/SpecialReplaceText.php index cf15c87c..cd930002 100644 --- a/src/SpecialReplaceText.php +++ b/src/SpecialReplaceText.php @@ -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( "
\n" . @@ -608,7 +608,7 @@ class SpecialReplaceText extends SpecialPage { } $out->addHTML( '
' ); $out->addWikiMsg( 'replacetext_formovedpages' ); - $rcPage = Title::makeTitleSafe( NS_SPECIAL, 'RecentChanges' ); + $rcPage = SpecialPage::getTitleFor( 'Recentchanges' ); $rcPageName = $rcPage->getPrefixedText(); $out->addHTML( Xml::checkLabel(