Revision: 6937 Author: erwin85 Date: 2009-06-04 20:13:15 +0000 (Thu, 04 Jun 2009)
Log Message: ----------- getVersionHistory: "go=first" doesn't seem to do anything. Replaced with "dir=prev".
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-06-03 13:45:50 UTC (rev 6936) +++ trunk/pywikipedia/wikipedia.py 2009-06-04 20:13:15 UTC (rev 6937) @@ -2060,10 +2060,7 @@ path = site.family.version_history_address(self.site().language(), self.urlname(), revCount)
if reverseOrder: - if len(self._versionhistoryearliest) >= revCount: - path += '&dir=prev' - else: - path += '&go=first' + path += '&dir=prev'
if startFromPage: path += '&offset=' + startFromPage
pywikipedia-svn@lists.wikimedia.org