From: Brad Jorsch Date: Mon, 21 Dec 2015 15:27:46 +0000 (-0500) Subject: API: Improve description for ApiQueryPrefixSearch X-Git-Tag: 1.31.0-rc.0~8595^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=83d9e79bd2a800d34d6c4c169f72c524bfc6281b;p=lhc%2Fweb%2Fwiklou.git 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 --- diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index 263f1375ab..ea854116fe 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 {{DISPLAYTITLE:}}.", "apihelp-query+pageswithprop-example-generator": "Get additional information about the first 10 pages using __NOTOC__.", - "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 [[Special:ApiHelp/query+allpages|action=query&list=allpages]] with the apprefix parameter. The purpose of this module is similar to [[Special:ApiHelp/opensearch|action=opensearch]]: 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.",