Revision: 3981 Author: wikipedian Date: 2007-08-06 23:28:45 +0000 (Mon, 06 Aug 2007)
Log Message: ----------- bugfix for getFileVersionHistoryTable()
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-08-06 21:27:56 UTC (rev 3980) +++ trunk/pywikipedia/wikipedia.py 2007-08-06 23:28:45 UTC (rev 3981) @@ -2125,8 +2125,8 @@ def getFileVersionHistoryTable(self): lines = [] for (datetime, username, resolution, size, comment) in self.getFileVersionHistory(): - lines.append('%s || %s || %s || %s || <nowiki>%s</nowiki>' % (datetime, username, resolution, size, comment)) - return u'{| border="1"\n! date/time || username || resolution || size || edit summary\n|----\n| ' + u'\n|----\n'.join(lines) + '\n|}' + lines.append('| %s || %s || %s || %s || <nowiki>%s</nowiki>' % (datetime, username, resolution, size, comment)) + return u'{| border="1"\n! date/time || username || resolution || size || edit summary\n|----\n' + u'\n|----\n'.join(lines) + '\n|}'
def usingPages(self): result = []
pywikipedia-l@lists.wikimedia.org