[Pywikipedia-bugs] [Maniphest] [Commented On] T142155: Bot can't login. keyError in GetCookie

2016-08-05 Thread JJMC89
JJMC89 added a comment. PWB can skip login if there is still a valid session. My bot has edited at enwiki since this task was opened. The API warning did show up in the logs the last time it did login. From my logs, it seems like my bot has to login every ~30 days.TASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Commented On] T142155: Bot can't login. keyError in GetCookie

2016-08-06 Thread JJMC89
JJMC89 added a comment. In T142155#2530030, @jayvdb wrote: In T142155#2529638, @Tgr wrote: Reverted in 1.28.0-wmf.13 (meaning it will last until Tuesday). Is anyone planning to fix PWB and contact users about updating (or using OAuth)? This is affecting people at the #WikiConferenceIndia

[Pywikipedia-bugs] [Maniphest] [Created] T155687: Pagegenerator does not use the specified site for categories

2017-01-18 Thread JJMC89
JJMC89 created this task.JJMC89 added projects: Pywikibot-core, Pywikibot-pagegenerators.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONNot using the specified site: >>> import pywikibot >>> from pywikibot import pagegenerators &g

[Pywikipedia-bugs] [Maniphest] [Commented On] T155687: Pagegenerator does not use the specified site for categories

2017-01-18 Thread JJMC89
JJMC89 added a comment. In T155687#2951529, @zhuyifei1999 wrote: Testing with the patch Looks good. Thanks.TASK DETAILhttps://phabricator.wikimedia.org/T155687EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, JJMC89Cc: gerritbot, zhuyifei1999

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T155293: -file and -search does not work together since yesterday

2017-01-19 Thread JJMC89
JJMC89 lowered the priority of this task from "Unbreak Now!" to "Needs Triage".JJMC89 removed projects: Developer-Relations, CirrusSearch, Pywikibot-General. TASK DETAILhttps://phabricator.wikimedia.org/T155293EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/pa

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-11-08 Thread JJMC89
JJMC89 added a comment. You can use forceInterwiki=True >>> p = pywikibot.Page(pywikibot.Site('fr', 'wikipedia'), 'Test') >>> t = pywikibot.Page(pywikibot.Site('test', 'wikipedia'), 'user:Framawiki/Brouillon') >>> t.text = p.title(asLink=True, forceInterwiki=True)

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-11-09 Thread JJMC89
JJMC89 added a comment. The first colon is the difference between linking to fr:Test ([[:fr:Test]]) and creating a local interlanguage link corresponding to fr:Test ([[fr:Test]]).TASK DETAILhttps://phabricator.wikimedia.org/T150299EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-11-09 Thread JJMC89
JJMC89 added a comment. Yes, an inline interwiki link is what I would want a way to get (not sure about the OP). [[wikipedia:fr:Test]] creates a local link to Wikipedia:fr:Test (test:Wikipedia:fr:Test) since testwiki has a 'Wikipedia' namespace. The result with forceInterwiki=True depends

[Pywikipedia-bugs] [Maniphest] [Edited] T154131: Touch.py should not crash on APIError: readonly

