From: Derk-Jan Hartman Date: Wed, 6 Jul 2011 20:47:26 +0000 (+0000) Subject: Correct the documentation of srprop. X-Git-Tag: 1.31.0-rc.0~29025 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=54d8f55be71e90a3c844dd1aebf7d41361f2121f;p=lhc%2Fweb%2Fwiklou.git Correct the documentation of srprop. --- diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index bb993b4c99..454bf49596 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -168,6 +168,7 @@ production. * (bug 29745) Fatal error in API search * (bug 29476) API returns page title instead of sectiontitle for srprop=sectiontitle +* Correct the documentation of srprop properties === Languages updated in 1.19 === diff --git a/includes/api/ApiQuerySearch.php b/includes/api/ApiQuerySearch.php index 84f547e24f..19ca63f896 100644 --- a/includes/api/ApiQuerySearch.php +++ b/includes/api/ApiQuerySearch.php @@ -269,10 +269,10 @@ class ApiQuerySearch extends ApiQueryGeneratorBase { ' score - Adds the score (if any) from the search engine', ' snippet - Adds a parsed snippet of the page', ' titlesnippet - Adds a parsed snippet of the page title', - ' redirectsnippet - Adds a parsed snippet of the redirect', - ' redirecttitle - Adds a parsed snippet of the redirect title', - ' sectionsnippet - Adds a parsed snippet of the matching section', - ' sectiontitle - Adds a parsed snippet of the matching section title', + ' redirectsnippet - Adds a parsed snippet of the redirect title', + ' redirecttitle - Adds the title of the matching redirect', + ' sectionsnippet - Adds a parsed snippet of the matching section title', + ' sectiontitle - Adds the title of the matching section', ' hasrelated - Indicates whether a related search is available', ), 'redirects' => 'Include redirect pages in the search',