Page MenuHomePhabricator

Allow generators like recentchanges to supply a "continuation" for when the generator doesn't actually need continuing
Closed, ResolvedPublic

Description

In its default mode, generator=recentchanges starts with the most recent changes on the wiki. If a prop module needs continuation and the wiki is active, when the client tries to continue generator=recentchanges will generate a different set of changes than it did the first time.

The solution is to allow generators to specify a second "start at" continuation value for use when the generator itself isn't being continued yet. This would be used directly by the default continuation method; what rawcontinue does with it is an open question.

Event Timeline

Change 312076 had a related patch set uploaded (by Anomie):
API: Add generator non-continuation data

https://gerrit.wikimedia.org/r/312076

Change 312076 merged by jenkins-bot:
API: Add generator non-continuation data

https://gerrit.wikimedia.org/r/312076

Change 315509 had a related patch set uploaded (by Tobias Gritschacher):
Refactor tooltips browsertests

https://gerrit.wikimedia.org/r/315509