API: Allow generators to return data
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 24 Nov 2014 21:21:49 +0000 (16:21 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 26 Nov 2014 15:41:17 +0000 (10:41 -0500)
commite2055fe0a55cffafe9ba8f9440465c664f14996f
treee35132a074a307757d92436fdc32641619c1a9dd
parent7efc2a1f61e20f9c2e2be7897e10d0c2d54da55e
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
RELEASE-NOTES-1.25
includes/api/ApiPageSet.php
includes/api/ApiQuery.php
includes/api/ApiQueryPrefixSearch.php
includes/api/ApiQuerySearch.php