[Pywikipedia-bugs] [Maniphest] [Created] T197841: [REQUEST] Category.py listify -append

2018-06-20 Thread Wesalius
Wesalius created this task.Wesalius added a project: Pywikibot-category.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONRight now when using listify there is only an option to -overwrite the output page. It would be great if the script could append the the output to

[Pywikipedia-bugs] [Maniphest] [Commented On] T188231: listpages logging fails with UnicodeEncodeError

2018-06-20 Thread Mpaa
Mpaa added a comment. I suspect it might be imissing in the initialization of file_handler = RotatingFileHandler in bot.py (?) I have no windows pc so I can't test.TASK DETAILhttps://phabricator.wikimedia.org/T188231EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T188231: listpages logging fails with UnicodeEncodeError

2018-06-20 Thread valhallasw
valhallasw added a comment. @Xqt: could you add a breakpoint/print statement to File "C:\Program Files (x86)\Python36-32\lib\logging\__init__.py", line 994, in emit stream.write(msg) to figure out which stream this is going to? Is this the console or is it trying to log to a file? I'm

[Pywikipedia-bugs] [Maniphest] [Updated] T196875: category.py logging fails with UnicodeEncodeError for Python 3

2018-06-20 Thread Dalba
Dalba added a comment. This is very similar to T188231: listpages logging fails with UnicodeEncodeError, there is an encoding issue somewhere. Unfortunately, I cannot reproduce.TASK DETAILhttps://phabricator.wikimedia.org/T196875EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread gerritbot
gerritbot added a comment. Change 441200 had a related patch set uploaded (by Dvorapa; owner: Dvorapa): [pywikibot/core@master] [IMPR] Fix Portuguese file namespace translation in cc https://gerrit.wikimedia.org/r/441200TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dvorapa, gerritbotCc: gerritbot, Dvorapa, Cyberpower678, MarcoAurelio, Aklapper, Xqt, Legoktm, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Claimed] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread Dvorapa
Dvorapa raised the priority of this task from "Lowest" to "Low".Dvorapa claimed this task.Dvorapa moved this task from Backlog to Deactivated code on the Pywikibot-cosmetic-changes.py board. TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread gerritbot
gerritbot added a comment. Change 441180 abandoned by MarcoAurelio: [IMPR|WIP] cosmetic_changes: skip changing 'Imagem' links for pt.* wikis https://gerrit.wikimedia.org/r/441180TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread MarcoAurelio
MarcoAurelio removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: gerritbot, Dvorapa, Cyberpower678, MarcoAurelio, Aklapper, Xqt, Legoktm, jayvdb, Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread Dvorapa
Dvorapa added a comment. In T57242#4302051, @MarcoAurelio wrote: Maybe it'd be easier to just ignore the whole NS:6 for pt.* wikis? This is the current behavior of cosmetic_changes. This task basically waits to some file link file extension parsing in cc.TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread MarcoAurelio
MarcoAurelio added a comment. Maybe it'd be easier to just ignore the whole NS:6 for pt.* wikis?TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: gerritbot, Dvorapa, Cyberpower678, MarcoAurelio,

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread Dvorapa
Dvorapa added a comment. But only for these files: png, gif, jpg, jpeg, svg, tiff, tif For xcf, pdf, mid, ogg, ogv, djvu, oga the behavior should stay as before, just Arquivo shouldn't be changedTASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL

[Pywikipedia-bugs] [Maniphest] [Edited] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread Dvorapa
Dvorapa updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...* For other files (i.e. files with one of the following extensions: xcf, pdf, mid, ogg, ogv, djvu, oga):...TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Dvorapa, Cyberpower678, MarcoAurelio, Aklapper, Xqt, Legoktm, jayvdb, Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread gerritbot
gerritbot added a comment. Change 441180 had a related patch set uploaded (by MarcoAurelio; owner: MarcoAurelio): [pywikibot/core@master] [IMPR|WIP] cosmetic_changes: skip changing 'Imagem' links for pt.* wikis https://gerrit.wikimedia.org/r/441180TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread MarcoAurelio
MarcoAurelio added a comment. So to sum up you want cosmetic_changes not to change links containing Imagem.TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: Dvorapa, Cyberpower678, MarcoAurelio,

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread MarcoAurelio
MarcoAurelio added a comment. I was looking for translateAndCapitalizeNamespaces.py yet indeed it sounded like something for cosmetic_changes.py. Thanks.TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread Dvorapa
Dvorapa added a comment. cosmetic_changes? YesTASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Cyberpower678, MarcoAurelio, Aklapper, Xqt, Legoktm, jayvdb, Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Commented On] T57242: Fix translateAndCapitalizeNamespaces for Portuguese

2018-06-20 Thread MarcoAurelio
MarcoAurelio added a comment. @Xqt I cannot see this script in pywikibot-core. Does this still exist? Thanks.TASK DETAILhttps://phabricator.wikimedia.org/T57242EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: Cyberpower678, MarcoAurelio,