Page MenuHomePhabricator

Dvorapa (Pavel Dvořák)
Idea generator

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Nov 8 2015, 8:24 AM (196 w, 6 d)
Availability
Available
IRC Nick
Dvorapa
LDAP User
Dvorapa
MediaWiki User
Dvorapa [ Global Accounts ]

Recent Activity

Fri, Aug 16

Dvorapa added a comment to T229859: Pywikibot meetup Wikimania hackathon 2019 .

Maybe it is as it was on Hackathon, more than 10 people interested when it was announced in the schedule, but almost no one knew about Phab task.

Fri, Aug 16, 6:49 PM · User-LokalProfil, Pywikibot, Wikimania-Hackathon-2019

Sun, Aug 11

Dvorapa added a comment to T228587: Archivebot does not work anymore for me.

The solution is ready for 5 days, but I have no time to review as I'm in the UK currently

Sun, Aug 11, 5:27 PM · Pywikibot, Pywikibot-archivebot.py

Tue, Aug 6

Dvorapa added a comment to T197935: Multiple grep results in one line displayed incorrectly.

Cool!

Tue, Aug 6, 2:45 PM · Phabricator (Upstream), Upstream
Dvorapa added a comment to T224712: Attempt to login fails several times.
  1. BotPassword should be the same for enwiki + testwiki + commons (and maybe for testwd too). Anyway this should definitely work, yes
Tue, Aug 6, 2:44 PM · Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T229859: Pywikibot meetup Wikimania hackathon 2019 .

Endorse! Continuing with meetups would be awesome as there were good outputs from the first one in terms of feedback and future direction. Unfortunately I'm in the UK for the whole August, but I'll try to be available online.

Tue, Aug 6, 11:03 AM · User-LokalProfil, Pywikibot, Wikimania-Hackathon-2019

Wed, Jul 24

Dvorapa added a comment to T218511: After opening a diff, entry on Special:Watchlist sometimes stays unread (bold).

Same here, every week I get an issue with it, fully updated Firefox, no extensions at all, will try safe mode next time it will happen.

Wed, Jul 24, 1:31 PM · Performance-Team (Radar), MW-1.34-notes (1.34.0-wmf.5; 2019-05-14), User-notice, MediaWiki-Watchlist, Growth-Team

Sun, Jul 21

Dvorapa added a comment to T228585: Counter for pages in category is below zero.

I see, could some similar recalculation be done on cswiki then?

Sun, Jul 21, 9:23 PM · MediaWiki-Categories
Dvorapa committed rPWBC49de7d5f3362: [bugfix] Fix the comparison in archivebot (authored by Dvorapa).
[bugfix] Fix the comparison in archivebot
Sun, Jul 21, 12:53 PM
Dvorapa updated subscribers of T228587: Archivebot does not work anymore for me.
Sun, Jul 21, 12:43 PM · Pywikibot, Pywikibot-archivebot.py
Dvorapa moved T228587: Archivebot does not work anymore for me from Backlog to Needs Review on the Pywikibot board.
Sun, Jul 21, 12:43 PM · Pywikibot, Pywikibot-archivebot.py
Dvorapa triaged T228587: Archivebot does not work anymore for me as High priority.
Sun, Jul 21, 12:43 PM · Pywikibot, Pywikibot-archivebot.py
Dvorapa claimed T228587: Archivebot does not work anymore for me.
Sun, Jul 21, 12:42 PM · Pywikibot, Pywikibot-archivebot.py
Dvorapa added a comment to T228587: Archivebot does not work anymore for me.

The template is correct, just the comparison does not work

Sun, Jul 21, 12:37 PM · Pywikibot, Pywikibot-archivebot.py
Dvorapa added a project to T228583: KeyError: 'count' on archivebot.py via PAWS: PAWS.
Sun, Jul 21, 12:36 PM · PAWS, Pywikibot-archivebot.py, Pywikibot
Dvorapa added a comment to T228583: KeyError: 'count' on archivebot.py via PAWS.

It also seems pywikibot on PAWS is not really up-to-date, see the apropriate line in current master: https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/scripts/archivebot.py$396

