Revision: 8377 Author: russblau Date: 2010-08-04 14:09:11 +0000 (Wed, 04 Aug 2010)
Log Message: ----------- Apply patch #3036375: page.fullVersionHistory does not return a value
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2010-08-04 14:02:17 UTC (rev 8376) +++ branches/rewrite/pywikibot/page.py 2010-08-04 14:09:11 UTC (rev 8377) @@ -1011,9 +1011,16 @@ edit date/time, user name and content
""" - return self.site.loadrevisions(self, getText=True, - rvdir=reverseOrder, - step=step, total=total) + self.site.loadrevisions(self, getText=True, + rvdir=reverseOrder, + step=step, total=total) + return [( self._revisions[rev].revid, + self._revisions[rev].timestamp, + self._revisions[rev].user, + self._revisions[rev].text + ) for rev in sorted(self._revisions, + reverse=not reverseOrder) + ]
def contributingUsers(self, step=None, total=None): """Return a set of usernames (or IPs) of users who edited this page.