[Pywikipedia-bugs] [Maniphest] [Triaged] T291202: Pywikibot: 'NoneType' object is not subscriptable in validate_tokens

2021-09-16 Thread JJMC89
JJMC89 triaged this task as "High" priority. JJMC89 added a comment. Due to T280806: Remove old action api token parameters <https://phabricator.wikimedia.org/T280806>. We cannot check `query+info` from 1.37wmf23 on. TASK DETAIL https://phabricator.wikimedia.org/T291202 E

[Pywikipedia-bugs] [Maniphest] [Reassigned] T287393: site_tests.TestAlldeletedrevisionsAsUser fails

2021-07-29 Thread JJMC89
JJMC89 reassigned this task from JJMC89 to atagar. TASK DETAIL https://phabricator.wikimedia.org/T287393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: atagar, JJMC89 Cc: JJMC89, Aklapper, atagar, Xqt, pywikibot-bugs-list, Biggs657, Lalamarie69

[Pywikipedia-bugs] [Maniphest] [Closed] T287393: site_tests.TestAlldeletedrevisionsAsUser fails

2021-07-29 Thread JJMC89
JJMC89 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T287393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: atagar, JJMC89 Cc: JJMC89, Aklapper, atagar, Xqt, pywikibot-bugs-list, Biggs657, Lalamarie69,

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia projects using Pywikibot since August 2020

2021-08-06 Thread JJMC89
JJMC89 added a comment. The error is still an issue. It appears to have decreased in frequency though. I am using OAuth if that matters. 2021-08-06 11:47:04 bot.py, 466 in writelogheader: VERBOSE === Pywikibot framework v6.5.0 -- Logging header === 2021-08-06 11

[Pywikipedia-bugs] [Maniphest] [Started] T291757: pagefromfile.py script: Problem of "-force" argument and user_confirm()

2021-09-25 Thread JJMC89
JJMC89 claimed this task. JJMC89 added projects: Pywikibot-Scripts, Regression. JJMC89 triaged this task as "Medium" priority. JJMC89 changed the task status from "Open" to "In Progress". JJMC89 added a comment. This is a regression from rPWBCdf8c27160

[Pywikipedia-bugs] [Maniphest] [Updated] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread JJMC89
JJMC89 removed a project: Toolforge. JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T291771 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Legoktm, Xqt, Aklapper, pywikibot-bugs-list, Multichill

[Pywikipedia-bugs] [Maniphest] [Commented On] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread JJMC89
JJMC89 added a comment. You can request Toolforge software installs by creating a task with #toolforge-software <https://phabricator.wikimedia.org/project/view/3978/>; however, there is no requirement for Toolforge to have Pywikibot dependencies installed. mwparserfromhell is pr

[Pywikipedia-bugs] [Maniphest] [Updated] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread JJMC89
JJMC89 removed a project: Toolforge. TASK DETAIL https://phabricator.wikimedia.org/T291771 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Legoktm, Xqt, Aklapper, pywikibot-bugs-list, Multichill, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Closed] T291771: Latest Pywikibot git version doesn't work on Toolforge

2021-09-26 Thread JJMC89
JJMC89 closed this task as "Invalid". JJMC89 added a comment. If you are not using the shared install <https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot#Using_the_shared_Pywikibot_files_(recommended_setup)>, then you are required to install the dependenc

[Pywikipedia-bugs] [Maniphest] [Assigned] T291202: Pywikibot: 'NoneType' object is not subscriptable in validate_tokens

2021-09-20 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. JJMC89 assigned this task to Xqt. TASK DETAIL https://phabricator.wikimedia.org/T291202 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, JJMC89 Cc: Majavah, Benjavalero, Xqt, Legoktm, jhsoby, JJMC89

[Pywikipedia-bugs] [Maniphest] [Updated] T292367: djvutxt.py raising TypeError

2021-10-03 Thread JJMC89
JJMC89 added a project: Pywikibot-Scripts. JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T292367 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, Mpaa, Suran38, Biggs657

[Pywikipedia-bugs] [Maniphest] [Closed] T292367: djvutxt.py raising TypeError

2021-10-03 Thread JJMC89
JJMC89 assigned this task to Mpaa. JJMC89 closed this task as "Resolved". JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T292367 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mpaa, JJMC89 Cc

[Pywikipedia-bugs] [Maniphest] [Closed] T291757: pagefromfile.py script: Problem of "-force" argument and user_confirm()

2021-10-03 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T291757 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Retitled] T297165: pywikibot doesn't recognize the wiktionary in Lombard

2021-12-06 Thread JJMC89
JJMC89 renamed this task from "pywiki doesn't recognize the wiktionary in Lombard" to "pywikibot doesn't recognize the wiktionary in Lombard". JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T297165 EMAIL PREFERENCES https://phabr

[Pywikipedia-bugs] [Maniphest] [Closed] T298272: My bot edits are shown as regular account

2021-12-23 Thread JJMC89
JJMC89 edited subscribers, added: JJMC89; removed: Legoktm, pywikibot-bugs-list. JJMC89 removed a project: Pywikibot. JJMC89 closed this task as "Invalid". JJMC89 added a comment. This is not a #pywikibot <https://phabricator.wikimedia.org/tag/pywikibot/> issue. As f

[Pywikipedia-bugs] [Maniphest] [Edited] T298522: pwb replace -subcats option is not restricting to subcategories

2022-01-04 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T298522 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Xqt, Aklapper, pywikibot-bugs-list, Arjunaraoc, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck

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

2021-12-20 Thread JJMC89
JJMC89 changed the task status from "Duplicate" to "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T298006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, JJMC89 Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo1011,

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

2021-12-20 Thread JJMC89
JJMC89 reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T297994 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, JJMC89 Cc: Xqt, pywikibot-bugs-list, Aklapper, WolfgangFahl, 786, Suran38, Biggs657, L

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

2021-12-20 Thread JJMC89
JJMC89 reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T297997 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: pywikibot-bugs-list, Aklapper, WolfgangFahl, Jyoo1011, JohnsonLee01, SHEKH, Dijkstr

[Pywikipedia-bugs] [Maniphest] [Started] T294822: AbuseFilterDisallowedError does not use "other" information

2021-11-02 Thread JJMC89
JJMC89 claimed this task. JJMC89 changed the task status from "Open" to "In Progress". JJMC89 added a comment. I don't think we need it, so let's drop it. TASK DETAIL https://phabricator.wikimedia.org/T294822 EMAIL PREFERENCES https://phabricator.wikimedi

[Pywikipedia-bugs] [Maniphest] [Updated] T286861: scripts/interwikidata.py returns a InconsistentTitleError on a Malayalam title

2021-07-18 Thread JJMC89
JJMC89 removed a project: Wikidata. TASK DETAIL https://phabricator.wikimedia.org/T286861 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Xqt, santhosh, Urbanecm, Aklapper, Amire80, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Commented On] T286867: Drop support for Python 3.5.0 - 3.5.2

2021-07-18 Thread JJMC89
JJMC89 added a comment. I was hoping we could time dropping 3.5 (and maybe even 3.6) with the move of Toolforge from Stretch (has 3.5.3) to Buster (has 3.7.3), but WMCS hasn't announced any timelines for the transition yet. TASK DETAIL https://phabricator.wikimedia.org/T286867 EMAIL

[Pywikipedia-bugs] [Maniphest] [Claimed] T287393: site_tests.TestAlldeletedrevisionsAsUser fails

2021-07-26 Thread JJMC89
JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T287393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Aklapper, atagar, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido

[Pywikipedia-bugs] [Maniphest] [Closed] T93482: [upload.py] Question mark character is forbidden in target file name, but the wiki accepts it

2022-01-11 Thread JJMC89
JJMC89 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T93482 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, JJMC89 Cc: pywikibot-bugs-list, Ciencia_Al_Poder, Aklapper, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Updated] T303373: redirect.py is stuck (no longer works)

2022-03-08 Thread JJMC89
JJMC89 added a comment. Windows issue? perhaps caused by rPWBC65862799dd66: [cleanup] no longer use win32_unicode for Python 3.6+ <https://phabricator.wikimedia.org/rPWBC65862799dd66c25eb24720e75365ee6095603108>? TASK DETAIL https://phabricator.wikimedia.org/T303373 EMAIL PREFE

