https://bugzilla.wikimedia.org/show_bug.cgi?id=65760

            Bug ID: 65760
           Summary: site.editpage may have Parameter 'md5'
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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())
# FIXME: API gives 'badmd5' error
#        md5hash = md5()
#        md5hash.update(urllib.quote_plus(text.encode(self.encoding())))
#        params['md5'] = md5hash.digest()
        req = api.Request(site=self, **params)
        while True:

FIXME Introduced by:
Revision: 5c9752a1916ef062dde7f7f0b1f6cff51f482aa8
Author: Russell Blau <[email protected]>
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to