Re: [Xmldatadumps-l] Ordering of revisions

2020-01-17 Thread John
Normal editing won’t cause issues. But a delete /move/restore history merge can cause things to look out of order if you are using child/parent On Fri, Jan 17, 2020 at 8:52 PM Christopher Wolfram wrote: > Thanks Ariel. > > So the revisions are in order of revision id which are assigned > sequent

Re: [Xmldatadumps-l] Ordering of revisions

2020-01-17 Thread Christopher Wolfram
Thanks Ariel. So the revisions are in order of revision id which are assigned sequentially, which means that the revisions are in chronological order. Are there situations, however, where the parent id gives a history that isn’t chronological? That is, is there a continuous chain of edits from

Re: [Xmldatadumps-l] Ordering of revisions

2020-01-17 Thread Ariel Glenn WMF
The queries to get page and revision metadata are ordered by page id, and within each page, by revision id. This is guaranteed. The behavior of rev_parent_id is not guaranteed however, in certain edge cases. See e.g. https://phabricator.wikimedia.org/T193211 Anyone who uses this field care to weig

[Xmldatadumps-l] Ordering of revisions

2020-01-17 Thread Christopher Wolfram
Hi, Perhaps there is documentation about this, but I have looked for the past hour and haven’t found anything. I was wondering if it is guaranteed that all revisions given in the enwiki-latest-pages-meta-history files are in order of parent->child->grandchild->… In a few examples, it looks lik