r91600 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91599‎ | r91600 | r91601 >
Date:20:47, 6 July 2011
Author:hartman
Status:ok
Tags:
Comment:
Correct the documentation of srprop.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES-1.19 (modified) (history)
  • /trunk/phase3/includes/api/ApiQuerySearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES-1.19
@@ -168,6 +168,7 @@
169169 * (bug 29745) Fatal error in API search
170170 * (bug 29476) API returns page title instead of sectiontitle for
171171 srprop=sectiontitle
 172+* Correct the documentation of srprop properties
172173
173174 === Languages updated in 1.19 ===
174175
Index: trunk/phase3/includes/api/ApiQuerySearch.php
@@ -269,10 +269,10 @@
270270 ' score - Adds the score (if any) from the search engine',
271271 ' snippet - Adds a parsed snippet of the page',
272272 ' titlesnippet - Adds a parsed snippet of the page title',
273 - ' redirectsnippet - Adds a parsed snippet of the redirect',
274 - ' redirecttitle - Adds a parsed snippet of the redirect title',
275 - ' sectionsnippet - Adds a parsed snippet of the matching section',
276 - ' sectiontitle - Adds a parsed snippet of the matching section title',
 273+ ' redirectsnippet - Adds a parsed snippet of the redirect title',
 274+ ' redirecttitle - Adds the title of the matching redirect',
 275+ ' sectionsnippet - Adds a parsed snippet of the matching section title',
 276+ ' sectiontitle - Adds the title of the matching section',
277277 ' hasrelated - Indicates whether a related search is available',
278278 ),
279279 'redirects' => 'Include redirect pages in the search',

Status & tagging log