Thanks! This is far more elegant than my php script that calls the api but uses the same parameters so I assume it's going to return the same xml format.
It just seems so strange that using the API and using special:export (which is also what the full xml dumps look like) return two different xml structures. I figured there was some obvious fix that I was missing. :)
-Andrea
On Fri, Jul 15, 2011 at 6:24 AM, fox fox91@anche.no wrote:
Il 14/07/2011 18:58, Andrea Forte ha scritto:
I'm trying to download the complete revision history for just a few pages.
I wrote a script that does exactly that but with api.php https://github.com/volpino/wiki-network/blob/master/download_page.py
It's part of wiki-network so you have to download the whole package because of deps (unless you slightly modify it). It's python and it's really simple. Note: we needed the diff between revisions and a cleaning from templates and similar stuff so that script does that, you should edit lines around 50.
-- f.
"I didn't try, I succeeded" (Dr. Sheldon Cooper, PhD)
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments