[Pywikipedia-bugs] [Maniphest] [Commented On] T330488: Logged in hiddenly

2023-02-28 Thread Dalba
Dalba added a comment. I'm not sure how the `login` script works, but you should be able to workaround the main issue by calling `site.login()` in your script: import pywikibot site = pywikibot.Site() site.login() # add this line, make sure username and password_file

[Pywikipedia-bugs] [Maniphest] [Commented On] T329452: 500 server error when pulling Pywikibot i18n

2023-02-15 Thread Dalba
Dalba added a comment. Does this error also occur if you clone mirror repos ( https://github.com/wikimedia/pywikibot.git and https://github.com/wikimedia/pywikibot-i18n.git )? TASK DETAIL https://phabricator.wikimedia.org/T329452 EMAIL PREFERENCES https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Commented On] T296371: Move pywikibot tests from Travis to Github action

2021-12-08 Thread Dalba
Dalba added a comment. Hi @Xqt, Do you have access to `pywikibot` account on toolforge? (according to https://admin.toolforge.org/tool/pywikibot you do) The password for `Pywikibot-test` is stored in a file named `passwd` which only toolforge account maintainers can read. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Reopened] T189126: Cannot delete more than one page with delete.py

2019-08-24 Thread Dalba
Dalba reopened this task as "Open". Dalba added a comment. Restricted Application added a subscriber: Liuxinyu970226. According to T154324#4164161 <https://phabricator.wikimedia.org/T154324#4164161> this should also be resolvable in pywikibot itself and I think https://gerr

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

2019-08-21 Thread Dalba
Dalba added a comment. I'm curious to know if `e.info` contains any more details. Adding the following print statement to `login.py` should print it: pywikibot-core[master] $ git diff diff --git a/pywikibot/login.py b/pywikibot/login.py index 3bc76619..b9bee2b2 100644

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

2019-08-20 Thread Dalba
Dalba added a comment. In T229293#5423342 <https://phabricator.wikimedia.org/T229293#5423342>, @Huji wrote: > Mine is like this: > > ('HujiBot', BotPassword('HujiBot', 'REDACTED')) Unless your wiki's family name is `HujiBot`, it should be

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

2019-08-19 Thread Dalba
Dalba added a comment. @Huji, are having multiple pywikibot processes running on the same machine? Maybe this is a the result of a race condition between them. If so, try it with a single processes at a time. TASK DETAIL https://phabricator.wikimedia.org/T229293 EMAIL PREFERENCES https

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

2019-08-16 Thread Dalba
Dalba added a comment. In T229293#5418675 <https://phabricator.wikimedia.org/T229293#5418675>, @Huji wrote: > With BotPasswords, the CSRF error was not shown when the first block was done. When a second block was attempted, I got a Login failed error. Here are some relevant

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

2019-08-16 Thread Dalba
Dalba added a comment. In T229293#5418459 <https://phabricator.wikimedia.org/T229293#5418459>, @Huji wrote: > I believe it is because OAuth does not provide a way to ascertain the username associated with a consumer .. but should it matter? Sounds like T1423

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

2019-08-13 Thread Dalba
Dalba added a comment. Could you give BotParsswords <https://www.mediawiki.org/wiki/Manual:Pywikibot/BotPasswords> or OAuth <https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth> a try, please, and see if the same `Invalid CSRF token` error occurs or not? TASK DE

[Pywikipedia-bugs] [Maniphest] [Commented On] T224712: Attempt to login fails several times

2019-07-31 Thread Dalba
Dalba added a comment. Maybe switching to bot passwords will resolve this issue. I would suggest doing so. `action=login` has been long deprecated anyway. Switching to bot password requires: 1. access to test account to generate a password for the test sites (currently

[Pywikipedia-bugs] [Maniphest] [Closed] T165828: Add the option allowusertalk to blockuser()

2019-07-30 Thread Dalba
Dalba closed this task as "Resolved". Dalba assigned this task to Huji. Dalba added a comment. In T229288#5376439 <https://phabricator.wikimedia.org/T229288#5376439>, @gerritbot wrote: > Change 526278 **merged** by jenkins-bot: > [pywikibot/core@mas

[Pywikipedia-bugs] [Maniphest] [Merged] T165828: Add the option allowusertalk to blockuser()

2019-07-30 Thread Dalba
Dalba merged a task: T229288: Add allowusertalk to the userblock options in pywikibot. Dalba added subscribers: Huji, Xqt. Restricted Application added a subscriber: alanajjar. TASK DETAIL https://phabricator.wikimedia.org/T165828 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Updated] T229288: Add allowusertalk to the userblock options in pywikibot

2019-07-30 Thread Dalba
Dalba closed this task as a duplicate of T165828: Add the option allowusertalk to blockuser(). TASK DETAIL https://phabricator.wikimedia.org/T229288 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Xqt, Aklapper, pywikibot-bugs-list, Huji

[Pywikipedia-bugs] [Maniphest] [Commented On] T228841: test_mime_file_container of dry_api_tests.DryMimeTests is failing for Python 3.5+

2019-07-24 Thread Dalba
Dalba added a comment. In T228841#5360477 <https://phabricator.wikimedia.org/T228841#5360477>, @Xqt wrote: > Either T113120 <https://phabricator.wikimedia.org/T113120> isn't really solved or the behaviour is different from Python 2. The fix works for Python

[Pywikipedia-bugs] [Maniphest] [Unblock] T60053: Pywikibot Python 3 compatibility (tracking)

2019-07-24 Thread Dalba
Dalba closed subtask T113120: email.generator.BytesGenerator on Python 3 corrupts data by changing line endings as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T60053 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc

[Pywikipedia-bugs] [Maniphest] [Closed] T113120: email.generator.BytesGenerator on Python 3 corrupts data by changing line endings

2019-07-24 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T113120 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dalba Cc: Mpaa, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, Hook696, Daryl-TTMG, Ro

[Pywikipedia-bugs] [Maniphest] [Claimed] T224364: TestPwb.test_one_similar_script: io.StringIO is empty in Python 2.7

2019-07-20 Thread Dalba
Dalba claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T224364 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Dvorapa, Lokal_Profil, Dalba, Framawiki, Aklapper, Xqt, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho

[Pywikipedia-bugs] [Maniphest] [Commented On] T224364: TestPwb.test_one_similar_script: io.StringIO is empty in Python 2.7

2019-07-18 Thread Dalba
Dalba added a comment. Apparently this is not limited to python 2, there is a failure on py341 on appveyor: https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/builds/26087824/job/jm5299v53hmuib2q TASK DETAIL https://phabricator.wikimedia.org/T224364 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Closed] T228052: Fetching a token via "action=login" is deprecated. Use "action=query=tokens=login" instead

2019-07-15 Thread Dalba
Dalba closed this task as "Invalid". Dalba added a comment. Could not find a way to reproduce, maybe the source is somewhere other than `getCookie`... TASK DETAIL https://phabricator.wikimedia.org/T228052 EMAIL PREFERENCES https://phabricator.wikimedia.org/sett

[Pywikipedia-bugs] [Maniphest] [Closed] T228050: test_login_logout fails on my Travis CI account

2019-07-15 Thread Dalba
Dalba closed this task as "Resolved". Dalba claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T228050 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Aklapper, pywikibot-bugs-list, Dalba, Viztor, DannyS712, Wen

[Pywikipedia-bugs] [Maniphest] [Created] T228052: Fetching a token via "action=login" is deprecated. Use "action=query=tokens=login" instead

2019-07-15 Thread Dalba
Dalba created this task. Dalba added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Found the following warning in a failed job log <https://travis-ci.org/5j9/pywikibot-core/jobs/558903133#L9337>: WARNING: API w

[Pywikipedia-bugs] [Maniphest] [Created] T228050: test_login_logout fails on my Travis CI account

2019-07-15 Thread Dalba
Dalba created this task. Dalba added a project: Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION https://travis-ci.org/5j9/pywikibot-core/jobs/558833475#L1228

[Pywikipedia-bugs] [Maniphest] [Closed] T226020: `from pywikibot import *` fails with AttributeError: module 'pywikibot' has no attribute 'SiteLink'

2019-06-19 Thread Dalba
Dalba closed this task as "Resolved". Dalba assigned this task to matej_suchanek. TASK DETAIL https://phabricator.wikimedia.org/T226020 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matej_suchanek, Dalba Cc: Dvorapa, Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Edited] T226020: `from pywikibot import *` fails with AttributeError: module 'pywikibot' has no attribute 'SiteLink'

2019-06-18 Thread Dalba
Dalba updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T226020 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Aklapper, pywikibot-bugs-list, Dalba, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Created] T226020: `from pywikibot import *` fails with AttributeError: module 'pywikibot' has no attribute 'SiteLink'

2019-06-18 Thread Dalba
Dalba created this task. Dalba added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION >>> from pywikibot import * [...] pywikibot.bot.QuitKeyboardInterrupt instead. Traceback (most recent call last):

[Pywikipedia-bugs] [Maniphest] [Updated] T226020: `from pywikibot import *` fails with AttributeError: module 'pywikibot' has no attribute 'SiteLink'

2019-06-18 Thread Dalba
Dalba added a commit: rPWBC098fdae0e376: Implement badges for sitelinks. TASK DETAIL https://phabricator.wikimedia.org/T226020 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Aklapper, pywikibot-bugs-list, Dalba, Viztor, DannyS712, Wenyi

[Pywikipedia-bugs] [Maniphest] [Triaged] T225993: Basepage.purge does not warn about invalid keyword arguments

2019-06-18 Thread Dalba
Dalba triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T225993 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Aklapper, pywikibot-bugs-list, Dalba, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupo

[Pywikipedia-bugs] [Maniphest] [Created] T225993: Basepage.purge does not warn about invalid keyword arguments

2019-06-18 Thread Dalba
Dalba created this task. Dalba added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION >>> page = Page(Site(), 'a') >>> page.purge(invalid_argument=NotImplemented) Logging in to wpbeta:fa as Dalba@Da

[Pywikipedia-bugs] [Maniphest] [Closed] T225632: Skip TestValidTemplate gracefully if i18n package is missing

2019-06-14 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T225632 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dalba Cc: Aklapper, Xqt, pywikibot-bugs-list, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, j

[Pywikipedia-bugs] [Maniphest] [Claimed] T224734: logentry_tests.TestLogentryParams fails on hidden block entry titles

2019-05-31 Thread Dalba
Dalba claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T224734 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Aklapper, pywikibot-bugs-list, Dalba, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa

[Pywikipedia-bugs] [Maniphest] [Created] T224734: logentry_tests.TestLogentryParams fails on hidden block entry titles

2019-05-31 Thread Dalba
Dalba created this task. Dalba added a project: Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION https://travis-ci.org/wikimedia/pywikibot/jobs/539683617#L3655

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-30 Thread Dalba
Dalba added a comment. In T222508#5179922 <https://phabricator.wikimedia.org/T222508#5179922>, @gerritbot wrote: > Change 508893 **merged** by jenkins-bot: > [pywikibot/core@master] [bugfix] clear tokens on logout() > > https://gerrit.wikimedia.org/r/50889

[Pywikipedia-bugs] [Maniphest] [Closed] T224370: python 3.8-dev is neither >= 3.5 nor < 3.5 and also not >= 3.8

2019-05-29 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T224370 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Aklapper, pywikibot-bugs-list, Dalba, Dvorapa, Xqt, Viztor, DannyS712, Wenyi, Tbscho, May

[Pywikipedia-bugs] [Maniphest] [Commented On] T224366: Python 3.8 tests fails with werkzeug > 0.15.2 dependency

2019-05-29 Thread Dalba
Dalba added a comment. In T224366#5220554 <https://phabricator.wikimedia.org/T224366#5220554>, @Dvorapa wrote: > @Dalba It still fails with 0.15.4 My mistake, it's currently scheduled for 0.15.5.[1] [1]: https://github.com/pallets/werkzeug/blob/0.15.x/CHANGES.rs

[Pywikipedia-bugs] [Maniphest] [Reassigned] T224366: Python 3.8 tests fails with werkzeug > 0.15.2 dependency

2019-05-29 Thread Dalba
Dalba reassigned this task from Dalba to Xqt. TASK DETAIL https://phabricator.wikimedia.org/T224366 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dalba Cc: Dalba, Aklapper, Xqt, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho, MayS

[Pywikipedia-bugs] [Maniphest] [Closed] T224366: Python 3.8 tests fails with werkzeug > 0.15.2 dependency

2019-05-29 Thread Dalba
Dalba closed this task as "Resolved". Dalba claimed this task. Dalba added a comment. Werkzeug 0.15.4 is released and the upstream issue seems to have been resolved. TASK DETAIL https://phabricator.wikimedia.org/T224366 EMAIL PREFERENCES https://phabricator.wikimedia.org/sett

[Pywikipedia-bugs] [Maniphest] [Commented On] T224364: TestPwb.test_one_similar_script is not deterministic

2019-05-29 Thread Dalba
Dalba added a comment. > is not deterministic But why? Which part of the test/script is causing this behaviour? TASK DETAIL https://phabricator.wikimedia.org/T224364 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dalba Cc: Da

[Pywikipedia-bugs] [Maniphest] [Commented On] T213287: Drop support of python 2.7

2019-05-25 Thread Dalba
Dalba added a comment. In T213287#5212154 <https://phabricator.wikimedia.org/T213287#5212154>, @KTC wrote: > For information, this <https://github.com/Zitrax/FPCBot/blob/master/fpc.py> is the code, and this <https://commons.wikimedia.org/wiki/User:FPCBot#Comman

[Pywikipedia-bugs] [Maniphest] [Commented On] T194009: Herald rule for adding Upstream when a task is moved to "Upstream issues" column of pywikibot-core workboard

2019-05-16 Thread Dalba
Dalba added a comment. In T194009#5188159 <https://phabricator.wikimedia.org/T194009#5188159>, @Dvorapa wrote: > I don't like marking tasks as #upstream <https://phabricator.wikimedia.org/tag/upstream/>. > > For example if the task is #

[Pywikipedia-bugs] [Maniphest] [Updated] T216875: test_protectedpages_create is failing on enwiki

2019-02-23 Thread Dalba
Dalba closed this task as a duplicate of T205883: site_tests.TestSiteGenerators.test_protectedpages_create fail for en:wiki. TASK DETAIL https://phabricator.wikimedia.org/T216875 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Aklapper

[Pywikipedia-bugs] [Maniphest] [Merged] T205883: site_tests.TestSiteGenerators.test_protectedpages_create fail for en:wiki

2019-02-23 Thread Dalba
Dalba merged a task: T216875: test_protectedpages_create is failing on enwiki. TASK DETAIL https://phabricator.wikimedia.org/T205883 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Anomie, Dvorapa, gerritbot, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T216875: test_protectedpages_create is failing on enwiki

2019-02-23 Thread Dalba
Dalba added a comment. `APISite.protectedpages` depends on protectedtitles API <https://www.mediawiki.org/wiki/API:Protectedtitles>. I don't understand why it is returning an unprotected title here. TASK DETAIL https://phabricator.wikimedia.org/T216875 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T216875: test_protectedpages_create is failing on enwiki

2019-02-23 Thread Dalba
Dalba added a comment. The page has been revivied: https://en.wikipedia.org/w/index.php?title=Special:Log=Audrey+Geisel: - 00:27, 23 February 2019 Enigmaman (talk | contribs) restored page Audrey Geisel (14 revisions) (restoring legitimate edits) (thank) TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Created] T216875: test_protectedpages_create is failing on enwiki

2019-02-23 Thread Dalba
Dalba created this task. Dalba added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestSiteGenerators.test_protectedpages_create _ self = def

[Pywikipedia-bugs] [Maniphest] [Closed] T216829: All tests are failing

2019-02-22 Thread Dalba
Dalba closed this task as "Resolved". Dalba claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T216829 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: gerritbot, Dvorapa, Aklapper, pywikibot-bugs-list, Dalba, Xqt

[Pywikipedia-bugs] [Maniphest] [Created] T216529: Several tests are failing on wsbeta due to a TimeoutError during login

2019-02-19 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION ___ ERROR at setup of TestPageUserAction.test_purge cls = <class 'tests.page_tests.TestPageUserAct

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

2019-02-13 Thread Dalba
Dalba added a comment. Just curious, does -purge -forcerecursivelinkupdate also have a similar issue? If not, why don't you use that? Doesn't it do the same job?TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Closed] T216002: test_logpages and test_list_namespace of site_tests.TestLogPages are failing

2019-02-13 Thread Dalba
Dalba closed this task as "Resolved".Dalba assigned this task to Xqt. TASK DETAILhttps://phabricator.wikimedia.org/T216002EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Xqt

[Pywikipedia-bugs] [Maniphest] [Retitled] T216005: PetScanPageGeneratorTestCase.test_petscan sometimes fails with ReadTimeout

2019-02-13 Thread Dalba
Dalba renamed this task from "PetScanPageGeneratorTestCase.test_petscan sometimes fails with time out" to "PetScanPageGeneratorTestCase.test_petscan sometimes fails with ReadTimeout". TASK DETAILhttps://phabricator.wikimedia.org/T216005EMAIL PREFERENCEShttps://phabricator.wi

[Pywikipedia-bugs] [Maniphest] [Created] T216005: PetScanPageGeneratorTestCase.test_petscan sometimes fails with time out

2019-02-13 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot, Pywikibot-tests.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/492586313#L5113

[Pywikipedia-bugs] [Maniphest] [Retitled] T216000: tests.edit_failure_tests.TestWikibaseSaveTest.test_WbMonolingualText_invalid_text is failing

2019-02-13 Thread Dalba
Dalba renamed this task from "tests.edit_failure_tests.TestWikibaseSaveTest.test_WbMonolin gualText_invalid_text is failing" to "tests.edit_failure_tests.TestWikibaseSaveTest.test_WbMonolingualText_invalid_text is failing". TASK DETAILhttps://phabricator.wikimedia.org/T216000EM

[Pywikipedia-bugs] [Maniphest] [Updated] T216000: tests.edit_failure_tests.TestWikibaseSaveTest.test_WbMonolin gualText_invalid_text is failing

2019-02-13 Thread Dalba
Dalba added a project: Pywikibot-Wikidata. TASK DETAILhttps://phabricator.wikimedia.org/T216000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis

[Pywikipedia-bugs] [Maniphest] [Created] T216000: tests.edit_failure_tests.TestWikibaseSaveTest.test_WbMonolin gualText_invalid_text is failing

2019-02-13 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION$ export PYWIKIBOT_TEST_WRITE_FAIL=1; python -m unittest tests.edit_failure_tests.TestWikibaseSaveTest.test_WbMonolin

[Pywikipedia-bugs] [Maniphest] [Triaged] T216000: tests.edit_failure_tests.TestWikibaseSaveTest.test_WbMonolin gualText_invalid_text is failing

2019-02-13 Thread Dalba
Dalba triaged this task as "High" priority. TASK DETAILhttps://phabricator.wikimedia.org/T216000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, A

[Pywikipedia-bugs] [Maniphest] [Reassigned] T215733: proofreadpage_tests.TestPageOCR.test_do_ocr_phetools is failing

2019-02-12 Thread Dalba
Dalba reassigned this task from Xqt to Mpaa.Dalba added a subscriber: Xqt. TASK DETAILhttps://phabricator.wikimedia.org/T215733EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, DalbaCc: Xqt, gerritbot, Mpaa, Aklapper, pywikibot-bugs-list, Dalba, CucyNoiD

[Pywikipedia-bugs] [Maniphest] [Closed] T214962: pywikibot-core-tox-docker test is failing with flake8 3.7.X

2019-02-11 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T214962EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Xqt, CucyNoiD, NebulousIris, Wenyi, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Triaged] T215733: proofreadpage_tests.TestPageOCR.test_do_ocr_phetools is failing

2019-02-10 Thread Dalba
Dalba triaged this task as "High" priority. TASK DETAILhttps://phabricator.wikimedia.org/T215733EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, A

[Pywikipedia-bugs] [Maniphest] [Created] T215733: proofreadpage_tests.TestPageOCR.test_do_ocr_phetools is failing

2019-02-10 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/builds/491289516 https://travis-ci.org/wikimedia/pywikibot/jobs/491289525#L5129

[Pywikipedia-bugs] [Maniphest] [Closed] T207061: pydocstyle will drop python 2.7 support with release > 3.0.0

2019-02-10 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T207061EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris, Wenyi, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Unassigned] T133276: textlib.does_text_contain_section fails for encoded section title

2019-02-09 Thread Dalba
Dalba removed Dalba as the assignee of this task.Dalba removed a project: Patch-For-Review.Dalba added a comment. I'm do not have any plans to work on this feature in the near future.TASK DETAILhttps://phabricator.wikimedia.org/T133276EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Unblock] T194138: generate_family_files test fails on Travis and AppVeyor

2019-02-07 Thread Dalba
Dalba closed subtask T212998: generate_family_files_tests.py is failing in TestGenerateFamilyFiles.test_attributes_after_run as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T194138EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc

[Pywikipedia-bugs] [Maniphest] [Closed] T212998: generate_family_files_tests.py is failing in TestGenerateFamilyFiles.test_attributes_after_run

