[Pywikipedia-bugs] [Maniphest] [Commented On] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread Anomie
Anomie added a comment. In T132676#6575067 , @Mpaa wrote: > @Anomie is base64 encode supported by api action=upload? Not in itself, but you can use MIME's Content-Transfer-Encoding to encode the data as base64 rather than binary.

[Pywikipedia-bugs] [Maniphest] [Closed] T266413: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years

2020-10-25 Thread Xqt
Xqt closed this task as "Resolved". Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T266413 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Rubin16, Aklapper, pywikibot-bugs-list, Xqt, JohnsonLee01, SHEKH, Dijkstra, Khutu

[Pywikipedia-bugs] [Maniphest] [Updated] T266413: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years

2020-10-25 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T266413 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Rubin16, Aklapper, pywikibot-bugs-list, Xqt, JohnsonLee01, SHEKH, Dijkstra,

[Pywikipedia-bugs] [Maniphest] [Commented On] T266413: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years

2020-10-25 Thread gerritbot
gerritbot added a comment. Change 636200 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] Use wikidata item instead of dropped MediaWiki message https://gerrit.wikimedia.org/r/636200 TASK DETAIL https://phabricator.wikimedia.org/T266413 EMAIL PREFERENCES https://phabric

[Pywikipedia-bugs] [Maniphest] [Commented On] T266413: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years

2020-10-25 Thread gerritbot
gerritbot added a comment. Change 636200 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] Use wikidata item instead of dropped MediaWiki message https://gerrit.wikimedia.org/r/636200 TASK DETAIL https://phabricator.wikimedia.org/T266413 EMAIL P

[Pywikipedia-bugs] [Maniphest] [Updated] T266413: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years

2020-10-25 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T266413 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Aklapper, pywikibot-bugs-list, Xqt, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978

[Pywikipedia-bugs] [Maniphest] [Triaged] T266413: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years

2020-10-25 Thread Xqt
Xqt triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T266413 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, We

[Pywikipedia-bugs] [Maniphest] [Created] T266413: noreferences.py: "cite_error_refs_without_references_category" has been dropped for 6 years

2020-10-25 Thread Xqt
Xqt created this task. Xqt added a project: Pywikibot-Scripts. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION MediaWiki:cite_error_refs_without_references_category is no longer supported TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T266117: Frequent chunk-too-small errors

2020-10-25 Thread Mpaa
Mpaa closed this task as a duplicate of T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T266117 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: AntiCompositeNum

[Pywikipedia-bugs] [Maniphest] [Merged] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread Mpaa
Mpaa merged a task: T266117: Frequent chunk-too-small errors. Mpaa added a subscriber: AntiCompositeNumber. TASK DETAIL https://phabricator.wikimedia.org/T132676 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: AntiCompositeNumber, Fae, Mpaa,

[Pywikipedia-bugs] [Maniphest] [Commented On] T98700: noreferences must recognize footnote groups

2020-10-25 Thread Xqt
Xqt added a comment. In T98700#6576765 , @Rubin16 wrote: > @Xqt how are things going here, if you please? > > I have posted T55936 a long time ago and it seems to be connected: the issue move

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T55936: reflinks.py work with ref group

2020-10-25 Thread Xqt
Xqt raised the priority of this task from "Lowest" to "Medium". TASK DETAIL https://phabricator.wikimedia.org/T55936 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Ladsgroup, Cyberpower678, Masti, Aklapper, Legoktm, jayvdb, pywikibot-bugs-li

[Pywikipedia-bugs] [Maniphest] [Edited] T55936: reflinks.py work with ref group

2020-10-25 Thread Xqt
Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T55936 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Ladsgroup, Cyberpower678, Masti, Aklapper, Legoktm, jayvdb, pywikibot-bugs-list, Rubin16, JohnsonLee01, SHE

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread Xqt
Xqt lowered the priority of this task from "High" to "Low". TASK DETAIL https://phabricator.wikimedia.org/T132676 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Fae, Mpaa, Anomie, Avicennasis, MarkTraceur, Multichill, Liuxinyu970226, pywikib

[Pywikipedia-bugs] [Maniphest] [Updated] T98700: noreferences must recognize footnote groups

