API: Have generator=random set a non-continuation value
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 6 Jun 2017 14:15:49 +0000 (10:15 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 6 Jun 2017 14:15:49 +0000 (10:15 -0400)
commit4eb3d542ce0e165c67001cccb3850ec655677c84
tree1fbe78616a19c1ce51b020a0559011324afed5f8
parentb87a4fba8a27fc1c683a01560c6d932acfd07ce6
API: Have generator=random set a non-continuation value

When used as a generator, it needs a non-continuation value for
continuation to work properly. As a list it doesn't matter because lists
never non-continue.

Bug: T167141
Change-Id: I7b8ddaf73f918b31414e22fc3a13e6245c2d57d7
includes/api/ApiQueryRandom.php