2019-02-07 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T212998EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Xqt, CucyNoiD, NebulousIris, Wenyi, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Commented On] T205223: Update TestProofreadPageValidSite.test_json_format to not use the deprecated `rvcontentformat` parameter

2019-02-05 Thread Dalba
Dalba added a comment. In T205223#4771011, @Mpaa wrote: This is not correct. proofreadpage.py uses "contentformat" in edit action, which is not deprecated. See https://en.wikisource.org/w/api.php?action=""> "rvcontentformat" is only used in tests, to retri

[Pywikipedia-bugs] [Maniphest] [Retitled] T205223: Update TestProofreadPageValidSite.test_json_format to not use the deprecated `rvcontentformat` parameter

2019-02-05 Thread Dalba
Dalba renamed this task from "Update proofreadpage.py to not use the deprecated `contentformat` parameter" to "Update TestProofreadPageValidSite.test_json_format to not use the deprecated `rvcontentformat` parameter".Dalba updated the task description. (Show Details) CHANGES

[Pywikipedia-bugs] [Maniphest] [Triaged] T215228: APISite.pagecategories and BasePage.categories should provide a way to filter results for hidden categories

2019-02-04 Thread Dalba
Dalba triaged this task as "Low" priority.Dalba added a comment. Prioritizing as low since it's possible to use if 'hidden' in cat.categoryinfo condition and filter them out manually. That is less efficient that directly using the API parameters, but since most pages only have a few

