Out of curiosity, I'm analyzing a Wikifunctions XML dump. (The code, if anyone wants to see it.)
I use the mwxml Python library for it. I've noticed a slightly strange thing: most of the time, page creation revisions have a parent_id value of None, but several hundreds of them have a parent_id value of 0 (int).
I'd expect it to be consistently 0, as in the database, or maybe consistently None, but not a mix.