[Pywikipedia-bugs] [Maniphest] [Commented On] T301908: Drop support for Python 3.5

2022-02-16 Thread JJMC89
JJMC89 added a comment. I also suggest dropping support for Python 3.6. Both are EOL. TASK DETAIL https://phabricator.wikimedia.org/T301908 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Mpaa, Framawiki, Dvorapa, Dalba, Meno25

[Pywikipedia-bugs] [Maniphest] [Created] T304279: config: B020 Found for loop that reassigns the iterable it is iterating with each iterable value

2022-03-21 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION https://integration.wikimedia.org/ci/job/pywikibot-core-tox-docker/18459/console 23:02:00 [208] /src$ /src/.tox/flake8-py38/bin/flake8

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia projects using Pywikibot since August 2020

2022-02-01 Thread JJMC89
JJMC89 added a comment. In T261050#6465754 <https://phabricator.wikimedia.org/T261050#6465754>, @Xqt wrote: > I guess after T263010 <https://phabricator.wikimedia.org/T263010> is merged this error should write `'Login status: IN_PROGRESS'` into the logfile every time. @M

[Pywikipedia-bugs] [Maniphest] [Updated] T301470: public key error when attempting to send patch via git review -R

2022-02-10 Thread JJMC89
JJMC89 edited projects, added Gerrit; removed Pywikibot. JJMC89 removed a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T301470 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Xqt, Aklapper, Lorcan

[Pywikipedia-bugs] [Maniphest] [Merged] T57235: Treat code-only interwikis as valid for main page

2022-01-06 Thread JJMC89
JJMC89 merged a task: T298740: interwikidata failed for pwnwiki. JJMC89 added subscribers: Urbanecm, Zabe. TASK DETAIL https://phabricator.wikimedia.org/T57235 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Zabe, Urbanecm, Aklapper, Carlb

[Pywikipedia-bugs] [Maniphest] [Commented On] T298740: interwikidata failed for pwnwiki

2022-01-06 Thread JJMC89
JJMC89 added a comment. It is due to the interwiki without a title: `[[ko:]]`. Not sure why someone is doing that for an article's interwiki. TASK DETAIL https://phabricator.wikimedia.org/T298740 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Updated] T298740: interwikidata failed for pwnwiki

2022-01-06 Thread JJMC89
JJMC89 closed this task as a duplicate of T57235: Treat code-only interwikis as valid for main page. TASK DETAIL https://phabricator.wikimedia.org/T298740 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Zabe, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Edited] T57235: Treat code-only interwikis as valid for main page

2022-01-06 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T57235 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Zabe, Urbanecm, Aklapper, Carlb, Cyberpower678, Xqt, Legoktm, jayvdb, Ricordisamoa, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T57235: Treat code-only interwikis as valid for main page

2022-01-06 Thread JJMC89
JJMC89 edited subscribers, added: JJMC89; removed: Cyberpower678. JJMC89 added a comment. I can see a few ways to handle this in textlib. 1. Ignore them in `getLanguageLinks()` like is done for `[[en:{{PAGENAME}}]]` which would result in removal if calling `getLanguageLinks

[Pywikipedia-bugs] [Maniphest] [Closed] T299844: cosmetic_changes.py: AttributeError: 'str' object has no attribute 'formar'

2022-01-22 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 assigned this task to Meno25. JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T299844 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Meno25, JJMC89 Cc

[Pywikipedia-bugs] [Maniphest] [Updated] T299853: cosmetic_changes.py: ValueError: Title must be specified and not empty if source is a Site

2022-01-23 Thread JJMC89
JJMC89 added a comment. See T57235#7603475 <https://phabricator.wikimedia.org/T57235#7603475> TASK DETAIL https://phabricator.wikimedia.org/T299853 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Aklapper, alaa, pywikibo

[Pywikipedia-bugs] [Maniphest] [Closed] T299309: debug() missing 1 required positional argument: 'layer'

2022-01-16 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 added a comment. In T299309#7624739 <https://phabricator.wikimedia.org/T299309#7624739>, @Xqt wrote: > @matej_suchanek: @JJMC89: The layer parameter is mandatory for `debug()` function.[1] > > Usually a global `

