What about revisions that share the same timestamp? Are they sorted first by timestamp and then by rev_id?
On Sat, Apr 25, 2015 at 7:30 AM, Brad Jorsch (Anomie) <bjorsch@wikimedia.org
wrote:
prop=revisions has long ordered revisions by rev_id rather than timestamp when returning results for a single page. In most cases this doesn't make a difference, but for old pages imported from earlier versions of Wikipedia, for revisions imported from Special:Import, and so on these orderings don't always match.
prop=revisions has now been updated[1] to order by timestamp rather than id. While this is technically a breaking change, it seems unlikely that any clients will actually be broken by this.
This should be deployed to WMF wikis with 1.26wmf4, see https://www.mediawiki.org/wiki/MediaWiki_1.26/Roadmap for the schedule.
-- Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation
Mediawiki-api-announce mailing list Mediawiki-api-announce@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce