matmarex closed this task as "Invalid".
matmarex added a comment.
I can't reproduce this either. VisualEditor uses `#REDIRECT` for the
redirects created in it. Here's an example page I was able to find on
Special:RecentChanges:
https://zh-yue.wikipedia.org/w/index.ph
matmarex closed subtask T57460: No reliable way to detect when an API edit is disallowed by the abuse filter as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T85656EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matmarexCc: zeddmaxx,
matmarex added a comment.
(I am not very familiar with Pywikibot and I don't think I can help here.)TASK DETAILhttps://phabricator.wikimedia.org/T142021EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matmarexCc: Milimetric, Dvorapa, Herzi.Pinki,
matmarex added a project: Pywikibot-replace.py.Herald added a subscriber: pywikibot-bugs-list.
TASK DETAILhttps://phabricator.wikimedia.org/T171512EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matmarexCc: pywikibot-bugs-list, Reedy, Zoranzoki21
matmarex added subscribers: Multichill, MarkTraceur, Avicennasis.matmarex merged a task: T133444: Occasional Unexpected offset warnings with one byte off in Pywikibot.
TASK DETAILhttps://phabricator.wikimedia.org/T132676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel
matmarex closed this task as a duplicate of T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot.
TASK DETAILhttps://phabricator.wikimedia.org/T133444EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matmarexCc: M
matmarex removed a project: Multimedia.
TASK DETAILhttps://phabricator.wikimedia.org/T132676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matmarexCc: Liuxinyu970226, pywikibot-bugs-list, Matanya, matmarex, czar, Aklapper, Steinsplitter, zhuyifei1999, Magul
matmarex removed projects: Multimedia, MediaWiki-Uploading.
TASK DETAILhttps://phabricator.wikimedia.org/T133444EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matmarexCc: MarkTraceur, zhuyifei1999, Matanya, matmarex, Aklapper, Steinsplitter, Avicennasis
matmarex added a comment.
Herald added a subscriber: Matanya.
I bet this is the same issue as https://phabricator.wikimedia.org/T132676.
Check and you'll see that the problematic chunks you're sending end with the
'\r' (CR) byte.
TASK DETAIL
https://phabricator.w
matmarex added a comment.
> Base64 encode file contents - This would mean an increase in the bytes that
are transferred for each upload, so users might feel a longer upload time.
Since this is only a problem for files/chunks ending with '\r', I think it'd
be a reason
matmarex changed the title from "Uploading 125164628-byte file using 4MiB
chunked uploading results in unexpected offset on final chunk (1 byte less than
file size) then chunk-too-small error" to "Impossible to upload a file that
ends with the '\r' byte using Pywikib
matmarex added a comment.
Oooh, wait. I'm pretty sure that according to the spec, the request body
should be using \r\n (CRLF) for line breaks, not just \n (LF). I guess the
server is permissive and accepts it anyway, and in this case it can't tell that
the '\r' wasn
matmarex added a comment.
It could potentially be a WMF severs' misconfiguration, too.
The log you pasted above seems to have it handled correctly:
Content-disposition: form-data; name="chunk";
filename="FAKE-NAME"\nContent-Transfer-Encoding: binary\
matmarex reopened this task as "Open".
TASK DETAIL
https://phabricator.wikimedia.org/T126192
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: matmarex
Cc: Ladsgroup, Legoktm, valhallasw, russblau, Aklapper, Xqt, pywikibot
matmarex added subscribers: matmarex, Anomie.
TASK DETAIL
https://phabricator.wikimedia.org/T112416
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: matmarex
Cc: Anomie, matmarex, jayvdb, Matanya, Tgr, Aklapper, Steinsplitter,
pywikibot-bugs-list
matmarex removed a blocked task: T40638: Interface messages needing rewording
or documentation and other issues with existing messages (tracking).
TASK DETAIL
https://phabricator.wikimedia.org/T101647
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To
matmarex edited projects, added pywikibot-core; removed MediaWiki-Uploading,
Multimedia.
matmarex set Security to None.
Herald added a subscriber: pywikibot-bugs-list.
TASK DETAIL
https://phabricator.wikimedia.org/T101647
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
17 matches
Mail list logo