[Pywikipedia-bugs] [Maniphest] [Created] T215228: APISite.pagecategories and BasePage.categories should provide a way to filter results for hidden categories

2019-02-04 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONIt seems that the API already provides an option for this: clshow=[hidden|!hidden]. It's been added since MW1.14.TASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Commented On] T151540: Enable misspelling for a single misspelling page

2019-02-02 Thread Dalba
Dalba added a comment. In T151540#4922519, @Ivanhercaz wrote: In the line 188 there is a call to the method run() from the class MispellingRobot but, where is that method? It is defined in BaseBot. (MisspellingRobot inherits from DisambiguationRobot which inherits from SingleSiteBot which

[Pywikipedia-bugs] [Maniphest] [Commented On] T214962: pywikibot-core-tox-docker test is failing with flake8 3.7.X

2019-01-31 Thread Dalba
Dalba added a comment. In T214962#4919939, @Xqt wrote: But now doctests need 15 minutes and more If I'm not mistaken, flake8 uses pyflakes for --doctests. My guess is that this is probably a pyflakes problem (flake8 3.7 requires Pyflakes >= 2.1.0, < 2.2.0, while flake8 3.6 used to r

[Pywikipedia-bugs] [Maniphest] [Commented On] T214009: several tests on wikia are failing

