I am migrating our documents from other system to DokuWiki.
Following are the steps I have taken
1. Copy the 1st revision of a particular page and put it into DokuWiki by xmlrpc's putPage api.
2. Copy the 2st revision of a particular page and put it into DokuWiki by xmlrpc's putPage api on the same namespace.
3. Copy the nth(latest) revision of a particular page and put it into DokuWiki by xmlrpc's putPage api on the same namespace.
When I look at page's revisions in DokuWiki, count of revisions is correct but all revisions have the same content, ie content of latest revision.
But when I put thread to sleep for 1 second after invoking putPage api, it works perfectly.
Problem is I have lots of pages with lots of revision so I can't afford put 1 sec pause in between.
Any suggestions on this ?
PS: I am using
https://github.com/gturri/dokuJClient Java client to upload pages to DokuWiki.