Sun, Jul 21, 12:36 PM · PAWS, Pywikibot-archivebot.py, Pywikibot
Dvorapa added a comment to T228583: KeyError: 'count' on archivebot.py via PAWS.

It seems on PAWS there is no up-to-date pywikibot-i18n, needs git submodule update

Sun, Jul 21, 12:30 PM · PAWS, Pywikibot-archivebot.py, Pywikibot
Dvorapa updated the task description for T228587: Archivebot does not work anymore for me.
Sun, Jul 21, 12:23 PM · Pywikibot, Pywikibot-archivebot.py
Dvorapa created T228587: Archivebot does not work anymore for me.
Sun, Jul 21, 12:23 PM · Pywikibot, Pywikibot-archivebot.py
Dvorapa created T228585: Counter for pages in category is below zero.
Sun, Jul 21, 12:17 PM · MediaWiki-Categories
Dvorapa added a comment to T228578: proxy in our user-config.py is throwing warning for all bots since recent parameter revomal.

Okay, so maybe remove all these deprecated, obsolete and disabled options? (there is cca 10 of them)

Sun, Jul 21, 11:07 AM · Patch-For-Review, Pywikibot
Dvorapa created T228578: proxy in our user-config.py is throwing warning for all bots since recent parameter revomal.
Sun, Jul 21, 9:06 AM · Patch-For-Review, Pywikibot

Jul 7 2019

Dvorapa added a comment to T227386: template.py fails removing a template.

Maybe? Or better to use NESTED_TEMPLATE_REGEX as suggested?

Jul 7 2019, 10:46 AM · Pywikibot
Dvorapa added a comment to T227386: template.py fails removing a template.

I never trust them because there is a restriction on nested templates.

Jul 7 2019, 8:29 AM · Pywikibot
Dvorapa added a comment to T227386: template.py fails removing a template.

Okay, just tested, this is the issue:

Jul 7 2019, 8:09 AM · Pywikibot

Jul 6 2019

Dvorapa added a comment to T227389: Support user_cosmetic.py.

Basically just another option to T107291

Jul 6 2019, 9:25 PM · Pywikibot-cosmetic-changes.py, Pywikibot
Dvorapa added a comment to T209654: Don't move categories to bottom by cc in userspace.
Jul 6 2019, 9:22 PM · Pywikibot-cosmetic-changes.py, Pywikibot
Dvorapa created T227389: Support user_cosmetic.py.
Jul 6 2019, 9:21 PM · Pywikibot-cosmetic-changes.py, Pywikibot
Dvorapa added a comment to T227386: template.py fails removing a template.

Something similar happened to me lately, I think there could be some issue with TemplateMatchBuilder in textlib.py?

Jul 6 2019, 8:44 PM · Pywikibot

Jul 2 2019

Dvorapa added a comment to T144167: CX2: Content Translation creates articles that have tags with cx-segment.

40 other catches: https://cs.wikipedia.org/w/index.php?search=insource%3A%2Fcx-segment%2Fi&title=Speci%C3%A1ln%C3%AD%3AHled%C3%A1n%C3%AD&go=J%C3%ADt+na (will remove them tomorrow)

Jul 2 2019, 10:49 AM · Language-Team (Language-2019-July-September), CX-out-of-beta, Regression, WorkType-Maintenance
Dvorapa added a comment to T144167: CX2: Content Translation creates articles that have tags with cx-segment.

Today catch: https://cs.wikipedia.org/wiki/ITVBe

Jul 2 2019, 1:33 AM · Language-Team (Language-2019-July-September), CX-out-of-beta, Regression, WorkType-Maintenance

Jun 29 2019

Dvorapa added a comment to T221344: Change subst option in template.py.

For me, safesubst/subst in template.py works weird.

Jun 29 2019, 9:29 AM · good first bug, Pywikibot-Scripts, Pywikibot

Jun 27 2019

Dvorapa added a comment to T186200: Rewrite Wikibase data model implementation.

Just today I've found another attempt of Python Wikidata UI except Pywikibot and Wikidata Integrator:

Jun 27 2019, 6:02 PM · Pywikibot-RfCs, Pywikibot-Wikidata, Pywikibot