2016-12-25 Thread JJMC89
JJMC89 edited the task description. (Show Details) EDIT DETAILSTouch.py should not crash on APIError: readonly. It would be preferable to wait for the database to become unlagged and then retry. ``` python /shared/pywikipedia/core/scripts/touch.py -purge -lang:en -family:wikipedia -cat:&quo

[Pywikipedia-bugs] [Maniphest] [Created] T154131: Touch.py should not crash on APIError: readonly

2016-12-25 Thread JJMC89
JJMC89 created this task.JJMC89 added projects: Pywikibot-core, Pywikibot-touch.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONTouch.py should not crash on APIError: readonly. It would be preferable to wait for the database to become unlagged and then retry. WARNING

[Pywikipedia-bugs] [Maniphest] [Created] T171416: send_email returns False when successful

2017-07-23 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONAn email is successfully sent and received when using >>> pywikibot.User(pywikibot.Site('en', 'wikipedia'), 'JJMC89').send_email('test subject', '

[Pywikipedia-bugs] [Maniphest] [Created] T173791: No nightly Pywikibot clones on Toolforge since August 1

2017-08-21 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThe last nightly clone to the shared Pywikibot on #toolforge was August 1. @tools-bastion-03:/data/project/pywikibot/public_html> ll total 79M drwxr-xr-x

[Pywikipedia-bugs] [Maniphest] [Created] T174875: site.logevents does not respect the namespace parameter

2017-09-02 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONsite.logevents() does not respect the namespace parameter. In the example below, namespace=0 but it yields LogEntrys where ns() != 0. Example>>&g

[Pywikipedia-bugs] [Maniphest] [Created] T177362: globalusage does not yield all of the API results

2017-10-03 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONglobalusage() does not yield all of the API results. For File:BSicon ABZlg.svg, compare the 6803 results (Toolforge replicas)/API to Pywikibot's 303. >>

[Pywikipedia-bugs] [Maniphest] [Created] T194233: page is a redirect but not a redirect

2018-05-08 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONWhen attempting to get the redirects to a page using page.backlinks(filterRedirects=True), IsNotRedirectPage is raised. The page the exception claims

[Pywikipedia-bugs] [Maniphest] [Retitled] T194975: Add filters to revertbot

2018-05-18 Thread JJMC89
JJMC89 renamed this task from "unban reguyla" to "Add filters to revertbot". TASK DETAILhttps://phabricator.wikimedia.org/T194975EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Zoranzoki21, Aklapper, Dvorapa, Xqt, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Commented On] T194890: test_datatypes and test_entities of paraminfo_tests.WikibaseKnownTypesTests class fails

2018-05-23 Thread JJMC89
JJMC89 added a comment. Lexicographical data is now live outside the test sites. The previous patch only addressed the test sites. if self.site.sitename in ('test:test', 'wikidata:test'): unsupported = ['form', 'lexeme'] # T194890TASK DETAILhttps://phabricator.wikimedia.org/T194890EMAIL

[Pywikipedia-bugs] [Maniphest] [Retitled] T195537: logging.critical() output a critical record to the console, not the log file

2018-07-01 Thread JJMC89
JJMC89 renamed this task from "qbcaaa" to "logging.critical() output a critical record to the console, not the log file".JJMC89 lowered the priority of this task from "High" to "Low".JJMC89 added a subscriber: Aklapper.JJMC89 removed projects: TCB-Team

[Pywikipedia-bugs] [Maniphest] [Closed] T195537: logging.critical() output a critical record to the console, not the log file

2018-07-01 Thread JJMC89
JJMC89 assigned this task to Mpaa.JJMC89 closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T195537EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, JJMC89Cc: Aklapper, Framawiki, pywikibot-bugs-list, Mpaa, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Commented On] T197642: InvalidTitle raised for title that is a newline

2018-06-19 Thread JJMC89
JJMC89 added a comment. In T197642#4298742, @Dvorapa wrote: Please try https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/395154/, I think I fixed also this error there. I still get the exception. (Python 3.6.3) >>> import pywikibot >>> pywikibot.Page(pywikibot.Site('en', '

[Pywikipedia-bugs] [Maniphest] [Retitled] T197998: Normalize script names

2018-06-30 Thread JJMC89
JJMC89 renamed this task from "df" to "Normalize script names".JJMC89 lowered the priority of this task from "High" to "Lowest".JJMC89 removed projects: TCB-Team, Mail, New-Editor-Experiences, Language-2018-Apr-June, KartoEditor, JADE, Hashtags

[Pywikipedia-bugs] [Maniphest] [Retitled] T196683: pwb.py cannot login to self-hosted mediawiki site

2018-06-30 Thread JJMC89
JJMC89 renamed this task from "wfbaaa" to "pwb.py cannot login to self-hosted mediawiki site".JJMC89 raised the priority of this task from "High" to "Needs Triage".JJMC89 added a subscriber: Aklapper.JJMC89 removed projects: TCB-Team, Mail, New-Ed

[Pywikipedia-bugs] [Maniphest] [Created] T193833: page.touch can recreate a deleted page

2018-05-03 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONHAVE DOUGHNUT was deleted at 01:13, 3 May 2018 (UTC) while the below command was running. At 01:17 touch.py recreated the page with the content prior to deletion

[Pywikipedia-bugs] [Maniphest] [Commented On] T184981: API error protectednamespace incorrectly triggered when logged in using BotPassword

2018-01-16 Thread JJMC89
JJMC89 added a comment. There isn't an issue with BotPasswords or Pywikibot. None of the grants on that wiki have editallpages, so when using a BotPassword or OAuth you effectively don't have that right. A configuration change is required to add editallpages to one (or more) of the existing

[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: Log entry (rights) has no 'rights' key

2018-02-17 Thread JJMC89
JJMC89 added a comment. Some investigation Pywikibot example querynext(iter(pywikibot.Site().logevents(logtype='rights', total=1))).data Pywikibot example response data{ 'type':'rights', 'ns':2, 'action':'rights', 'pageid':0, 'user':'Cameron11598', 'comment':'For edit filter

[Pywikipedia-bugs] [Maniphest] [Edited] T187635: KeyError when log event content is hidden

2018-02-17 Thread JJMC89
JJMC89 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...The `newgroups` (or `new`) keys do not exist in `params` in this case. ``lang=json,name=stderr Traceback (most recent call last):Example response with parts of the log event hidden File "JJMC89_bot/e

[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: Log entry (rights) has no 'rights' key

2018-02-17 Thread JJMC89
JJMC89 added a comment. This is apparently due to a rights log event's content being hidden (revision deletion).TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, JJMC89

[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: KeyError when log event content is hidden

2018-02-17 Thread JJMC89
JJMC89 added a comment. In T187635#3981324, @zhuyifei1999 wrote: Do you have some minimum code to reproduce this issue? I've added it to the task.TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc

[Pywikipedia-bugs] [Maniphest] [Edited] T187635: KeyError when log event content is hidden

2018-02-17 Thread JJMC89
JJMC89 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...``` ```lang=python,name=Code to reproduce >>> site = pywikibot.Site('en', 'wikipedia') >>> rights_event = next(iter(site.logevents(logtype='rights', start='20180216090941', total=1))) >>>

[Pywikipedia-bugs] [Maniphest] [Created] T187635: Log entry (rights) has no 'rights' key

2018-02-17 Thread JJMC89
JJMC89 created this task.JJMC89 added projects: Pywikibot-core, MediaWiki-API.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONI don't see any recent Pywikibot changes that would cause this error. Was there a recent change to the API? stderrTraceback (most recent call last

[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: KeyError when log event content is hidden

2018-02-17 Thread JJMC89
JJMC89 added a comment. Can this be handled gracefully in Pywikibot?TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, JJMC89, Magul, Tbscho, rafidaslam, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Retitled] T187635: KeyError when log event content is hidden

2018-02-17 Thread JJMC89
JJMC89 renamed this task from "Log entry (rights) has no 'rights' key" to "KeyError when log event content is hidden".JJMC89 removed a project: MediaWiki-API.JJMC89 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONI don't see any recent Pywikibot chan

[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: KeyError when log event content is hidden

2018-02-26 Thread JJMC89
JJMC89 added a comment. In T187635#4000853, @Xqt wrote: See also T78152 I guess this is a duplicate of that. In T187635#4000936, @Xqt wrote: In T187635#3981304, @JJMC89 wrote: Can this be handled gracefully in Pywikibot? Sure. What would be a gracefull response? When attempting

[Pywikipedia-bugs] [Maniphest] [Commented On] T197642: InvalidTitle raised for title that is a newline

2018-06-18 Thread JJMC89
JJMC89 added a comment. Changing the loop to the below tells me the first problematic pageid is 2868, which is the character \x85. >>> for each_article in cat.articles(namespaces=(0)): ... try: ... print(each_article.title(withNamespace=True), each_article.pageid) ...

[Pywikipedia-bugs] [Maniphest] [Created] T197642: InvalidTitle raised for title that is a newline

2018-06-18 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION @APerson wrote: I'm getting a strange InvalidTitle error while iterating through each of the articles in the English Wikipedia's "Unprintworthy redi

[Pywikipedia-bugs] [Maniphest] [Created] T200955: Update pywikibot queries for MCR

2018-08-01 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONMediaWiki 1.32/wmf.15 updated API query modules for MCR. See rMWfb1b454e6a6f: Merge "API: Update query modules for MCR" / T200568

[Pywikipedia-bugs] [Maniphest] [Merged] T78152: log entry has no title

2018-07-05 Thread JJMC89
JJMC89 merged a task: T198934: TestLogentryParams.test_BlockEntry fails on hidden titles. TASK DETAILhttps://phabricator.wikimedia.org/T78152EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, JJMC89Cc: Dalba, Masti, Magul, Shanmugamp7, gerritbot, Xqt

[Pywikipedia-bugs] [Maniphest] [Updated] T198934: TestLogentryParams.test_BlockEntry fails on hidden titles

2018-07-05 Thread JJMC89
JJMC89 closed this task as a duplicate of T78152: log entry has no title. TASK DETAILhttps://phabricator.wikimedia.org/T198934EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Updated] T198721: SearchTestCase.test_search is failing on test.wikipedia.org

2018-07-03 Thread JJMC89
JJMC89 added subscribers: MusikAnimal, JJMC89.JJMC89 added a comment. The draft and draft talk namespaces were recently configured on testwiki (T198143: Enable Draft namespace on testwiki ) by #community-tech (@MusikAnimal).TASK DETAILhttps://phabricator.wikimedia.org/T198721EMAIL PREFERENCEShttps

[Pywikipedia-bugs] [Maniphest] [Closed] T187635: KeyError when log event content is hidden

2018-04-05 Thread JJMC89
JJMC89 closed this task as "Resolved".JJMC89 claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Xqt, Framawiki, zhuyifei1999, Aklapper, pywikibot-bugs-li

[Pywikipedia-bugs] [Maniphest] [Created] T191158: StopIteration when a user has no edits/logs

2018-03-31 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONWhen a user doesn't have any edits/logs, it would be better to return None instead of getting a StopIteration exception. >>> import pywikibot

[Pywikipedia-bugs] [Maniphest] [Updated] T191145: ProtectEntry logevent does not has 'ns' key

2018-03-31 Thread JJMC89
JJMC89 added a comment. This is likely T187635: KeyError when log event content is hidden request{ "action": "query", "format": "json", "list": "logevents", "letype": "protect", "lestart": &qu

[Pywikipedia-bugs] [Maniphest] [Commented On] T191145: ProtectEntry logevent does not has 'ns' key

2018-03-31 Thread JJMC89
JJMC89 added a comment. actionhidden means there is no 'ns', 'title', 'pageid', 'logpage', 'params', 'action'. suppressed means it was suppressed, not just hidden.TASK DETAILhttps://phabricator.wikimedia.org/T191145EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Changed Status] T188512: Access denied for user 'nadwi'@'10.64.37.14'

2018-04-01 Thread JJMC89
JJMC89 changed the task status from "Stalled" to "Open".JJMC89 edited projects, added Toolforge, Data-Services; removed Pywikibot-core.JJMC89 added a comment. This isn't an issue with Pywikibot. If anything, there is an issue with your credentials on Toolfo

[Pywikipedia-bugs] [Maniphest] [Closed] T191158: StopIteration when a user has no edits/logs

2018-04-01 Thread JJMC89
JJMC89 claimed this task.JJMC89 closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T191158EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, JJMC89, Versusxo, Majestic

[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: KeyError when log event content is hidden

2018-04-04 Thread JJMC89
JJMC89 added a comment. @Xqt API request{ "action": "query", "format": "json", "list": "logevents", "letype": "delete" } One event in response while logged out{ "logid":339405, "actionhidd

[Pywikipedia-bugs] [Maniphest] [Edited] T208463: _tkinter in PAWS

2018-10-31 Thread JJMC89
JJMC89 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...I receive an error: `ImportError: No module named '_tkinter', please install the python3-tk package` ``` @PAWS:~$ pwb.py imagecopy.py -lang:az -cat:"Fayllar:Azad fayllar"...@PAWS:~$ ``` my settings:

[Pywikipedia-bugs] [Maniphest] [Updated] T208105: Query wikidata based on wikimedia pageviews

2018-10-27 Thread JJMC89
JJMC89 removed a project: Pywikibot. TASK DETAILhttps://phabricator.wikimedia.org/T208105EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Arybolab, JJMC89Cc: Husky, Aklapper, pywikibot-bugs-list, Arybolab, Vemonet, A_ka_es, Teffubud, S9a8m, Dja, Elvalente

[Pywikipedia-bugs] [Maniphest] [Claimed] T209555: Add shnwikipedia to pywikibot

2018-11-14 Thread JJMC89
JJMC89 claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T209555EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba

[Pywikipedia-bugs] [Maniphest] [Updated] T209555: Add shnwikipedia to pywikibot

2018-11-14 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T209555EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Created] T214286: site.page_restrictions doesn't return the protection when a page is create protected

2019-01-21 Thread JJMC89
JJMC89 created this task.JJMC89 added a project: Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONsite.page_restrictions() raises pywikibot.exceptions.NoPage when a page is create protected. For pages that do not exist, I would expect something

[Pywikipedia-bugs] [Maniphest] [Closed] T212572: replace.py with -titleregex parameter does not work

2018-12-22 Thread JJMC89
JJMC89 closed this task as "Invalid".JJMC89 added a comment. As the warning says, a generator was not provided, only a filter (-titleregex). If you want to work on all pages, you could use -start.TASK DETAILhttps://phabricator.wikimedia.org/T212572EMAIL PREFER

[Pywikipedia-bugs] [Maniphest] [Updated] T212572: replace.py with -titleregex parameter does not work

2018-12-22 Thread JJMC89
JJMC89 removed a project: Pywikibot-replace.py.JJMC89 updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION```name=Example command and response $@PAWS:~$ pwb.py versionreplace -family:wikisource -lang:te -titleregex:".*" Pywikibot: [https] r-pywikibot-core.git (0185e

[Pywikipedia-bugs] [Maniphest] [Claimed] T210048: Add Shan Wikipedia welcome template to welcome.py

2018-11-20 Thread JJMC89
JJMC89 claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T210048EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx

[Pywikipedia-bugs] [Maniphest] [Claimed] T210047: Add Shan Wikipedia to clean_sandbox.py

2018-11-20 Thread JJMC89
JJMC89 claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T210047EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx

[Pywikipedia-bugs] [Maniphest] [Updated] T210480: Update Arabic (ar) translation for welcome.py (patch against Pywikibot core)

2018-11-27 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T210480EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Updated] T210048: Add Shan Wikipedia welcome template to welcome.py

