mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-12-18 01:01:03 +00:00
Correctly localize special page name.
Change-Id: I05b337358b0f205dd11cf05491303f4b9068b242
This commit is contained in:
parent
64f66dba48
commit
6d983b645e
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue