API: Add "batchcomplete" to simplified continuation result
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 6 Aug 2014 08:56:53 +0000 (09:56 +0100)
committerKunal Mehta <legoktm@gmail.com>
Mon, 13 Oct 2014 22:26:45 +0000 (15:26 -0700)
commitaf0121f9c83b52ed5ba1eba082494ac7cd9c97b6
tree672d4dad204f366c6b826342254965df15d78db2
parentf0f675be341d9797c214632167f54935fdc77d1b
API: Add "batchcomplete" to simplified continuation result

With the query-continue style of continuation, it's easy for the client
to know when a batch of pages from the generator is complete. The
simplified continuation should support this too, and without requiring
the client to parse the "continue" result property.

Change-Id: Ie407e2e27c017e8813143859cc58674553bc641b
RELEASE-NOTES-1.25
includes/api/ApiResult.php
tests/phpunit/includes/api/query/ApiQueryContinue2Test.php
tests/phpunit/includes/api/query/ApiQueryContinueTest.php