https://bugzilla.wikimedia.org/show_bug.cgi?id=54573
Web browser: --- Bug ID: 54573 Summary: rvdiffto parameter implementation Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/447/ Reported by: Anonymous user Created on: 2010-05-27 03:19:29 Subject: rvdiffto parameter implementation Original description: No revisions diff text loading function is implemented in the framework. Here is one:
Changelog: Modified site.loadrevisions() method to support rvdiffto parameter. Added a Page.Revision.Diff class for storing the diff text and revto id. Modified api.update_page() to save the new diff information.
A method from Page.py is still missing to get diffs just like you get a revision now. But you can get the diff text from page._revision[id].diff.text directly for now.