[Pywikipedia-bugs] [Maniphest] [Commented On] T345786: "#" character in Page object title eats leading whitespace

2023-09-06 Thread JJMC89
JJMC89 added a comment. `#` is permitted in `Page` object titles since it represents a link to a section. Spaces before it get removed since MediaWiki page titles don't have trailing whitespace. TASK DETAIL https://phabricator.wikimedia.org/T345786 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Closed] T345786: "#" character in Page object title eats leading whitespace

2023-09-06 Thread JJMC89
JJMC89 closed this task as "Invalid". JJMC89 added a comment. `#` is not permitted in titles. See mw:Manual:Page title#Invalid page titles <https://www.mediawiki.org/wiki/Manual:Page_title#Invalid_page_titles>. TASK DETAIL https://phabricator.wikimedia.org/T345786 E

[Pywikipedia-bugs] [Maniphest] [Retitled] T345786: FilePage title should be checked for a valid file extension

2023-09-06 Thread JJMC89
JJMC89 renamed this task from ""#" character in FilePage object title eats leading whitespace" to "FilePage title should be checked for a valid file extension". JJMC89 reopened this task as "In Progress". JJMC89 triaged this task as "Medium" pri

[Pywikipedia-bugs] [Maniphest] [Claimed] T345786: FilePage title should be checked for a valid file extension

2023-09-06 Thread JJMC89
JJMC89 updated Other Assignee, removed: JJMC89. JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T345786 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Aklapper, pywikibot-bugs-list, Dominicbm

[Pywikipedia-bugs] [Maniphest] [Commented On] T345786: "#" character in FilePage object title eats leading whitespace

2023-09-06 Thread JJMC89
JJMC89 added a comment. `FilePage`s can also have sections, the same as `Page`. The title without the section does not have a file extension, which can be detected. TASK DETAIL https://phabricator.wikimedia.org/T345786 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Closed] T345786: FilePage title should be checked for a valid file extension

2023-09-07 Thread JJMC89
JJMC89 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T345786 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Aklapper, pywikibot-bugs-list, Dominicbm, PotsdamLamb, Jyoo1011, JohnsonLe

[Pywikipedia-bugs] [Maniphest] [Updated] T345192: New upstream release 8.3.2 for Pywikibot

2023-08-29 Thread JJMC89
JJMC89 removed a project: Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T345192 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: pywikibot-bugs-list, rook, Zabe, Xqt, AshokChakra, 94rain, R96340, Chicocvenancio, Susannaanas

[Pywikipedia-bugs] [Maniphest] [Created] T349348: UserRightsError: User does not have required user right "purge"

2023-10-19 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION The `purge` user right was ~~removed~~ __made implicit__ in MW 1.42-wmf1 (and backported to MW 1.41). T291316: 'purge' permission

[Pywikipedia-bugs] [Maniphest] [Closed] T350231: Add support for dgawiki to Pywikibot

2023-11-06 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 assigned this task to Zabe. TASK DETAIL https://phabricator.wikimedia.org/T350231 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, JJMC89 Cc: Aklapper, pywikibot-bugs-list, Maintenance

[Pywikipedia-bugs] [Maniphest] [Closed] T350237: Add support for bjnwikiquote to Pywikibot

2023-11-06 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 assigned this task to Zabe. TASK DETAIL https://phabricator.wikimedia.org/T350237 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, JJMC89 Cc: Aklapper, pywikibot-bugs-list, Maintenance

[Pywikipedia-bugs] [Maniphest] [Closed] T350243: Add support for zghwiki to Pywikibot

2023-11-06 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 assigned this task to Zabe. TASK DETAIL https://phabricator.wikimedia.org/T350243 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, JJMC89 Cc: Aklapper, pywikibot-bugs-list, Maintenance

[Pywikipedia-bugs] [Maniphest] [Closed] T350375: Add support for bbcwiki to Pywikibot