2019-01-29 Thread Dalba
Dalba added a comment. In T214009#4894992, @gerritbot wrote: Change 485484 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [tests] Fix some api_tests for wikia https://gerrit.wikimedia.org/r/485484 This patch is targetting the following failures: 'dbrepllag

[Pywikipedia-bugs] [Maniphest] [Commented On] T214009: several tests on wikia are failing

2019-01-28 Thread Dalba
Dalba added a comment. In T214009#4895008, @gerritbot wrote: Change 485485 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [tests] Skip test_pages_with_property_generator test for wikia https://gerrit.wikimedia.org/r/485485 To be clear, this patch is trying

[Pywikipedia-bugs] [Maniphest] [Updated] T133276: textlib.does_text_contain_section fails for encoded section title

2019-01-26 Thread Dalba
Dalba added a comment. Note that with T152540: Migrate to HTML5 section ids resolved, the algorithm for section title encoding has changed on Wikimedia projects. Although according the Manual:$wgFragmentMode the legacy method is still the default for new MediaWiki installations. Related: T57206

[Pywikipedia-bugs] [Maniphest] [Created] T214669: Choose a more reasonable default value for the maxarchivesize of archivebot

2019-01-24 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-archivebot.py, Pywikibot.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThe default value of maxarchivesize parameter in archivebot.py is 1000M (which, if I'm not mistaken, means a 1GB archive

[Pywikipedia-bugs] [Maniphest] [Updated] T207582: templatesWithParams() doesn't seem to get all templates in Hebrew

2018-12-27 Thread Dalba
Dalba added a comment. Could be related to T205155.TASK DETAILhttps://phabricator.wikimedia.org/T207582EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, Xqt, Framawiki, Aklapper, pywikibot-bugs-list, Ynhockey, Ijon, Multichill, Wenyi, Mahveotm

[Pywikipedia-bugs] [Maniphest] [Closed] T212593: TestItemClaimFilterPageGenerator.test_no_qualifiers test is failing at travis and appveyor

2018-12-24 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T212593EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris, Wenyi, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Closed] T98646: testPatrol: protectednamespace-interface

