Page MenuHomePhabricator

site.editpage may have Parameter 'md5'
Closed, DeclinedPublic

Description

This is the FIXME I removed from code at line 2690 in site.py:

elif watch:
    pywikibot.warning(
        u"editpage: Invalid watch value '%(watch)s' ignored."
        % locals())
  1. FIXME: API gives 'badmd5' error
  2. md5hash = md5()
  3. md5hash.update(urllib.quote_plus(text.encode(self.encoding())))
  4. params['md5'] = md5hash.digest() req = api.Request(site=self, **params) while True:

FIXME Introduced by:
Revision: 5c9752a1916ef062dde7f7f0b1f6cff51f482aa8
Author: Russell Blau <russblau@users.mediawiki.org>
Date: 16.12.2008 20:40:20
Message:
update properties

https://mediawiki.org/wiki/Special:Code/pywikipedia/6156

I am unsure whether is can be omitted


Version: core-(2.0)
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=73024

Details

Reference
bz65760