Correct the documentation of srprop.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Wed, 6 Jul 2011 20:47:26 +0000 (20:47 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Wed, 6 Jul 2011 20:47:26 +0000 (20:47 +0000)
RELEASE-NOTES-1.19
includes/api/ApiQuerySearch.php

index bb993b4..454bf49 100644 (file)
@@ -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 ===
 
index 84f547e..19ca63f 100644 (file)
@@ -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',