2020-10-25 Thread Rubin16
Rubin16 added a comment. @Xqt how are things going here, if you please? I have posted T55936 a long time ago and it seems to be connected: the issue moved from compat to core, unfortunately. Do I need to post a separate bug for core? Or, at

[Pywikipedia-bugs] [Maniphest] [Created] T266411: reflinks.py work with duplicate references

2020-10-25 Thread Rubin16
Rubin16 created this task. Rubin16 added projects: Pywikibot, Pywikibot-Scripts. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Example of the diff is here

[Pywikipedia-bugs] [Maniphest] [Triaged] T266411: reflinks.py work with duplicate references

2020-10-25 Thread Rubin16
Rubin16 triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T266411 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Rubin16 Cc: Aklapper, pywikibot-bugs-list, Rubin16, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, V

[Pywikipedia-bugs] [Maniphest] [Updated] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T132676 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Fae, Mpaa, Anomie, Avicennasis, MarkTraceur, Multichill, Liuxinyu970226, py

[Pywikipedia-bugs] [Maniphest] [Updated] T266117: Frequent chunk-too-small errors

2020-10-25 Thread Fae
Fae added a comment. > I think a better workaround, if it works, is to use source_url in site.upload(). > It delegates to API the task of fetching the file. If it works, the file is hopefully the original. > See https://en.wikisource.org/w/api.php?action=help&modules=upload That can

[Pywikipedia-bugs] [Maniphest] [Commented On] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread gerritbot
gerritbot added a comment. Change 636164 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] upload a file that ends with the '\r' byte https://gerrit.wikimedia.org/r/636164 TASK DETAIL https://phabricator.wikimedia.org/T132676 EMAIL PREFERENCES https://phabricator.wikimedi

[Pywikipedia-bugs] [Maniphest] [Commented On] T266117: Frequent chunk-too-small errors

2020-10-25 Thread Mpaa
Mpaa added a comment. In T266117#6576230 , @Fae wrote: > As my 'personal' work-around, just for UK legislation PDFs that the API flags with chunk-too-small and fails on a second upload, the pdf is trimmed of the final byte and re-attemp

[Pywikipedia-bugs] [Maniphest] [Commented On] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread Mpaa
Mpaa added a comment. @Fae, strange, it worked for me, I tried this file and the byte was added. https://commons.wikimedia.org/w/index.php?title=File%3ABritish_Transport_Commission_Act_1949_%28UKLA_1949-29%29.pdf&type=revision&diff=500900036&oldid=500838588 site = pywikibot.Site('comm

[Pywikipedia-bugs] [Maniphest] [Commented On] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread Fae
Fae added a comment. In T132676#6576561 , @gerritbot wrote: > Change 636164 had a related patch set uploaded (by Mpaa; owner: Mpaa): > [pywikibot/core@master] [bugfix] upload a file that ends with the '\r' byte > > https://gerrit.wi

[Pywikipedia-bugs] [Maniphest] [Commented On] T266117: Frequent chunk-too-small errors

2020-10-25 Thread Mpaa
Mpaa added a comment. @Fae, I proposed a fix/hack at T132676 . TASK DETAIL https://phabricator.wikimedia.org/T266117 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa Cc: AntiCompositeNumber, Mpaa, z

[Pywikipedia-bugs] [Maniphest] [Updated] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T132676 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Mpaa, Anomie, Avicennasis, MarkTraceur, Multichill, Liuxinyu970226, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot

2020-10-25 Thread gerritbot
gerritbot added a comment. Change 636164 had a related patch set uploaded (by Mpaa; owner: Mpaa): [pywikibot/core@master] [bugfix] upload a file that ends with the '\r' byte https://gerrit.wikimedia.org/r/636164 TASK DETAIL https://phabricator.wikimedia.org/T132676 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T266117: Frequent chunk-too-small errors

2020-10-25 Thread Fae
Fae added a comment. In T266117#6576394 , @AntiCompositeNumber wrote: > Could not reproduce. Please provide at least the following information: > - Operating system Ubuntu Release 18.04.5 LTS (Bionic Beaver) 64-bit >