aboutsummaryrefslogtreecommitdiffstats
path: root/RELEASE-NOTES-1.25
diff options
context:
space:
mode:
authorBrad Jorsch <bjorsch@wikimedia.org>2014-11-24 16:21:49 -0500
committerBrad Jorsch <bjorsch@wikimedia.org>2014-11-26 10:41:17 -0500
commite2055fe0a55cffafe9ba8f9440465c664f14996f (patch)
treee35132a074a307757d92436fdc32641619c1a9dd /RELEASE-NOTES-1.25
parent7efc2a1f61e20f9c2e2be7897e10d0c2d54da55e (diff)
downloadmediawikicore-e2055fe0a55cffafe9ba8f9440465c664f14996f.tar.gz
mediawikicore-e2055fe0a55cffafe9ba8f9440465c664f14996f.zip
API: Allow generators to return data
It has long been requested that list=search and list=prefixsearch be able to indicate the search result ordering when used as generators. This change introduces a generic mechanism to allow for generators to specify additional page data. Bug: T16859 Bug: T75623 Change-Id: I115338d2bd890ccc109a79c65f92099c0d41fc2d
Diffstat (limited to 'RELEASE-NOTES-1.25')
-rw-r--r--RELEASE-NOTES-1.257
1 files changed, 7 insertions, 0 deletions
diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25
index 2781b380e9c3..07599516fe23 100644
--- a/RELEASE-NOTES-1.25
+++ b/RELEASE-NOTES-1.25
@@ -101,6 +101,11 @@ production.
* (bug 66776) format=json results will no longer be corrupted when
$wgMangleFlashPolicy is in effect. format=php results will cleanly return an
error instead of returning invalid serialized data.
+* Generators may now return data for the generated pages when used with
+ action=query.
+* Query page data for generator=search and generator=prefixsearch will now
+ include an "index" field, which may be used by the client for sorting the
+ search results.
=== Action API internal changes in 1.25 ===
* ApiHelp has been rewritten to support i18n and paginated HTML output.
@@ -130,6 +135,8 @@ production.
revisions as "good" if the user has the 'deletedhistory' right. New methods
ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
provided to access just the live or just the deleted revids.
+* Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
+ to allow generators to include data in the action=query result.
* The following methods have been deprecated and may be removed in a future
release:
* ApiBase::getDescription