Does anyone know the importance (if any) for the <id>value</id> in XML files imported into Mediawiki?
There's one under both <page> and <revision>. Since Mediawiki uses the timestamp to pick which version of the page to use after the import, does the <id>value</id> have any effect? In my tests it didn't seem to. I just want to make sure before I do a large import of new pages. Since these pages are new, they have no previous <id> other than what I set.
-Jeff
Jeff Lane wrote:
Does anyone know the importance (if any) for the <id>value</id> in XML files imported into Mediawiki?
The page's id is the page_id, the revision's id is the rev_id.
importDump.php does not preserve these; it's meant for importing pages into an existing wiki.
mwdumper does; it's meant for reproducing a complete wiki.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org