API: Fix simplified continuation module skipping
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 30 Oct 2014 17:30:45 +0000 (13:30 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 30 Oct 2014 17:32:49 +0000 (13:32 -0400)
commitc2e6bdfce71792b97d9eb76e4ffd9b83b1af71af
treeafd202272eea27884c6143cb939752eb930c0d66
parent36a423e46353b013e6f64c765d8de1eb9e3444f5
API: Fix simplified continuation module skipping

The simplified continuation includes a continuation parameter to
indicate when the prop/list/meta modules are complete, so it can skip
executing them.

But if someone submitted a malformed value for 'continue', it might
decide that the generator was complete but still try to uselessly
execute the prop modules.

Bug: 72764
Change-Id: I6af24e5d4f30e64782fb7dd1c2211ebdd4ec2317
includes/api/ApiQueryBase.php
includes/api/ApiResult.php