[Pywikipedia-bugs] [Maniphest] [Commented On] T130524: wikimedia_sites.py uses urlopen

2016-07-22 Thread MtDu
MtDu added a comment. Should be a simple fix. I'll work on it.TASK DETAILhttps://phabricator.wikimedia.org/T130524EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, MtDuCc: MtDu, pywikibot-bugs-list, Aklapper, jayvdb, Mdupont__

[Pywikipedia-bugs] [Maniphest] [Commented On] T130523: Convert imagecopy.py to requests

2016-07-22 Thread MtDu
MtDu added a comment. Porting this over to requests should be no problem. However, I don't think there is a replacement for the urlencode that is used on line 271. Is it ok to leave that urllib/urlencode usage?TASK DETAILhttps://phabricator.wikimedia.org/T130523EMAIL PREFERENCEShttps://phabricator.

[Pywikipedia-bugs] [Maniphest] [Commented On] T86461: patrol.py only accepts canonical names in the whitelist

2016-07-22 Thread MtDu
MtDu added a comment.Herald added a subscriber: TerraCodes. Just to understand the problem. Going back to the page Billinghurst linked, is the problem that not all of https://dpaste.de/ooOC#L2,7,12,17,22 highlighted lines are accepted? Is the only one that is accepted now L2? If so, does this just

[Pywikipedia-bugs] [Maniphest] [Commented On] T140989: NotImplementedWarning: parameters not being a mapping is deprecated.

2016-07-22 Thread Mpaa
Mpaa added a comment. Then I do not know, I cannot find exp = i18n.translate(site.code, template, int(string[:-1]))TASK DETAILhttps://phabricator.wikimedia.org/T140989EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: Mpaa, Xqt, jayvdb, Aklapper, MarcoAu

[Pywikipedia-bugs] [Maniphest] [Commented On] T140989: NotImplementedWarning: parameters not being a mapping is deprecated.

2016-07-22 Thread MarcoAurelio
MarcoAurelio added a comment. I have the same at L:1...@archivebot.py exp = i18n.translate(site.code, template, {'$1': int(string[:-1])}) pwb.py version gives the following output: F:\MWDEV\pwb>pwb.py version Pywikibot: pywikibot/__init__.py (70771dd, -1 (unknown), 2016/07/18, 20:20:42, n/a) Rel

[Pywikipedia-bugs] [Maniphest] [Commented On] T141024: Add Phabricator tasks to comments for buggy cosmetic changes

2016-07-22 Thread Dvorapa
Dvorapa added a comment. On Czech Wikipedia these three commented functions are the most important.TASK DETAILhttps://phabricator.wikimedia.org/T141024EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Aklapper, pywikibot-bugs-list, Dvorapa