[Pywikipedia-bugs] [Maniphest] [Commented On] T261061: Either enable captcha for not autoconfirmed user or show an error message other than a "KeyError: 'messagecode'"

2021-12-19 Thread WolfgangFahl
WolfgangFahl added a comment. @Xqt - you are right might have been 6.0.1 - I'll watch the situation. Currently py-3rdparty-mediawiki uses semantic depencency: # MediaWiki bot package # https://pypi.org/project/pywikibot/ # https://www.mediawiki.org/wiki/Manual:Pywikibot pywi

[Pywikipedia-bugs] [Maniphest] [Commented On] T297994: pywikibot should not retry if that doesn't make sense

2021-12-19 Thread WolfgangFahl
WolfgangFahl added a comment. **Do you have a sample for investigation? It turned out that i had set the scriptpath to "/" where an empty scriptpath was expected. I think even that this used to work in the past. The workaround was to set the scriptpath to "" again. TASK DETAIL https://ph

[Pywikipedia-bugs] [Maniphest] [Closed] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Vizt

[Pywikipedia-bugs] [Maniphest] [Updated] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Maintenance_bot Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikipedia-bugs] [Maniphest] [Commented On] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread gerritbot
gerritbot added a comment. Change 748371 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] Change regex to detect meta information https://gerrit.wikimedia.org/r/748371 TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedi

[Pywikipedia-bugs] [Maniphest] [Updated] T297994: pywikibot should not retry if that doesn't make sense

2021-12-19 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T297994 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Xqt, pywikibot-bugs-list, Aklapper, WolfgangFahl, 786, Suran38, Biggs657, Lalamarie6

[Pywikipedia-bugs] [Maniphest] [Commented On] T297994: pywikibot should not retry if that doesn't make sense

2021-12-19 Thread gerritbot
gerritbot added a comment. Change 748375 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] raise urllib3 NewConnectionError immediately https://gerrit.wikimedia.org/r/748375 TASK DETAIL https://phabricator.wikimedia.org/T297994 EMAIL PREFERENCE

[Pywikipedia-bugs] [Maniphest] [Claimed] T297994: pywikibot should not retry if that doesn't make sense

2021-12-19 Thread Xqt
Xqt claimed this task. Xqt triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T297994 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, pywikibot-bugs-list, Aklapper, WolfgangFahl, Jyoo1011, JohnsonLee01,

[Pywikipedia-bugs] [Maniphest] [Commented On] T283808: pywikibot.output seems not to use either sys.stdout nor sys.stderr

2021-12-19 Thread maynorc
maynorc added a comment. @Xqt, that is very interesting. I checked out both my commit, and the commit before your revert, and see this when performing your command above, which has all of the coloring and the correct printing F34889680: image.png

[Pywikipedia-bugs] [Maniphest] [Updated] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Aklapper, pywikibot-bugs-list, Rubin16, 786, Suran38, Biggs657, Lalamarie69, Jyoo101

[Pywikipedia-bugs] [Maniphest] [Commented On] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread gerritbot
gerritbot added a comment. Change 748371 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [bugfix] Change regex to detect meta information https://gerrit.wikimedia.org/r/748371 TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T283808: pywikibot.output seems not to use either sys.stdout nor sys.stderr

2021-12-19 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T283808 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: maynorc, Maintenance_bot Cc: valhallasw, Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLe

[Pywikipedia-bugs] [Maniphest] [Commented On] T283808: pywikibot.output seems not to use either sys.stdout nor sys.stderr

2021-12-19 Thread gerritbot
gerritbot added a comment. Change 748274 **merged** by jenkins-bot: [pywikibot/core@master] Revert \"logging: Fix redirection for terminal interfaces\" https://gerrit.wikimedia.org/r/748274 TASK DETAIL https://phabricator.wikimedia.org/T283808 EMAIL PREFERENCES https://phabrica

[Pywikipedia-bugs] [Maniphest] [Updated] T283808: pywikibot.output seems not to use either sys.stdout nor sys.stderr

2021-12-19 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T283808 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: maynorc, gerritbot Cc: valhallasw, Aklapper, Xqt, pywikibot-bugs-list, 786, Suran38, Biggs657, Lalamari

[Pywikipedia-bugs] [Maniphest] [Commented On] T283808: pywikibot.output seems not to use either sys.stdout nor sys.stderr

2021-12-19 Thread gerritbot
gerritbot added a comment. Change 748274 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] Revert \"logging: Fix redirection for terminal interfaces\" https://gerrit.wikimedia.org/r/748274 TASK DETAIL https://phabricator.wikimedia.org/T283808 EMAIL P

[Pywikipedia-bugs] [Maniphest] [Commented On] T283808: pywikibot.output seems not to use either sys.stdout nor sys.stderr

2021-12-19 Thread Xqt
Xqt added a comment. Old behaviour of output: F34889611: image.png New and wrong behaviour after the patch above: F34889614: image.png The diff isn't shown and the output from input choice (la

