From 54d8f55be71e90a3c844dd1aebf7d41361f2121f Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Wed, 6 Jul 2011 20:47:26 +0000 Subject: [PATCH] Correct the documentation of srprop. --- RELEASE-NOTES-1.19 | 1 + includes/api/ApiQuerySearch.php | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) 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', -- 2.20.1