2018-11-21 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T210048EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Updated] T210047: Add Shan Wikipedia to clean_sandbox.py

2018-11-21 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T210047EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: gerritbot, Aklapper, pywikibot-bugs-list, Saimawnkham, Ninjastrikers, Wenyi, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Claimed] T210480: Update Arabic (ar) translation for welcome.py (patch against Pywikibot core)

2018-11-27 Thread JJMC89
JJMC89 claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T210480EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb

[Pywikipedia-bugs] [Maniphest] [Triaged] T210480: Update Arabic (ar) translation for welcome.py (patch against Pywikibot core)

2018-11-27 Thread JJMC89
JJMC89 triaged this task as "Normal" priority. TASK DETAILhttps://phabricator.wikimedia.org/T210480EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, A

[Pywikipedia-bugs] [Maniphest] [Commented On] T150093: category with move action should not save a soft redirect

2019-03-24 Thread JJMC89
JJMC89 added a comment. In T150093#5052169 <https://phabricator.wikimedia.org/T150093#5052169>, @Dvorapa wrote: > To me the first option seems reasonable Ok, my patch follows that. TASK DETAIL https://phabricator.wikimedia.org/T150093 EMAIL PREFERENCE

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T150093: category with move action should not save a soft redirect

2019-03-24 Thread JJMC89
JJMC89 added a subscriber: Dvorapa. JJMC89 added a comment. I'm moving this discussion from Gerrit to the task. @dvorapa wrote: > > @Xqt wrote: > > > >> @JJMC89 wrote: > >> > >>> @dvorapa wrote: > >>> In movepa

[Pywikipedia-bugs] [Maniphest] [Commented On] T57081: Implement support for Flagged Revisions in Pywikibot

2019-04-03 Thread JJMC89
JJMC89 added a comment. In T57081#5083626 <https://phabricator.wikimedia.org/T57081#5083626>, @Dvorapa wrote: > Per https://en.wikipedia.org/wiki/Wikipedia:Flagged_revisions English Wikipedia made FlaggedRevisions available only for some articles, where Administrat

[Pywikipedia-bugs] [Maniphest] [Commented On] T57081: Implement support for Flagged Revisions in Pywikibot

2019-04-05 Thread JJMC89
JJMC89 added a comment. In T57081#5089034 <https://phabricator.wikimedia.org/T57081#5089034>, @Jwu96 wrote: > @JJMC89 Is this your bot? :) Yes, but I don't know what wiki that is. TASK DETAIL https://phabricator.wikimedia.org/T57081 EMAIL PREFERENCE

[Pywikipedia-bugs] [Maniphest] [Commented On] T57081: Implement support for Flagged Revisions in Pywikibot

2019-04-06 Thread JJMC89
JJMC89 added a comment. Thanks. huwiki it is. <https://hu.wikipedia.org/wiki/Wikip%C3%A9dia:B%C3%BCrokrat%C3%A1k_%C3%BCzen%C5%91fala/Botjelentkez%C3%A9s/Arch%C3%ADv2017> TASK DETAIL https://phabricator.wikimedia.org/T57081 EMAIL PREFERENCES https://phabricator.wikimedia.org/se