2023-11-06 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 assigned this task to Zabe. TASK DETAIL https://phabricator.wikimedia.org/T350375 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, JJMC89 Cc: Aklapper, pywikibot-bugs-list, Maintenance

[Pywikipedia-bugs] [Maniphest] [Closed] T350752: touch.py made null change which appears in RC

2023-11-07 Thread JJMC89
JJMC89 added a project: Pywikibot-Scripts. JJMC89 closed this task as "Invalid". JJMC89 added a comment. You must use `-botflag`. TASK DETAIL https://phabricator.wikimedia.org/T350752 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T349348: UserRightsError: User does not have required user right "purge"

2023-10-24 Thread JJMC89
JJMC89 added a comment. In T349348#9278076 <https://phabricator.wikimedia.org/T349348#9278076>, @daniel wrote: > Making the purge right implcite should not cause permission errors. To the contrary, it should make sure that the permission is always granted. Special:ListGr

[Pywikipedia-bugs] [Maniphest] [Edited] T347026: Drop support for Python 3.6

2023-09-21 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T347026 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: hashar, matej_suchanek, Legoktm, JJMC89, Salween, Huji, Lee, Euku, Larske, kscanne, Basilicofresco

[Pywikipedia-bugs] [Maniphest] [Updated] T348709: category_graph.py does not log scanned directory correctly

2023-10-11 Thread JJMC89
JJMC89 added a project: Pywikibot-Scripts. TASK DETAIL https://phabricator.wikimedia.org/T348709 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, Enag2000, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Commented On] T308897: prevent the need to depool while running interwiki link cleanup

2022-05-20 Thread JJMC89
JJMC89 added a comment. Pywikibot sleeping like that is its reaction to the wiki's database lag. (mw:Manual:Maxlag parameter <https://www.mediawiki.org/wiki/Manual:Maxlag_parameter>) name=recent example from my bot's logs 2022-05-20 14:41:23throttle.py

[Pywikipedia-bugs] [Maniphest] [Updated] T311373: Tool PB: "The MariaDB server is running with the --read-only option so it cannot execute this statement"

2022-06-28 Thread JJMC89
JJMC89 removed a project: Pywikibot. JJMC89 removed a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T311373 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: taavi, komla, Marostegui, Aklapper, Euku

[Pywikipedia-bugs] [Maniphest] [Created] T311584: failing doctest: pywikibot.data.memento.MementoClient

2022-06-28 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION https://integration.wikimedia.org/ci/job/pywikibot-core-tox-doctest-docker/5430/console 19:09:07 doctest run-test: commands[2

[Pywikipedia-bugs] [Maniphest] [Updated] T312773: archivebot: allow sorting threads by the first post in the section, instead of the last

2022-07-11 Thread JJMC89
JJMC89 changed the subtype of this task from "Task" to "Feature Request". TASK DETAIL https://phabricator.wikimedia.org/T312773 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, whym, pywikibot-bugs-list, Jy

[Pywikipedia-bugs] [Maniphest] [Updated] T309071: VisualEditor should not delete spaces in template formatting

2022-05-24 Thread JJMC89
JJMC89 removed a project: Pywikibot. JJMC89 removed a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T309071 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Xqt, Aklapper, JAnD, VPuffetMichel, ycrepeau

[Pywikipedia-bugs] [Maniphest] [Updated] T313137: TestThankRevisionErrors.test_invalid_revision giving error

2022-07-15 Thread JJMC89
JJMC89 added a project: Pywikibot-tests. TASK DETAIL https://phabricator.wikimedia.org/T313137 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, rook, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido

[Pywikipedia-bugs] [Maniphest] [Created] T313571: Incorrect login status for users logged in with OAuth

2022-07-22 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Originally reported at T261050#7670075 <https://phabricator.wikimedia.org/T261050#7670075> Having a login status othe

[Pywikipedia-bugs] [Maniphest] [Started] T313571: Incorrect login status for users logged in with OAuth

2022-07-22 Thread JJMC89
JJMC89 changed the task status from "Open" to "In Progress". JJMC89 triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T313571 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc:

[Pywikipedia-bugs] [Maniphest] [Claimed] T313571: Incorrect login status for users logged in with OAuth