2018-11-27 Thread Dalba
Dalba closed this task as "Invalid".Dalba added a comment. I could not reproduce the error. For the record, I made sure that the tested edit is on an interface page. It's possible that the internals of MW or our API handling has changed since 2015. Closing as invalid.TASK D

[Pywikipedia-bugs] [Maniphest] [Claimed] T98646: testPatrol: protectednamespace-interface

2018-11-27 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T98646EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, pywikibot-bugs-list, jayvdb, Aklapper, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, Masti, Alchimista

[Pywikipedia-bugs] [Maniphest] [Commented On] T98646: testPatrol: protectednamespace-interface

2018-11-27 Thread Dalba
Dalba added a comment. The API does not allow patrolling edit in MediaWiki namespace and returns protectednamespace-interface error code. There is no need the patrol edits in this namespace because only admins can edit it and they have autopatroll access. We can simply skip the test

[Pywikipedia-bugs] [Maniphest] [Closed] T192429: Remove flake8-invalid-escape-sequences from tox.ini

2018-11-15 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T192429EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Aklapper, pywikibot-bugs-list, Dalba, CucyNoiD, NebulousIris, Wenyi, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Unassigned] T153891: generate_family_file.py crashes for a private wiki

2018-11-03 Thread Dalba
Dalba removed Dalba as the assignee of this task. TASK DETAILhttps://phabricator.wikimedia.org/T153891EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, Betacommand, gerritbot, Xqt, Mpaa, valhallasw, MarcoAurelio, zhuyifei1999, Magul, Aklapper

[Pywikipedia-bugs] [Maniphest] [Created] T208484: TestIsbnWikibaseBot.test_isbn_format is failing with TypeError

2018-11-01 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot, Pywikibot-tests, Pywikibot-Wikidata.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/449178336#L3750 ERROR at setup

[Pywikipedia-bugs] [Maniphest] [Closed] T208303: test_Coordinate_get_globe_item_different_repo is failing

2018-10-30 Thread Dalba
Dalba closed this task as "Resolved".Dalba assigned this task to matej_suchanek.Dalba added a comment. Thanks, Matěj!TASK DETAILhttps://phabricator.wikimedia.org/T208303EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanek, DalbaCc: mate

[Pywikipedia-bugs] [Maniphest] [Updated] T208303: test_Coordinate_get_globe_item_different_repo is failing

2018-10-30 Thread Dalba
Dalba added a project: Pywikibot-Wikidata. TASK DETAILhttps://phabricator.wikimedia.org/T208303EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb

[Pywikipedia-bugs] [Maniphest] [Created] T208303: test_Coordinate_get_globe_item_different_repo is failing

2018-10-30 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot, Pywikibot-tests.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/448209151 __ TestWikibaseCoordinateNonDry.test_Coordinate_get_globe_item_different_repo

[Pywikipedia-bugs] [Maniphest] [Unassigned] T184712: Page.title(asUrl=True) should encode also slashes

2018-10-28 Thread Dalba
Dalba removed Dalba as the assignee of this task. TASK DETAILhttps://phabricator.wikimedia.org/T184712EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Yurik, Aklapper, Dalba, gerritbot, Framawiki, pywikibot-bugs-list, Blahma, CucyNoiD, NebulousIris

[Pywikipedia-bugs] [Maniphest] [Commented On] T207061: pydocstyle will drop python 2.7 support with release > 3.0.0

2018-10-26 Thread Dalba
Dalba added a comment. @Xqt, I cannot find anything about this in their release notes. Where did you learn about this?TASK DETAILhttps://phabricator.wikimedia.org/T207061EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, Dalba, Xqt, pywikibot

[Pywikipedia-bugs] [Maniphest] [Updated] T204189: Doc source and destination directories cannot be identical since Sphinx 1.8.0

2018-10-24 Thread Dalba
Dalba added a comment. I believe we can remove rstcheck and let Sphinx raise error upon warnings. But before configuring Sphinx to do that, we need to resolve the remaining warnings (T187009).TASK DETAILhttps://phabricator.wikimedia.org/T204189EMAIL PREFERENCEShttps://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Changed Status] T192429: Remove flake8-invalid-escape-sequences from tox.ini

2018-10-24 Thread Dalba
Dalba changed the task status from "Stalled" to "Open". TASK DETAILhttps://phabricator.wikimedia.org/T192429EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Aklapper, pywikibot-bugs-list, Dalba, CucyNoiD, Ne

[Pywikipedia-bugs] [Maniphest] [Updated] T207579: imagecopy_tests failing with IndexError

2018-10-24 Thread Dalba
Dalba added a comment. The test is looking for in the returned value of pageTextPost which does not have it. I've created a paste of the actual retrieved data at P7716. This might be a UI change and in which case we might need to update some parts of the imagecopy.py accordingly.TASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Closed] T201981: test_datatypes, test_entities, test_rank, and test_snaktype are failing on beta cluster sites with Timeout

2018-10-22 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T201981EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, CucyNoiD, NebulousIris, Wenyi, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Closed] T206912: archivebot.py broken with "TypeError: coercing to Unicode: need string or buffer, Page found"

2018-10-13 Thread Dalba
Dalba closed this task as "Resolved".Dalba added a comment. In T206912#4663532, @D3r1ck01 wrote: @Dalba, that patch should fix it? Yup, thanks!TASK DETAILhttps://phabricator.wikimedia.org/T206912EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To

[Pywikipedia-bugs] [Maniphest] [Updated] T206912: archivebot.py broken with "TypeError: coercing to Unicode: need string or buffer, Page found"

2018-10-13 Thread Dalba
Dalba added a project: Regression.Dalba added a comment. 8ab0d63a2b60a1839504e2ff4505f0fbd801a65e.TASK DETAILhttps://phabricator.wikimedia.org/T206912EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, Aklapper, MarcoAurelio, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Updated] T191632: l10n_tests should run only once for every committed patch

2018-10-09 Thread Dalba
Dalba added a comment. I just found b9670d9afd006969322481bf321d27e4a815d362 and I'm wondering why it's not working.TASK DETAILhttps://phabricator.wikimedia.org/T191632EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Aklapper

[Pywikipedia-bugs] [Maniphest] [Unassigned] T195893: Shall we rename Pywikibot-core Phabricator project to Pywikibot?

2018-09-29 Thread Dalba
Dalba removed Dalba as the assignee of this task.Dalba added a comment. I renamed Pywikibot-core to #Pywikibot, but I don't have access for the diffusion part. Also, if renaming them may break things up, I personally don't mind leaving them unchanged.TASK DETAILhttps://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Edited] T205772: Loading scripts/imagecopy.py should not have side effects

2018-09-29 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONWhen sphinx (or any other script), loads imagecopy.py, a new file `Uploadbot.localskips.txt` will be created in the current working directory with `{{NowCommons` as its contents. It should not be like this, building

[Pywikipedia-bugs] [Maniphest] [Created] T205772: Loading scripts/imagecopy.py should not have side effects

2018-09-29 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot-Other-scripts.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONWhen sphinx (or any other script), loads imagecopy.py, a new file Uploadbot.localskips.txt will be created in the current working

[Pywikipedia-bugs] [Maniphest] [Updated] T205696: Some isues todo for flickrripper

2018-09-28 Thread Dalba
Dalba removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T205696EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, Xqt, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx

[Pywikipedia-bugs] [Maniphest] [Closed] T205648: sparql_tests.py.TestSparql fails

2018-09-27 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T205648EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, D3r1ck01, Aklapper, Xqt, pywikibot-bugs-list, NebulousIris, Wenyi, Gaboe420

[Pywikipedia-bugs] [Maniphest] [Commented On] T186323: Travis: Major improvement to test time

2018-09-25 Thread Dalba
Dalba added a comment. Here is an idea (although I don't know how much it can help): When a commit only affects a script, there is no need to run the all tests, just the related test module for that script, the other parts have already been tested in previous commits. This should work because

[Pywikipedia-bugs] [Maniphest] [Commented On] T191632: l10n_tests should run only once for every committed patch

2018-09-25 Thread Dalba
Dalba added a comment. Here is an idea (although I don't know how much it can help): When a commit only affects a script, there is no need to run the all tests, just the related test module for that script, the other parts have already been tested in previous commits. This should work because

  1   2   3   4   5   6   7   8   9   10   >