Revert change from I7939e85aca5edf9b8c391b9e3167ac9634708fbf
Bug: T309745 Change-Id: Ie47a97831b4ddfc4c95696ade4374f44abbf7bb3
This commit is contained in:
parent
dd21d0a8e4
commit
ab02ab7ec0
3 changed files with 4 additions and 7 deletions
|
|
@ -532,13 +532,10 @@ class SpecialSearch extends SpecialPage {
|
|||
|
||||
// If we have no results and have not already displayed an error message
|
||||
if ( $num === 0 && !$hasSearchErrors ) {
|
||||
$wikiId = WikiMap::getCurrentWikiId();
|
||||
$localizedWikiName = $this->msg( "project-localized-name-{$wikiId}" )->text();
|
||||
$out->wrapWikiMsg( "<p class=\"mw-search-nonefound\">\n$1</p>", [
|
||||
$hasInlineIwResults ? 'search-nonefound-thiswiki' : 'search-nonefound',
|
||||
wfEscapeWikiText( $term ),
|
||||
$term,
|
||||
$localizedWikiName
|
||||
$term
|
||||
] );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1056,7 +1056,7 @@
|
|||
"showingresultsinrange": "Showing below up to {{PLURAL:$1|<strong>1</strong> result|<strong>$1</strong> results}} in range #<strong>$2</strong> to #<strong>$3</strong>.",
|
||||
"search-showingresults": "{{PLURAL:$4|Result <strong>$1</strong> of <strong>$3</strong>|Results <strong>$1 – $2</strong> of <strong>$3</strong>}}",
|
||||
"search-nonefound": "There were no results matching the query.",
|
||||
"search-nonefound-thiswiki": "There were no results matching the query in $3.",
|
||||
"search-nonefound-thiswiki": "There were no results matching the query in this site.",
|
||||
"powersearch-legend": "Advanced search",
|
||||
"powersearch-ns": "Search in namespaces:",
|
||||
"powersearch-togglelabel": "Check:",
|
||||
|
|
|
|||
|
|
@ -1298,8 +1298,8 @@
|
|||
"showingresults": "This message is used on some special pages such as [[Special:WantedCategories]]. Parameters:\n* $1 ― the total number of results in the batch shown\n* $2 ― the number of the first item listed\n\nNote that numbers given in $1 and $2 are preformated (and may contain locale-specific group separators or digits), so they cannot be used in the 1st parameter for the <code><nowiki>{{</nowiki>PLURAL:''number''<nowiki>|</nowiki>''textual variants...''<nowiki>}}</nowiki></code> parser funtion, which only accepts raw numbers written with ASCII digits.\n\n{{Int:Seealso}}{{Colon}}\n* {{msg-mw|Showingresultsnum}}",
|
||||
"showingresultsinrange": "Used in pagination of [[Special:MostLinkedCategories]]. Parameters:\n* $1 ― the total number of results in the batch shown\n* $2 ― the number of the first item listed\n* $3 ― the number of last item in the batch shown\n\nNote that numbers given in $2 and $3 are preformated (and may contain locale-specific group separators or digits), so they cannot be used in the 1st parameter for the <code><nowiki>{{</nowiki>PLURAL:''number''<nowiki>|</nowiki>''textual variants...''<nowiki>}}</nowiki></code> parser funtion, which only accepts raw numbers written with ASCII digits.\n\nSee also {{msg-mw|Showingresults}}",
|
||||
"search-showingresults": "Used in search results of [[Special:Search]]. Parameters:\n* $1 - minimum offset\n* $2 - maximum offset\n* $3 - total number of results\n* $4 - number of results",
|
||||
"search-nonefound": "Message shown when a search returned no results (when using the default MediaWiki search engine). Parameters:\n* $1 - the search term, wikitext-escaped\n* $2 - the search term, unescaped (unused by default but may be used in combination with <nowiki>{{urlencode:}}</nowiki> to create URLs)\n * $3 - The current localized project name",
|
||||
"search-nonefound-thiswiki": "Message shown when a search in current wiki returned no results (when using the default MediaWiki search engine) but search in other wikis did return results. Parameters:\n* $1 - the search term, wikitext-escaped\n* $2 - the search term, unescaped (unused by default but may be used in combination with <nowiki>{{urlencode:}}</nowiki> to create URLs)\n* $3 - The current localized project name",
|
||||
"search-nonefound": "Message shown when a search returned no results (when using the default MediaWiki search engine). Parameters:\n* $1 - the search term, wikitext-escaped\n* $2 - the search term, unescaped (unused by default but may be used in combination with <nowiki>{{urlencode:}}</nowiki> to create URLs)",
|
||||
"search-nonefound-thiswiki": "Message shown when a search in current wiki returned no results (when using the default MediaWiki search engine) but search in other wikis did return results. Parameters:\n* $1 - the search term, wikitext-escaped\n* $2 - the search term, unescaped (unused by default but may be used in combination with <nowiki>{{urlencode:}}</nowiki> to create URLs)",
|
||||
"powersearch-legend": "Advanced search\n\n{{Identical|Advanced search}}",
|
||||
"powersearch-ns": "Used in the extended search form at [[Special:Search]]",
|
||||
"powersearch-togglelabel": "Used in [{{canonicalurl:Special:Search|advanced=1}} Advanced search]. Synonym: \"Select\" as verb.\n{{Identical|Check}}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue