jenkins-bot has submitted this change and it was merged.

Change subject: API: Improve description for ApiQueryPrefixSearch
......................................................................


API: Improve description for ApiQueryPrefixSearch

Make it clear that the purpose of ApiQueryPrefixSearch is ''search'',
not to be an equivalent of Special:PrefixIndex.

Change-Id: I5012d8e99b3250723d875fbb9ed5fbc08e53ca17
---
M includes/api/i18n/en.json
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Legoktm: Looks good to me, approved
  DCausse: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json
index 263f137..ea85411 100644
--- a/includes/api/i18n/en.json
+++ b/includes/api/i18n/en.json
@@ -916,7 +916,7 @@
        "apihelp-query+pageswithprop-example-simple": "List the first 10 pages 
using <code>&#123;&#123;DISPLAYTITLE:&#125;&#125;</code>.",
        "apihelp-query+pageswithprop-example-generator": "Get additional 
information about the first 10 pages using <code>_&#95;NOTOC_&#95;</code>.",
 
-       "apihelp-query+prefixsearch-description": "Perform a prefix search for 
page titles.",
+       "apihelp-query+prefixsearch-description": "Perform a prefix search for 
page titles.\n\nDespite the similarity in names, this module is not intended to 
be equivalent to [[Special:PrefixIndex]]; for that, see 
<kbd>[[Special:ApiHelp/query+allpages|action=query&list=allpages]]</kbd> with 
the <kbd>apprefix</kbd> parameter. The purpose of this module is similar to 
<kbd>[[Special:ApiHelp/opensearch|action=opensearch]]</kbd>: to take user input 
and provide the best-matching titles. Depending on the search engine backend, 
this might include typo correction, redirect avoidance, or other heuristics.",
        "apihelp-query+prefixsearch-param-search": "Search string.",
        "apihelp-query+prefixsearch-param-namespace": "Namespaces to search.",
        "apihelp-query+prefixsearch-param-limit": "Maximum number of results to 
return.",

-- 
To view, visit https://gerrit.wikimedia.org/r/260383
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5012d8e99b3250723d875fbb9ed5fbc08e53ca17
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>
Gerrit-Reviewer: DCausse <dcau...@wikimedia.org>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to