2022-07-22 Thread JJMC89
JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T313571 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, JJMC89, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor

[Pywikipedia-bugs] [Maniphest] [Closed] T313665: Pywikibot/README.rst: missing '

2022-07-23 Thread JJMC89
JJMC89 closed this task as "Resolved". JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T313665 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, Sh

[Pywikipedia-bugs] [Maniphest] [Retitled] T313665: Pywikibot/README.rst: missing '

2022-07-23 Thread JJMC89
JJMC89 renamed this task from "Pywikibot/readme: missing '" to "Pywikibot/README.rst: missing '". JJMC89 changed the task status from "Open" to "In Progress". JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T313665 EMAIL PREFERE

[Pywikipedia-bugs] [Maniphest] [Created] T307281: flake8-print 5.0.0 updated its error codes

2022-04-30 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION https://integration.wikimedia.org/ci/job/pywikibot-core-tox-docker/19124/console 14:07:34 [210] /src$ /src/.tox/flake8-py38/bin/flake8

[Pywikipedia-bugs] [Maniphest] [Started] T307281: flake8-print 5.0.0 updated its error codes

2022-04-30 Thread JJMC89
JJMC89 changed the task status from "Open" to "In Progress". JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T307281 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-li

[Pywikipedia-bugs] [Maniphest] [Closed] T307281: flake8-print 5.0.0 updated its error codes

2022-04-30 Thread JJMC89
JJMC89 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T307281 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, JJMC89, Fernandobacasegua34, 786, Suran38, Biggs657, L

[Pywikipedia-bugs] [Maniphest] [Updated] T307281: flake8-print 5.0.0 updated its error codes

2022-04-30 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T307281 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, JJMC89, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck

[Pywikipedia-bugs] [Maniphest] [Updated] T307826: movepages.py: arguments recognition error

2022-05-06 Thread JJMC89
JJMC89 added a project: Pywikibot-Scripts. TASK DETAIL https://phabricator.wikimedia.org/T307826 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, Xqt, Vladis13, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Reopened] T250811: site.search() does not work for wikimania:wikimania

2022-08-01 Thread JJMC89
JJMC89 reopened this task as "Open". JJMC89 removed projects: MediaWiki-Action-API, Discovery-Search, CirrusSearch. TASK DETAIL https://phabricator.wikimedia.org/T250811 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc

[Pywikipedia-bugs] [Maniphest] [Commented On] T312929: Follow PEP 498 format string literals if appropriate

2022-09-26 Thread JJMC89
JJMC89 added a comment. There is still more that could be done for this. I only took care of the ones that pyupgrade would convert automatically. TASK DETAIL https://phabricator.wikimedia.org/T312929 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Commented On] T320851: pwb console script does not work when pip installed from git

2022-10-18 Thread JJMC89
JJMC89 added a comment. You only need one setup.py that will install multiple site-packages. I did some quick testing by updating as below and things seem to work. It installs 3 site-packages: pywikibot, pywikibot_i18n, and pywikibot_scripts. pywikibot-core ├── MANIFEST.in

[Pywikipedia-bugs] [Maniphest] [Commented On] T320851: pwb console script does not work when pip installed from git

2022-10-17 Thread JJMC89
JJMC89 added a comment. We shouldn't be using a custom way to make the distribution. That is just asking for things to be broken like this. It would be simplest from a packaging standpoint to change the git directory structure (below) and distribute three packages in the current

[Pywikipedia-bugs] [Maniphest] [Commented On] T320851: pwb console script does not work when pip installed from git

2022-10-23 Thread JJMC89
JJMC89 added a comment. > Sure but is that really what is wanted? Yes. > People should have the choice importing the framework and pywikibot_scripts should be installed optional (and pywikibot-scripts become its own package at Python Package Index). Why? I don't see an

[Pywikipedia-bugs] [Maniphest] [Updated] T318034: editAliases makes nothing

2022-09-17 Thread JJMC89
JJMC89 added a project: Pywikibot-Wikidata. TASK DETAIL https://phabricator.wikimedia.org/T318034 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: pywikibot-bugs-list, Aklapper, Psemdel, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Commented On] T320530: pwb error not found but exact match