Jun 26 2019

Dvorapa closed T226507: Port pywikibot-core to new pywikibot IV repository (tracking) as Declined.

Okay, let's move the discussion and that almost complete plan back to T213287

Jun 26 2019, 9:34 PM · Pywikibot-RfCs, Pywikibot
Dvorapa closed T226507: Port pywikibot-core to new pywikibot IV repository (tracking), a subtask of T213287: Drop support of python 2.7, as Declined.
Jun 26 2019, 9:34 PM · Pywikibot-Announce, Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

inform users via mailing list

Jun 26 2019, 12:26 PM · Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

I think we can provide a final "python2" tag in the same way.

Jun 26 2019, 10:37 AM · Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

People from the Czech community are using py2 mainly because of procrastinating with transition. Also I like the idea to push them a little bit and from the meetup, you all know I hate maintaining old crappy py2-py3 compatibility workarounds (not only in Pywikibot). And finally I like the quote: "People still using Python 2 need to understand this is not main branch anymore and should accept the fact - if they are going to use it further - that it will require extra work from them instead of devs to keep their code running."

Jun 26 2019, 8:04 AM · Pywikibot-RfCs, Pywikibot

Jun 25 2019

Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

So everyone on meetup: please do not break py2 users scripts/cronjobs, better to create new branch
Everyone in this task: let's break py2 compatibility

Jun 25 2019, 8:51 PM · Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

@valhallasw We are trying to break as little as possible. So if anyone's cron automatically updates git and it still runs under py2 (per my experience and per our Wikimedia Hackathon meetup a dominant group of users), this would break their cron scripts. That's why we are trying to freeze the current master (I like the idea of final v3 release anyway) and start a new branch from it.

Ok, if this has been discussed in depth during that meetup and this option was discussed then there's no reason to go back on the choices made.

Jun 25 2019, 7:56 PM · Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

pwbc... pywikibot core; pwbd... pywikibot... daemon?

Jun 25 2019, 6:48 PM · Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

@valhallasw We are trying to break as little as possible. So if anyone's cron automatically updates git and it still runs under py2 (per my experience and per our Wikimedia Hackathon meetup a dominant group of users), this would break their cron scripts. That's why we are trying to freeze the current master (I like the idea of final v3 release anyway) and start a new branch from it.

Jun 25 2019, 6:46 PM · Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T226507: Port pywikibot-core to new pywikibot IV repository (tracking).

First I thought we would rename old core/master. But that is not possible without breaking stuff, right?

Jun 25 2019, 4:58 PM · Pywikibot-RfCs, Pywikibot
Dvorapa added a parent task for T189321: Support for Lexicographical data/WikibaseLexeme in Pywikibot: T186200: Rewrite Wikibase data model implementation.
Jun 25 2019, 3:36 PM · Patch-For-Review, Wikidata, Lexicographical data, Pywikibot, Pywikibot-Wikidata
Dvorapa edited subtasks for T186200: Rewrite Wikibase data model implementation, added: T189321: Support for Lexicographical data/WikibaseLexeme in Pywikibot; removed: T226479: Implement support for WikibaseLexeme in Pywikibot.
Jun 25 2019, 3:36 PM · Pywikibot-RfCs, Pywikibot-Wikidata, Pywikibot
Dvorapa removed a parent task for T226479: Implement support for WikibaseLexeme in Pywikibot: T186200: Rewrite Wikibase data model implementation.
Jun 25 2019, 3:36 PM · Lexicographical data, Wikidata, Pywikibot, Pywikibot-Wikidata

Jun 24 2019

Dvorapa added a comment to T213287: Drop support of python 2.7.

I like the idea of making the current master a read-only repository/branch and start a new one. This way the development will be concentrated on one branch only, and there will be no breakage at all. Or if not read-only, then only merge important bug-fixes, but nothing else. The version should be moved to 4.0 surely (the suggested move to SemVer can be done afterwards, no need to block py2 deprecation on this).

Jun 24 2019, 5:48 PM · Pywikibot-Announce, Pywikibot-RfCs, Pywikibot
Dvorapa added a comment to T225997: IABot adds unrecognized parameter "8" into an unrelated citation template.

