Revision: 5547 Author: rotem Date: 2008-06-10 09:54:50 +0000 (Tue, 10 Jun 2008)
Log Message: ----------- Removing the revision ID from the comment for now, per discussion in bug 1988912.
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-06-10 09:26:21 UTC (rev 5546) +++ trunk/pywikipedia/wikipedia.py 2008-06-10 09:54:50 UTC (rev 5547) @@ -1232,8 +1232,7 @@ self.get(force = True, change_edit_time = False) self._editrestriction = False # If no comment is given for the change, use the default - comment = comment or action - comment = comment + ' [r' + version.getversiondict()['rev'] + ']' + comment = comment or action if config.cosmetic_changes and not self.isTalkPage(): old = newtext if not config.cosmetic_changes_mylang_only or (self.site().family.name == config.family and self.site().lang == config.mylang):