http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91600

Revision: 91600
Author:   hartman
Date:     2011-07-06 20:47:26 +0000 (Wed, 06 Jul 2011)
Log Message:
-----------
Correct the documentation of srprop.

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES-1.19
    trunk/phase3/includes/api/ApiQuerySearch.php

Modified: trunk/phase3/RELEASE-NOTES-1.19
===================================================================
--- trunk/phase3/RELEASE-NOTES-1.19     2011-07-06 20:41:12 UTC (rev 91599)
+++ trunk/phase3/RELEASE-NOTES-1.19     2011-07-06 20:47:26 UTC (rev 91600)
@@ -168,6 +168,7 @@
 * (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 ===
 

Modified: trunk/phase3/includes/api/ApiQuerySearch.php
===================================================================
--- trunk/phase3/includes/api/ApiQuerySearch.php        2011-07-06 20:41:12 UTC 
(rev 91599)
+++ trunk/phase3/includes/api/ApiQuerySearch.php        2011-07-06 20:47:26 UTC 
(rev 91600)
@@ -269,10 +269,10 @@
                                ' 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',


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

Reply via email to