[Pywikipedia-bugs] [Maniphest] [Reopened] T283808: pywikibot.output seems not to use either sys.stdout nor sys.stderr

2021-12-19 Thread Xqt
Xqt reopened this task as "Open". Xqt added a comment. Does not work as expected, some output is suppressed. Description of this malfunction will follow. TASK DETAIL https://phabricator.wikimedia.org/T283808 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferen

[Pywikipedia-bugs] [Maniphest] [Commented On] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread Xqt
Xqt added a comment. Neither charset-normalizer nor chardet finds the right encoding here. TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo10

[Pywikipedia-bugs] [Maniphest] [Claimed] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread Xqt
Xqt triaged this task as "Medium" priority. Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo1011, JohnsonLee01, SHEKH, Di

[Pywikipedia-bugs] [Maniphest] [Updated] T284577: Cannot login to private wiki using BotPassword

2021-12-19 Thread Xqt
Xqt added a parent task: T269503: login.py doesn't work (critical error "due to uncaught exception"). TASK DETAIL https://phabricator.wikimedia.org/T284577 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Mpaa, Dvorapa, pywikibot-bugs-lis

[Pywikipedia-bugs] [Maniphest] [Updated] T269503: login.py doesn't work (critical error "due to uncaught exception")

2021-12-19 Thread Xqt
Xqt added a subtask: T284577: Cannot login to private wiki using BotPassword. TASK DETAIL https://phabricator.wikimedia.org/T269503 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aschroet, Dvorapa, Framawiki, Mpaa, Xqt, Aklapper, pywikibot-bu

[Pywikipedia-bugs] [Maniphest] [Updated] T284577: Cannot login to private wiki using BotPassword

2021-12-19 Thread Xqt
Xqt added a parent task: T261061: Either enable captcha for not autoconfirmed user or show an error message other than a "KeyError: 'messagecode'". TASK DETAIL https://phabricator.wikimedia.org/T284577 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Updated] T261061: Either enable captcha for not autoconfirmed user or show an error message other than a "KeyError: 'messagecode'"

2021-12-19 Thread Xqt
Xqt added a subtask: T284577: Cannot login to private wiki using BotPassword. TASK DETAIL https://phabricator.wikimedia.org/T261061 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: WolfgangFahl, Masti, Aschroet, Xiplus, Dvorapa, valhallasw, Akl

[Pywikipedia-bugs] [Maniphest] [Updated] T261061: Either enable captcha for not autoconfirmed user or show an error message other than a "KeyError: 'messagecode'"

2021-12-19 Thread Xqt
Xqt added a comment. @WolfgangFahl: Thank you for your report. I don't think that your repository is 6.6.0 because there was the code change - rPWBCe60a10e in 6.0.0 - rPWBCcf8f6942

[Pywikipedia-bugs] [Maniphest] [Merged] T261061: Either enable captcha for not autoconfirmed user or show an error message other than a "KeyError: 'messagecode'"

2021-12-19 Thread Xqt
Xqt merged a task: T297997: unchecked response dict access in pywikibot . Xqt added a subscriber: WolfgangFahl. TASK DETAIL https://phabricator.wikimedia.org/T261061 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: WolfgangFahl, Masti, Aschroet

[Pywikipedia-bugs] [Maniphest] [Updated] T297997: unchecked response dict access in pywikibot

2021-12-19 Thread Xqt
Xqt closed this task as a duplicate of T261061: Either enable captcha for not autoconfirmed user or show an error message other than a "KeyError: 'messagecode'". TASK DETAIL https://phabricator.wikimedia.org/T297997 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpre

[Pywikipedia-bugs] [Maniphest] [Commented On] T297994: pywikibot should not retry if that doesn't make sense

2021-12-19 Thread Xqt
Xqt added a comment. > Try accessing a site with pywikibot that is misconfigured Do you have a sample for investigation? TASK DETAIL https://phabricator.wikimedia.org/T297994 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, pywiki

[Pywikipedia-bugs] [Maniphest] [Updated] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread Maintenance_bot
Maintenance_bot added a project: Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khu

[Pywikipedia-bugs] [Maniphest] [Created] T298006: wrong encoding recognised by reflinks.py

2021-12-19 Thread Rubin16
Rubin16 created this task. Rubin16 added a project: Pywikibot-Scripts. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION For one of the links the created reference name is in a wrong encoding: https://ru.wikipedia.org/w/index.php?title=Кукай_(озеро)&dif

[Pywikipedia-bugs] [Maniphest] [Commented On] T254459: Large PDF upload issue

2021-12-19 Thread Midleading
Midleading added a comment. PDF files as big as 2.13 GB have been uploaded to Commons with some tweaks to API requests. This was never imaginable before. Thanks! TASK DETAIL https://phabricator.wikimedia.org/T254459 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/email