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 weigh in?
Ariel
On Fri, Jan 17, 2020 at 10:52 AM Christopher Wolfram <
chriscwolfram(a)gmail.com> wrote:
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 like they follow
this pattern. I ask because I need them in order and it would be nice if I
didn’t have to do that with the <parentid> field.
Thank you,
Christopher
_______________________________________________
Xmldatadumps-l mailing list
Xmldatadumps-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/xmldatadumps-l