API: Refactor continuation code and add to purge, watch, etc.
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 7 Feb 2014 01:52:58 +0000 (20:52 -0500)
committerYuri Astrakhan <yurik@wikimedia.org>
Fri, 4 Jul 2014 19:48:35 +0000 (15:48 -0400)
commit1e7ea938da0cdaf12de73a39441073ec0e9db1af
treebbb7d11ec2ce7cbdf81ab65858fb632bb7256082
parenta7de863d3aeebee0a7073fb044c567fee8b774a1
API: Refactor continuation code and add to purge, watch, etc.

While generator support was added to various actions, the continuation
parameters from the generators weren't being returned to the client.

This patch refactors the code for handling continuation out of ApiQuery
and into ApiResult, and then uses it in the other actions that need it.

Bug: 60734
Change-Id: I1a6e51cdc964ddcdd69aaa2f735223371233e8af
RELEASE-NOTES-1.24
includes/api/ApiImageRotate.php
includes/api/ApiPurge.php
includes/api/ApiQuery.php
includes/api/ApiQueryBase.php
includes/api/ApiResult.php
includes/api/ApiSetNotificationTimestamp.php
includes/api/ApiWatch.php