Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -168,6 +168,7 @@ |
169 | 169 | * (bug 29745) Fatal error in API search |
170 | 170 | * (bug 29476) API returns page title instead of sectiontitle for |
171 | 171 | srprop=sectiontitle |
| 172 | +* Correct the documentation of srprop properties |
172 | 173 | |
173 | 174 | === Languages updated in 1.19 === |
174 | 175 | |
Index: trunk/phase3/includes/api/ApiQuerySearch.php |
— | — | @@ -269,10 +269,10 @@ |
270 | 270 | ' score - Adds the score (if any) from the search engine', |
271 | 271 | ' snippet - Adds a parsed snippet of the page', |
272 | 272 | ' 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', |
277 | 277 | ' hasrelated - Indicates whether a related search is available', |
278 | 278 | ), |
279 | 279 | 'redirects' => 'Include redirect pages in the search', |