Revision: 4717 Author: rotem Date: 2007-12-15 18:25:58 +0000 (Sat, 15 Dec 2007)
Log Message: ----------- More concrete messages on deletion.
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-12-15 18:24:03 UTC (rev 4716) +++ trunk/pywikipedia/wikipedia.py 2007-12-15 18:25:58 UTC (rev 4717) @@ -1911,10 +1911,10 @@ response, data = self.site().postForm(address, predata, sysop = True) if data: if self.site().mediawiki_message('actioncomplete') in data: - output(u'Deletion successful.') + output(u'Deleted page %s' % self.aslink()) return True else: - output(u'Deletion failed:.') + output(u'Deletion of page %s failed:' % self.aslink()) try: ibegin = data.index('<!-- start content -->') + 22 iend = data.index('<!-- end content -->')
pywikipedia-l@lists.wikimedia.org