mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-12-18 09:11:42 +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
|
// @todo FIXME: raw html messages
|
||||||
$category_search_label = $this->msg( 'replacetext_categorysearch' )->escaped();
|
$category_search_label = $this->msg( 'replacetext_categorysearch' )->escaped();
|
||||||
$prefix_search_label = $this->msg( 'replacetext_prefixsearch' )->escaped();
|
$prefix_search_label = $this->msg( 'replacetext_prefixsearch' )->escaped();
|
||||||
$rcPage = Title::makeTitleSafe( NS_SPECIAL, 'RecentChanges' );
|
$rcPage = SpecialPage::getTitleFor( 'Recentchanges' );
|
||||||
$rcPageName = $rcPage->getPrefixedText();
|
$rcPageName = $rcPage->getPrefixedText();
|
||||||
$out->addHTML(
|
$out->addHTML(
|
||||||
"<fieldset id=\"mw-searchoptions\">\n" .
|
"<fieldset id=\"mw-searchoptions\">\n" .
|
||||||
|
@ -608,7 +608,7 @@ class SpecialReplaceText extends SpecialPage {
|
||||||
}
|
}
|
||||||
$out->addHTML( '<br />' );
|
$out->addHTML( '<br />' );
|
||||||
$out->addWikiMsg( 'replacetext_formovedpages' );
|
$out->addWikiMsg( 'replacetext_formovedpages' );
|
||||||
$rcPage = Title::makeTitleSafe( NS_SPECIAL, 'RecentChanges' );
|
$rcPage = SpecialPage::getTitleFor( 'Recentchanges' );
|
||||||
$rcPageName = $rcPage->getPrefixedText();
|
$rcPageName = $rcPage->getPrefixedText();
|
||||||
$out->addHTML(
|
$out->addHTML(
|
||||||
Xml::checkLabel(
|
Xml::checkLabel(
|
||||||
|
|
Loading…
Reference in a new issue