Okay, I understand why it does so ({{template | param1 = val1 | }}), but the parameter number is "1", not "8", so the IABot does an incorrect thing anyway.

Jun 24 2019, 3:45 PM · InternetArchiveBot (v2.0)
Dvorapa renamed T225997: IABot adds unrecognized parameter "8" into an unrelated citation template from IABot adds unrecognized parameter "8" into a unrelated citation template to IABot adds unrecognized parameter "8" into an unrelated citation template.
Jun 24 2019, 3:44 PM · InternetArchiveBot (v2.0)
Dvorapa added a comment to T225997: IABot adds unrecognized parameter "8" into an unrelated citation template.

See also:
https://cs.wikipedia.org/w/index.php?title=Sm%C3%ADchov&diff=17363802&oldid=17335542&diffmode=source
https://cs.wikipedia.org/w/index.php?title=Chebsk%C3%A1_p%C3%A1nev&diff=17390115&oldid=16709247&diffmode=source
https://cs.wikipedia.org/w/index.php?title=J%C3%A1n_Gronsk%C3%BD&diff=17411972&oldid=15460299&diffmode=source
https://cs.wikipedia.org/w/index.php?title=Ment%C3%A1ln%C3%AD_model&diff=17424070&oldid=16386751&diffmode=source
https://cs.wikipedia.org/w/index.php?title=Sv%C4%9Btov%C3%BD_poh%C3%A1r_v_biatlonu&diff=17088339&oldid=17076309&diffmode=source

Jun 24 2019, 3:39 PM · InternetArchiveBot (v2.0)
Dvorapa added a comment to T198911: ContentTranslation substitutes some templates in the references.

The "Harvnb" template itself has been changed and does not contain that leaked part anymore. The same wikitext can be found in templates Coord and Col-begin currently. Anyway, I checked for the leaked wikitext in articles and it seems it does not leak anymore. At least not in the way described here.

Jun 24 2019, 8:58 AM · Language-Team (Language-2019-April-June), ContentTranslation

Jun 23 2019

Restricted Application updated subscribers of T51904: Support "substituting" templates in transclusion dialog.
Jun 23 2019, 11:46 PM · Parsoid, VisualEditor, VisualEditor-EditingTools

Jun 22 2019

Dvorapa closed T220305: Implement -overwrite option in create_categories.py as Resolved.
Jun 22 2019, 8:35 AM · good first bug, Pywikibot-Scripts, Pywikibot

Jun 19 2019

Dvorapa closed T225861: Documentation build warning: missing attribute SiteLink in __all__ as Resolved.
Jun 19 2019, 10:12 PM · Documentation, Pywikibot, Pywikibot-Documentation
Dvorapa closed T225861: Documentation build warning: missing attribute SiteLink in __all__, a subtask of T187009: Pywikibot documentation build throws many warnings to console, as Resolved.
Jun 19 2019, 10:12 PM · Continuous-Integration-Config, good first bug, Documentation, Pywikibot, Pywikibot-Documentation

Jun 18 2019

Dvorapa added a comment to T225349: VE should respect/preserve original block formatting in block template (comments between template parameters).

Okay, but by removing format block new infoboxes will be formatted inline, which is not desired (obviously). And by setting a different value the current spaces won't be preserved. There is no such option "block when inserting, but leave as is otherwise". This issue was recently a dispute between bot owners on Czech Wikipedia and we finally agreed on a compromise to adjust our bots to leave the number of initial spaces on each line as is (if block formatting there is not broken of course).

Jun 18 2019, 10:14 PM · VisualEditor, Parsoid, VisualEditor-MediaWiki-Templates
Dvorapa added a comment to T225595: Some OCR-tests are failing at Appveyor.

It looks like googleOCR answer is not deterministic.
An option could be to check that at least x% of chars are equal instead of full equality.
The purpose is to check that the query to googleOCR is successful, not to test google algorithm.

Jun 18 2019, 9:39 PM · Pywikibot, Pywikibot-tests
Dvorapa added a comment to T225892: Support all existing beta cluster wikis.