[Pywikipedia-bugs] [Maniphest] [Updated] T220315: Add Gorontalo Wikipedia welcome template to welcome.py

2019-04-07 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T220315 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, Liuxinyu970226, pywikibot-bugs-list, Bennylin, Wenyi, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Claimed] T220315: Add Gorontalo Wikipedia welcome template to welcome.py

2019-04-07 Thread JJMC89
JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T220315 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, Liuxinyu970226, pywikibot-bugs-list, Bennylin, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis

[Pywikipedia-bugs] [Maniphest] [Claimed] T150093: category with move action should not save a soft redirect

2019-03-23 Thread JJMC89
JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T150093 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Framawiki, Aklapper, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo

[Pywikipedia-bugs] [Maniphest] [Commented On] T217788: Implement some kind of vandalism detection for redirect.py

2019-03-06 Thread JJMC89
JJMC89 added a comment. I'm not sure if it will help, but you might want to look at ORES edit quality <https://www.mediawiki.org/wiki/ORES#Edit_quality>. TASK DETAIL https://phabricator.wikimedia.org/T217788 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Edited] T218287: newitem.py: AttributeError: 'NoneType' object has no attribute 'output'

2019-03-14 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T218287 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, Steenth, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T199042: touch.py makes empty edits on ProofreadPage pages

2019-02-13 Thread JJMC89
JJMC89 added subscribers: Anomie, Tgr, JJMC89.JJMC89 added a comment. I've put my understanding in a table below. EffectNull editPurgePurge w/ forcelinkupdatePurge w/ forcerecursivelinkupdate Clear page's server cache{icon check, color=green}{icon check, color=green}{icon check, color=green

[Pywikipedia-bugs] [Maniphest] [Commented On] T215109: Edits saved with botflag don't show up as bot edits on wiki, even though the bot has the right and "botflag" was set to True

2019-02-03 Thread JJMC89
JJMC89 added a comment. That edit is flagged as a bot edit. Bot edits are not marked in page histories, only recent changes. You might be able to find the edit in Special:RecentChanges if you check soon enough. See below recent edits from your bot. rc_bot=1 means it is a bot edit. MariaDB

[Pywikipedia-bugs] [Maniphest] [Closed] T215108: The bot group is not properly detected on pywikibot.site.editpage()

2019-02-02 Thread JJMC89
JJMC89 closed this task as "Invalid".JJMC89 added a comment. There is a bot right and a bot group. The bot right can be assigned to groups other than bot, so the former must be checked. The bot right is commonly assigned to a flood group on some Wikimedia wikis.TASK D

[Pywikipedia-bugs] [Maniphest] [Updated] T215109: Edits saved with botflag don't show up as bot edits on wiki, even though the bot has the right and "botflag" was set to True

2019-02-02 Thread JJMC89
JJMC89 added a comment. This ticket and T215108: The bot group is not properly detected on pywikibot.site.editpage() suggest that you have an authentication/permissions problem. Assuming you are using BotPasswords or OAuth, have you enabled the highvolume grant? If you haven't, the account

[Pywikipedia-bugs] [Maniphest] [Changed Status] T214987: "pywikibot.exceptions.Error: API write action attempted without userinfo" despite being logged in

2019-02-04 Thread JJMC89
JJMC89 changed the task status from "Resolved" to "Invalid". TASK DETAILhttps://phabricator.wikimedia.org/T214987EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mike_Peel, JJMC89Cc: Jdforrester-WMF, Keegan, Aklapper, pywikibot-bugs-lis

[Pywikipedia-bugs] [Maniphest] [Updated] T223211: cfd.py throws an error after few seconds

2019-05-18 Thread JJMC89
JJMC89 edited projects, added Pywikibot-category.py, Pywikibot-Wikidata; removed Pywikibot-Scripts. JJMC89 added a comment. If there are issues in a script, it would be in category.py. I don't think the first issue is in a script: T76694: Wikibase operations fail when -simulate enabled

[Pywikipedia-bugs] [Maniphest] [Merged] T76694: Wikibase operations fail when -simulate enabled

2019-05-18 Thread JJMC89
JJMC89 merged a task: T129866: WikibasePage.editEntity fails with KeyError after null edit. JJMC89 added subscribers: TerraCodes, Ricordisamoa, Ladsgroup. TASK DETAIL https://phabricator.wikimedia.org/T76694 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Updated] T129866: WikibasePage.editEntity fails with KeyError after null edit

2019-05-18 Thread JJMC89
JJMC89 closed this task as a duplicate of T76694: Wikibase operations fail when -simulate enabled. Restricted Application added a subscriber: Liuxinyu970226. TASK DETAIL https://phabricator.wikimedia.org/T129866 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T223211: cfd.py throws an error after few seconds

2019-05-19 Thread JJMC89
JJMC89 added a comment. The second issue is occurring because the account you are using cannot move categories on enwiki, so `_update_wikibase_item()` is called. I don't know what causes the wikibase errors, but it isn't coming from cfd.py or category.py. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Commented On] T223211: cfd.py throws an error after few seconds

2019-05-19 Thread JJMC89
JJMC89 added a comment. In T223211#5196452 <https://phabricator.wikimedia.org/T223211#5196452>, @Dvorapa wrote: > It should at least mention, that I don't have rights to use the script, not throw Wikibase error... (seems like T71283 <https://phabricator.wikimedi

[Pywikipedia-bugs] [Maniphest] [Commented On] T223826: Create archive procedure for scripts

2019-05-19 Thread JJMC89
JJMC89 added a comment. In T223826#5196325 <https://phabricator.wikimedia.org/T223826#5196325>, @Dvorapa wrote: > If you have some rewritten cfd.py, which works better than currently not even working Pywikibot's cfd.py, please share it with Pywikibot! :) My scrip

[Pywikipedia-bugs] [Maniphest] [Edited] T223826: Create archive procedure for scripts

2019-05-19 Thread JJMC89
JJMC89 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223826 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Xqt, Aklapper, pywikibot-bugs-list, Multichill, Dvorapa, Viztor, DannyS712, Wenyi, Tbscho, MayS

[Pywikipedia-bugs] [Maniphest] [Commented On] T223826: Create archive procedure for scripts

2019-05-19 Thread JJMC89
JJMC89 added a comment. My most frequently used scripts: - category.py - Used by my bot via a rewrite of cfd.py. - If no one else uses this (or I get around to implementing multiple merge targets), I'll write my own without many of the complexities. - delete.py - movepages.py

[Pywikipedia-bugs] [Maniphest] [Claimed] T222094: Pywikibot: welcome.py crashes with HiddenKeyError

2019-04-29 Thread JJMC89
JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T222094 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, alanajjar, Meno25, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Updated] T222094: Pywikibot: welcome.py crashes with HiddenKeyError

2019-04-30 Thread JJMC89
JJMC89 edited projects, added Pywikibot-Other-scripts; removed Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T222094 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Xqt, Aklapper, alanajjar, Meno25, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T229293: invalid CSRF token error shown with each block

2019-08-21 Thread JJMC89
JJMC89 added a comment. In T229293#5430001 <https://phabricator.wikimedia.org/T229293#5430001>, @Huji wrote: > First of all, I found out something really interesting: when I run the bot against test.wikipedia.org it works without any issues. When I run it against fa.wikipedia.

[Pywikipedia-bugs] [Maniphest] [Created] T231263: Pywikibot cannot delete pages despite the user having sufficient rights

2019-08-26 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Pywikibot cannot delete pages despite the user having sufficient rights after ee2d6d664c30 <https://phabricator.wikimedia.

[Pywikipedia-bugs] [Maniphest] [Reopened] T231263: Pywikibot cannot delete pages despite the user having sufficient rights

2019-08-28 Thread JJMC89
JJMC89 reopened this task as "Open". JJMC89 added a comment. rPWBC5811a544278e: Check a user's rights rather than group memberships <https://phabricator.wikimedia.org/rPWBC5811a544278e644e2a330052f0fabc990010253f> did not resolve the issue. Now, with or without `syso

[Pywikipedia-bugs] [Maniphest] [Commented On] T233392: FilePage.getRedirectTarget should return a FilePage

2019-09-20 Thread JJMC89
JJMC89 added a comment. I'd go further and have `BasePage.getRedirectTarget()` return an object of the same class as the redirect. This would keep the implementation general and allow other subclasses that want the returned object to be the same class to use the method without overriding

[Pywikipedia-bugs] [Maniphest] [Updated] T234135: Trying to get pywikibot running by following documentation fails

2019-09-28 Thread JJMC89
JJMC89 added a project: Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T234135 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: pywikibot-bugs-list, Seppl2013

[Pywikipedia-bugs] [Maniphest] [Created] T237888: Pywikibot doesn't support the wmf interwiki prefix

2019-11-10 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Pywikibot doesn't support the wmf interwiki prefix, but the prefix works on wiki and is in the interwikimap (`/w/api.php?action=query=json

[Pywikipedia-bugs] [Maniphest] [Commented On] T238448: Get family info from wikidata

2019-11-17 Thread JJMC89
JJMC89 added a comment. In T238448#5669497 <https://phabricator.wikimedia.org/T238448#5669497>, @matej_suchanek wrote: > Isn't there a native API to call, eg. #sitematrix <https://phabricator.wikimedia.org/tag/sitematrix/>? Yes: `/w/api.php?action=sitematrix=js

[Pywikipedia-bugs] [Maniphest] [Created] T240084: replaceCategoryInPlace doesn't work if left-to-right mark is in the wikitext of the old category name

2019-12-07 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Steps to Reproduce: python3 pwb.py shell >>> site = pywikibot.Site('en', 'wikipedia') >>> text = '[[Cate

[Pywikipedia-bugs] [Maniphest] [Claimed] T240084: replaceCategoryInPlace doesn't work if left-to-right mark is in the wikitext of the old category name

2019-12-07 Thread JJMC89
JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T240084 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Dvorapa, Aklapper, pywikibot-bugs-list, JJMC89, AndreasTraut, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma

[Pywikipedia-bugs] [Maniphest] [Updated] T236175: #Museum voor Wereldculturen: Analyse & add correct copyright licenses to files of unknown photographers

2019-11-01 Thread JJMC89
JJMC89 removed a project: Pywikibot. JJMC89 removed a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T236175 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: MichellevL_WMNL, JJMC89 Cc: Liuxinyu970226, Ecritures

[Pywikipedia-bugs] [Maniphest] [Updated] T244077: Update clean_sandbox.py to include Meta config

2020-02-01 Thread JJMC89
JJMC89 added a project: Pywikibot-Scripts. TASK DETAIL https://phabricator.wikimedia.org/T244077 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, Liuxinyu970226, Riley_Huntley, pywikibot-bugs-list, Un1tY, Zkhalido, Hook696, Daryl

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T244077: Update clean_sandbox.py to include Meta config

2020-02-01 Thread JJMC89
JJMC89 moved this task from Needs Review to Backlog on the Pywikibot board. JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T244077 WORKBOARD https://phabricator.wikimedia.org/project/board/87/ EMAIL PREFERENCES https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Claimed] T244077: Update clean_sandbox.py to include Meta config

2020-02-01 Thread JJMC89
JJMC89 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T244077 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, Liuxinyu970226, Riley_Huntley, pywikibot-bugs-list, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Commented On] T244647: 'bot' is never part of userinfo['rights']

2020-02-08 Thread JJMC89
JJMC89 added a comment. I cannot reproduce for my bot accounts. [19:50:07]tools.nfcbot@tools-sgebastion-07:~> python3 /shared/pywikibot/core/pwb.py shell Welcome to the Pywikibot interactive shell! >>> site = pywikibot.Site() >>> site.login() >&g

[Pywikipedia-bugs] [Maniphest] [Updated] T245318: Errors on Python2 starting February 12

2020-02-14 Thread JJMC89
JJMC89 added a comment. For `APIError: badinteger: Invalid value "3|0" for integer parameter "maxlag".`, it looks like rPWBCa131de634c9d: [IMPR] use setdefault in api._add_defaults <https://phabricator.wikimedia.org/rPWBCa131de634c9dc8f2f09f3355441052

  1   2   3   4   5   6   >