2022-10-11 Thread JJMC89
JJMC89 added a comment. The warning also looks incorrect. TASK DETAIL https://phabricator.wikimedia.org/T320530 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: RoySmith, Aklapper, pywikibot-bugs-list, JJMC89, PotsdamLamb, Jyoo1011

[Pywikipedia-bugs] [Maniphest] [Created] T320530: pwb error not found but exact match

2022-10-11 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue / What happens?**: $ ./pwb version ERROR: version.py not found! Misspelling? WARNING: /data

[Pywikipedia-bugs] [Maniphest] [Commented On] T320530: pwb error not found but exact match

2022-10-11 Thread JJMC89
JJMC89 added a comment. Based on the path, it is the entry point (not exe since it is linux). TASK DETAIL https://phabricator.wikimedia.org/T320530 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Xqt, RoySmith, Aklapper, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Created] T320851: pwb console script does not work when pip installed from git

2022-10-14 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: - Checkout any version of pywikibot since 7.0.0 from git - Install it using pip (e.g., `pip install

[Pywikipedia-bugs] [Maniphest] [Updated] T314912: import precision of date by harvest_template

2022-08-10 Thread JJMC89
JJMC89 added projects: Pywikibot, Pywikibot-Scripts. TASK DETAIL https://phabricator.wikimedia.org/T314912 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Nedtoto, Aklapper, JAnD, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01

[Pywikipedia-bugs] [Maniphest] [Updated] T315008: VisualEditor on Cantonese Wikipedia defaults to foreign keyword for "#REDIRECT"

2022-08-11 Thread JJMC89
JJMC89 removed projects: Pywikibot, Pywikibot-redirect.py. JJMC89 added a comment. VE's behavior is unrelated to pywikibot. If there is also an issue with pywikibot, file a separate task. TASK DETAIL https://phabricator.wikimedia.org/T315008 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Unblock] T148280: WbTime comparison is incorrect

2022-12-22 Thread JJMC89
JJMC89 closed subtask T325863: Comparison operators do not do identity check before comparing as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T148280 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1, JJMC89 Cc: RPI2026F1

[Pywikipedia-bugs] [Maniphest] [Closed] T325863: Comparison operators do not do identity check before comparing

2022-12-22 Thread JJMC89
JJMC89 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T325863 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1, JJMC89 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1, Adamm71, Jersione, Hellket777, Li

[Pywikipedia-bugs] [Maniphest] [Commented On] T305859: Solve Inconsistent return statements

2023-01-05 Thread JJMC89
JJMC89 added a comment. Just amend your original commit: https://www.mediawiki.org/wiki/Gerrit/Tutorial#Make_changes_and_push TASK DETAIL https://phabricator.wikimedia.org/T305859 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ayush_Anand3310

[Pywikipedia-bugs] [Maniphest] [Updated] T326647: pywikibot mailing list should include link to archives

2023-01-10 Thread JJMC89
JJMC89 removed a project: Wikimedia-Mailing-lists. JJMC89 added a comment. Even better would be to link to the specific message in the archive (like is done for wikimedia-l). This can be done by any list owner. TASK DETAIL https://phabricator.wikimedia.org/T326647 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T326046: Cannot login to miraheze.org wiki due to no json response

2023-01-02 Thread JJMC89
JJMC89 added a comment. In T326046#8494108 <https://phabricator.wikimedia.org/T326046#8494108>, @Dimpizzy wrote: > Is there a way to output and see the exact request sent to the server when it serves up HTML instead of JSON? pywikibot/data/api/_requests.py#L715-L73

[Pywikipedia-bugs] [Maniphest] [Updated] T326469: fatal: detected dubious ownership in repository at '/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core'

2023-01-07 Thread JJMC89
JJMC89 edited subscribers, added: JJMC89; removed: pywikibot-bugs-list. JJMC89 edited projects, added Tools; removed Pywikibot, Toolforge. JJMC89 added a comment. This is a git security measure, not an issue with #pywikibot <https://phabricator.wikimedia.org/tag/pywikibot/> or #too

[Pywikipedia-bugs] [Maniphest] [Closed] T325883: Test pywikibot with Python 3.10 and Python 3.11

2022-12-23 Thread JJMC89
JJMC89 closed this task as "Invalid". JJMC89 added a comment. The full set of tests run on GitHub Actions on 3.6-3.12 alpha. TASK DETAIL https://phabricator.wikimedia.org/T325883 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89

[Pywikipedia-bugs] [Maniphest] [Retitled] T324287: pwb console script doesn't find scripts in the scripts folder but pwb.py does

2022-12-02 Thread JJMC89
JJMC89 renamed this task from "pwb console script doesn't find scripts in the scripts folder" to "pwb console script doesn't find scripts in the scripts folder but pwb.py does". JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T32428

[Pywikipedia-bugs] [Maniphest] [Commented On] T323852: pywikibot: Support non-global login

2022-11-30 Thread JJMC89
JJMC89 added a comment. You should not be collecting user passwords since doing so would compromise the account. Use OAuth instead. TASK DETAIL https://phabricator.wikimedia.org/T323852 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc

[Pywikipedia-bugs] [Maniphest] [Edited] T323752: CI with new flake8 6.0.0 fails

2022-11-24 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T323752 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, matej_suchanek, Xqt, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Created] T324287: pwb console script doesn't find scripts in the scripts folder

2022-12-01 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: - pip install pywikibot from git - `pwb touch -h` (or any other script in `./scripts`, `./scripts

[Pywikipedia-bugs] [Maniphest] [Commented On] T328203: 503 error

2023-01-28 Thread JJMC89
JJMC89 added a comment. We are intentionally displaying what the server sent. TASK DETAIL https://phabricator.wikimedia.org/T328203 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Aklapper, pywikibot-bugs-list, Shalomori123

[Pywikipedia-bugs] [Maniphest] [Closed] T328203: 503 error

2023-01-28 Thread JJMC89
JJMC89 closed this task as "Invalid". JJMC89 added a comment. You are seeing what the server sent, which we cannot control. TASK DETAIL https://phabricator.wikimedia.org/T328203 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89

[Pywikipedia-bugs] [Maniphest] [Edited] T328204: pywikibot.exceptions.UserRightsError: User "None" does not have required user right "purge"

2023-01-28 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T328204 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, Xqt, Ato_01, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Updated] T328204: pywikibot.exceptions.UserRightsError: User "None" does not have required user right "purge"

