Page MenuHomePhabricator

Make it easier to get incremental revision data via API
Closed, DeclinedPublic

Description

People want to get incremental updates of wiki content. It seems that the easiest way to do this would be to leave off pulling content at one rc_id or rv_id and then resume later. However, the way it is set up, you have to do a separate API query for each page. So, I propose that one of the following be implemented:
*list=recentchanges should have an rcprop=content option
*prop=revisions should work without titles being set

See https://www.mediawiki.org/wiki/MediaWikiAnalysis


Version: 1.23.0
Severity: enhancement

Details

Reference
bz56848

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:25 AM
bzimport set Reference to bz56848.
bzimport added a subscriber: Unknown Object (MLST).
  • list=recentchanges should have an rcprop=content option

Let's not. list=recentchanges is complex enough already without worrying about the details required to fetch content too. Particularly since fetching content is going to get rather more complicated soon, see T107595: [RFC] Multi-Content Revisions.

  • prop=revisions should work without titles being set

list=allrevisions was added in 1.27, see T113885: Create list=allrevisions module.