I tried to create a Proof of Concept, see
https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/429875/9/pywikibot/families/commons_family.py
and
https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/429875/9/pywikibot/family.py

Jun 18 2019, 4:12 PM · Pywikibot
Dvorapa lowered the priority of T74674: Unable to communicate with obsolete / non-existing wikis from High to Normal.
Jun 18 2019, 4:03 PM · Pywikibot-interwiki.py, Pywikibot-compat-to-core, Pywikibot
Dvorapa edited projects for T74674: Unable to communicate with obsolete / non-existing wikis , added: Pywikibot-interwiki.py; removed Patch-For-Review.

Okay, now closed (read-only) wikis can be read by any bot. What is still to be solved:

Jun 18 2019, 4:03 PM · Pywikibot-interwiki.py, Pywikibot-compat-to-core, Pywikibot
Dvorapa updated the task description for T225349: VE should respect/preserve original block formatting in block template (comments between template parameters).
Jun 18 2019, 3:26 PM · VisualEditor, Parsoid, VisualEditor-MediaWiki-Templates
Dvorapa added a comment to T57092: combination of -untranslatedonly and -hint: doesn't work.

Seems duplicate to T57063

Jun 18 2019, 3:24 PM · Pywikibot, Pywikibot-interwiki.py
Dvorapa added a comment to T226020: `from pywikibot import *` fails with AttributeError: module 'pywikibot' has no attribute 'SiteLink'.

Perhaps similar root cause as in T225861?

Jun 18 2019, 1:03 PM · Pywikibot
Dvorapa updated subscribers of T225997: IABot adds unrecognized parameter "8" into an unrelated citation template.
Jun 18 2019, 9:36 AM · InternetArchiveBot (v2.0)
Restricted Application assigned T225997: IABot adds unrecognized parameter "8" into an unrelated citation template to Cyberpower678.
Jun 18 2019, 9:36 AM · InternetArchiveBot (v2.0)

Jun 16 2019

Dvorapa created T225892: Support all existing beta cluster wikis.
Jun 16 2019, 5:04 PM · Pywikibot

Jun 15 2019

Dvorapa added a comment to T47070: Wikitable sortable - capital letters sort both before and after small ones.

I see. But I doubt there is not any external library, that could handle this

Jun 15 2019, 9:25 PM · MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), good first bug, MediaWiki-jQuery-Tablesorter, JavaScript, MediaWiki-Interface
Dvorapa created T225861: Documentation build warning: missing attribute SiteLink in __all__.
Jun 15 2019, 10:50 AM · Documentation, Pywikibot, Pywikibot-Documentation
Dvorapa moved T199933: Pywikibot documentation newcomer tasks from Backlog to Google Code-in on the Pywikibot-Documentation board.
Jun 15 2019, 10:45 AM · Wikimedia-Hackathon-2019 (Newcomer friendly), Pywikibot-Documentation, Pywikibot

Jun 14 2019

Dvorapa added a comment to T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps.

We see in our research that newcomers wander around being confused about where to start. We think that the homepage can be a clear place that leads them to the right places for them to get started. That's why we want to make sure all newcomers know about the homepage

Jun 14 2019, 8:38 PM · GrowthExperiments, Growth-Team, Notifications

Jun 13 2019

Dvorapa added a comment to T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps.

Hi @Dvorapa -- thanks for being involved and for thinking about this. I agree that this is important, and our current strategy is to bring newcomers to the homepage as soon as we can, and that will be the moment they become confident that they've created and account and know that it's time to get started.

Jun 13 2019, 11:48 PM · GrowthExperiments, Growth-Team, Notifications
Dvorapa added a comment to T225631: test_template of l10n.TestValidTemplate fails for several sites.

On testwikis this is easy to do, see e.g. https://test.wikipedia.org/wiki/Template:Orphan_file or https://test.wikipedia.org/wiki/Template:No_license or https://test.wikipedia.org/wiki/Wikipedia:Categories_for_discussion/Working

Jun 13 2019, 6:05 PM · Patch-For-Review, Pywikibot, Pywikibot-i18n, Pywikibot-tests
Dvorapa changed the subtype of T225591: Make Travis and Appveyor pass again from "Task" to "Goal".
Jun 13 2019, 5:51 PM · Goal, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T225595: Some OCR-tests are failing at Appveyor.

Also on Travis sometimes

Jun 13 2019, 5:40 PM · Pywikibot, Pywikibot-tests
Dvorapa updated the task description for T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps.
Jun 13 2019, 4:56 PM · GrowthExperiments, Growth-Team, Notifications
Dvorapa updated the task description for T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps.
Jun 13 2019, 4:53 PM · GrowthExperiments, Growth-Team, Notifications
Dvorapa renamed T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps from It should be obvious new user first notification is clickable to Newcomers should be aware of the successful registration and also be acquaint with next steps.
Jun 13 2019, 4:53 PM · GrowthExperiments, Growth-Team, Notifications
Dvorapa added a comment to T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps.

What I experienced today after registration on Travis-CI forum (could something similar be achieved by GuidedTour?):

Jun 13 2019, 4:30 PM · GrowthExperiments, Growth-Team, Notifications
Dvorapa updated subscribers of T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps.
Jun 13 2019, 4:28 PM · GrowthExperiments, Growth-Team, Notifications
Dvorapa added a comment to T225729: test.wikipedia.org has two family files.

Sure, that's why I marked it WIP a month ago!

Jun 13 2019, 4:27 PM · Pywikibot
Dvorapa added a comment to T225729: test.wikipedia.org has two family files.

Yes, this is an old issue. I sovled it partially in https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/429875/ perhaps we could use some code out of there too.

Jun 13 2019, 4:06 PM · Pywikibot
Dvorapa updated subscribers of T212280: Newcomers should be aware of the successful registration and also be acquaint with next steps.

@MMiller_WMF Hi, on Hackathon we discussed newcomers should be more aware of the successfully created account.

Jun 13 2019, 1:56 PM · GrowthExperiments, Growth-Team, Notifications
Dvorapa added a project to T225723: APISite.fromDBName does not work for some wikis: Pywikibot.
Jun 13 2019, 1:47 PM · Patch-For-Review, Pywikibot
Dvorapa added a comment to T220164: osm4wiki generating around 300 perl processes wherever it runs, which overloads the server for purposes of gridengine.

Hi, what's up? The ?kml= parameter is still not working (see OSM in comparison to Bing) and the encoding still has the issues (see OSM in comparison to Bing). The page is weirdly shown in western encoding instead of UTF-8 and if I manually switch to UTF-8 in my browser, I get broken some letters anyway. Are you sure you saved the code in correct encoding?

Jun 13 2019, 10:39 AM · Tools

Jun 12 2019

Dvorapa added a comment to T225631: test_template of l10n.TestValidTemplate fails for several sites.

Why not create one?

Jun 12 2019, 2:48 PM · Patch-For-Review, Pywikibot, Pywikibot-i18n, Pywikibot-tests
Dvorapa renamed T225595: Some OCR-tests are failing at Appveyor from Some ORC-tests are failing at Appveyor to Some OCR-tests are failing at Appveyor.
Jun 12 2019, 1:28 PM · Pywikibot, Pywikibot-tests
Dvorapa added a comment to T224364: TestPwb.test_one_similar_script: io.StringIO is empty in Python 2.7 .

For me, both Python 2 and 3 works the same. Only the read() works just once (as a stream), so better to copy the captured string.

Python 3.7
$ python pwb.py shell
Welcome to the Pywikibot interactive shell!
>>> from tests.utils import execute_pwb
tests: max_retries reduced from 15 to 1
>>> import io
>>> stream = execute_pwb(['hello'], data_in=chr(3), timeout=6)
>>> stderr = io.StringIO(stream['stderr'])
>>> print(stderr.read())
ERROR: hello.py not found! Misspelling?
NOTE: Starting the most similar script shell.py ***
      in 5.0 seconds; type CTRL-C to stop.
Welcome to the Pywikibot interactive shell!
Jun 12 2019, 1:26 PM · Pywikibot, Pywikibot-tests

Jun 11 2019

Dvorapa added a comment to T137805: API action=login is deprecated.

I see. I'm not sure I understand correctly, where the file would be located, but anyway, this seems doable.

Jun 11 2019, 8:41 PM · Pywikibot-tests, Pywikibot, Pywikibot-login.py
Dvorapa added a comment to T225465: UserWarning: Interwiki removal is in wikipedia codes.

Okay, so remove the warning completely?

Jun 11 2019, 7:07 AM · Patch-For-Review, Pywikibot-tests, Pywikibot

Jun 10 2019

Dvorapa added a comment to T218511: After opening a diff, entry on Special:Watchlist sometimes stays unread (bold).

Sometimes I visit a new watchlist entry, the entry becomes seen, but some - already visited - change underneath gets marked as unseen. I click to that change and it is marked as seen, but the first entry is marked as unseen back.

Jun 10 2019, 9:53 PM · Performance-Team (Radar), MW-1.34-notes (1.34.0-wmf.5; 2019-05-14), User-notice, MediaWiki-Watchlist, Growth-Team
Dvorapa created T225465: UserWarning: Interwiki removal is in wikipedia codes.
Jun 10 2019, 9:37 PM · Patch-For-Review, Pywikibot-tests, Pywikibot
Dvorapa added a comment to T137805: API action=login is deprecated.

What do you do now, without BotPasswords? Have your test account have the same password everywhere?

Jun 10 2019, 9:29 PM · Pywikibot-tests, Pywikibot, Pywikibot-login.py
Dvorapa added a comment to T137805: API action=login is deprecated.
  • I believe it is possible to pass the botpassword in the classic login process by using "prefix@password" as password (this is not clearly documented on mw.org but is shown after creating a botpassword).

It is indeed. That option was added specifically with pywikibot in mind, see T142304: Allow using a bot password with base username .

Jun 10 2019, 7:49 PM · Pywikibot-tests, Pywikibot, Pywikibot-login.py
Dvorapa added a comment to T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?.

Okay, now only SpamBlacklist and too long pages fixes are needed, thanks @Mh-3110 for your work!

Jun 10 2019, 6:51 PM · good first bug, Pywikibot-Scripts, Pywikibot
Dvorapa added a comment to T225417: mo-wiki is not obsolete but redirected to ro-wiki.
In T225417, @Xqt wrote:
  • mo.wikitionary.org is redirected to ro.wiktionary.org

This doesn't seem to be true. At least my browser gets a server not found... On the other hand ro.wiktionary.org also doesn't exist.

Jun 10 2019, 12:11 PM · Patch-For-Review, Pywikibot
Dvorapa updated the task description for T225417: mo-wiki is not obsolete but redirected to ro-wiki.
Jun 10 2019, 12:10 PM · Patch-For-Review, Pywikibot

Jun 8 2019

Dvorapa renamed T225349: VE should respect/preserve original block formatting in block template (comments between template parameters) from VE should respect/preserve comments in block template formatting to VE should respect/preserve original block formatting in block template.
Jun 8 2019, 11:50 AM · VisualEditor, Parsoid, VisualEditor-MediaWiki-Templates
Dvorapa updated the task description for T225349: VE should respect/preserve original block formatting in block template (comments between template parameters).
Jun 8 2019, 11:44 AM · VisualEditor, Parsoid, VisualEditor-MediaWiki-Templates
Dvorapa created T225349: VE should respect/preserve original block formatting in block template (comments between template parameters).
Jun 8 2019, 11:42 AM · VisualEditor, Parsoid, VisualEditor-MediaWiki-Templates

Jun 7 2019

Dvorapa updated the task description for T221801: Pywikibot meetup wikimedia hackathon 2019 (usage and/or development workshop, issues and future discussion, other stuff to talk about).
Jun 7 2019, 2:10 PM · Pywikibot, Wikimedia-Hackathon-2019
Dvorapa closed T221801: Pywikibot meetup wikimedia hackathon 2019 (usage and/or development workshop, issues and future discussion, other stuff to talk about) as Resolved.

Follow-up tasks created already, marking as resolved then

Jun 7 2019, 1:51 PM · Pywikibot, Wikimedia-Hackathon-2019