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( "