Roan Kattouw wrote: > Platonides schreef: >> Paolo Liberatore wrote: >> >>> You can save some bandwidth (on large pages) by adding action=render >>> to a regular diff url, like this: >>> >>> http://en.wikipedia.org/w/index.php?action=render&title=Wikipedia:Administrators%27_noticeboard/Incidents&curid=5137507&diff=173915845&oldid=173911577 >>> >> Even better, you can get only the diff: >> http://en.wikipedia.org/w/index.php?action=render&title=Wikipedia:Administrators%27_noticeboard/Incidents&curid=5137507&diff=173915845&oldid=173911577&diffonly=1 >> > Both URLs give you an HTML-formatted diff. I discovered some plain diff > generation code hiding in a dark corner, which will output diffs like:
The second one won't give you the page. You can get the diffs in a plain format by removing every tag and unescaping. Taking into account at removing the class names is also helpful. _______________________________________________ Mediawiki-api mailing list [email protected] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
