Thread:Talk:Requests for comment/API Future/Why should all modules use "continue"?/reply (6)

If a module sometimes returns "start" as its continue and sometimes returns something else when the only difference is the value of "start", then IMO it's broken. It should be returning both "start" and "somethingelse" every time in that case.

On the other hand, if the module wants to return "start" or "somethingelse" depending on what's passed for "titles" or "dir" or something, there's no risk of confusion there.

As for random, it can't really work as a generator anyway. Even if we add some way for it to almost work, what happens when there are multiple pages with the same random value? Say A and B both have page_random = 0.19361839. If we ask the database, there's no guarantee that we'll get the same page each time. Even if MySQL will return the same one each time (as it probably will with InnoDB and its clustered indexes), it's not guaranteed by SQL.