diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 6fb2361fb4f..57461e3a58e 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -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( "
\n$1
", [ $hasInlineIwResults ? 'search-nonefound-thiswiki' : 'search-nonefound', wfEscapeWikiText( $term ), - $term, - $localizedWikiName + $term ] ); } diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 5730f0dc55f..483b2d49dba 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1056,7 +1056,7 @@ "showingresultsinrange": "Showing below up to {{PLURAL:$1|1 result|$1 results}} in range #$2 to #$3.", "search-showingresults": "{{PLURAL:$4|Result $1 of $3|Results $1 – $2 of $3}}", "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:", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index d4560bee849..9d5e2553dcc 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -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{{ PLURAL:''number''| ''textual variants...''}} 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 {{ PLURAL:''number''| ''textual variants...''}} 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