2023-01-28 Thread JJMC89
JJMC89 added a project: Pywikibot-Scripts. JJMC89 added a comment. The version information you reported does not match the python version from the toolforge-jobs command (3.9) or the pywikibot version checked out in `/data/project/ato/pywikibot-core` (8.0.0). The message indicates

[Pywikipedia-bugs] [Maniphest] [Commented On] T327600: Pywikibot 8 requires mwparserfromhell, which is not present on the Toolforge grid

2023-01-22 Thread JJMC89
JJMC89 added a comment. To use the shared pywikibot install, it is necessary to modify PYTHONPATH so that dependencies are available. (docs <https://wikitech.wikimedia.org/w/index.php?title=Help:Toolforge/Pywikibot=2017081#Using_the_shared_Pywikibot_files_(recommended_setup)>) TASK

[Pywikipedia-bugs] [Maniphest] [Closed] T322364: Update Help:Toolforge/Pywikibot on Wikitech

2022-11-03 Thread JJMC89
JJMC89 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T322364 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, JJMC89, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH

[Pywikipedia-bugs] [Maniphest] [Created] T322364: Update Help:Toolforge/Pywikibot on Wikitech

2022-11-03 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot-Documentation. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION - remove SGE info - update k8s info TASK DETAIL https://phabricator.wikimedia.org/T322364 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Updated] T134495: Create a "my first Pywikibot bot" tutorial for Toolforge

2022-11-03 Thread JJMC89
JJMC89 added a comment. @Martimpassos I'm going to start with updating Help:Toolforge/Pywikibot <https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot> (T322364 <https://phabricator.wikimedia.org/T322364>), then I'll circle back here with answers. TASK DE

<    1   2   3   4   5   6   >