jayvdb created this task.
jayvdb added subscribers: jayvdb, valhallasw, pywikipedia-bugs, Ladsgroup.
jayvdb added a project: pywikibot-core.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
A pure python version of mwparserfromhell should be added to the nightly tarballs, so it can become a mandatory dependency.
TASK DETAIL
https://phabricator.wikimedia.org/T88069
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Ladsgroup, valhallasw, jayvdb, Aklapper, pywikipedia-bugs
Ladsgroup created this task.
Ladsgroup claimed this task.
Ladsgroup added a subscriber: Ladsgroup.
Ladsgroup added a project: Pywikibot-Other-scripts.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
See: T70153#1308057
...
Loading [[Template:Auto images]]...
The page is editable for all, deleting the template...
...
It shouldn't do that.
TASK DETAIL
https://phabricator.wikimedia.org/T100887
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ladsgroup
Cc: pywikipedia-bugs, Aklapper, Ladsgroup
Ladsgroup added a comment.
Sorry for not making the notice in the mailing lists, I was traveling for a while, I reached my final destination five hours ago.
Anyway, I made the notice. Thank you
TASK DETAIL
https://phabricator.wikimedia.org/T100707
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: RobH, Ladsgroup
Cc: zhuyifei1999, gerritbot, valhallasw, Multichill, Ladsgroup, Aklapper, JohnLewis, RobH, jayvdb, Jalexander, mark, faidon, fgiunchedi, Dzahn, chasemp, pywikipedia-bugs
zhuyifei1999 created this task.
zhuyifei1999 added subscribers: zhuyifei1999, XZise.
zhuyifei1999 added projects: pywikibot-core, Pywikibot-General.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
On an upload of "File:Scanwings, OH-BCX, Beechcraft C90 King Air (17512831479).jpg" to Commons:
Using HEAD, upload fail with a loophole of
```
ERROR: Traceback (most recent call last):
File "/data/project/yifeibot/pywikibot/pywikibot/data/api.py", line 1555, in submit
body=body, headers=headers)
File "/data/project/yifeibot/pywikibot/pywikibot/tools/__init__.py", line 950, in wrapper
return obj(*__args, **__kw)
File "/data/project/yifeibot/pywikibot/pywikibot/comms/http.py", line 269, in request
r = fetch(baseuri, method, body, headers, **kwargs)
File "/data/project/yifeibot/pywikibot/pywikibot/comms/http.py", line 370, in fetch
error_handling_callback(request)
File "/data/project/yifeibot/pywikibot/pywikibot/comms/http.py", line 287, in error_handling_callback
raise request.data
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 1872: ordinal not in range(128)
WARNING: Waiting 5 seconds before retrying.
```
After debugging, I found all versions after 1e54a7d6886d56a21101900025038e25bab5ad03 has the same error, while version before raises an (expected) exception that is handled in botscript:
```
KeyError: u'bad-prefix'
```
(raised in https://github.com/wikimedia/mediawiki/blob/84899f991ff44f36b7359f0bbf8de29…)
I agree that some errors should be prevented from uploading. But why is there a UnicodeDecodeError leading to a loophole?
TASK DETAIL
https://phabricator.wikimedia.org/T99366
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: zhuyifei1999
Cc: XZise, Aklapper, zhuyifei1999, jayvdb, pywikipedia-bugs