Page MenuHomePhabricator

Wesalius (Jonáš Dyba)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 15 2014, 8:15 PM (257 w, 3 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Wesalius [ Global Accounts ]

Recent Activity

May 11 2019

Wesalius created T222998: Automatic fix (linebreak removal) after preview or publishing page results in bad transclusion.
May 11 2019, 7:51 AM · Wikisource

Jan 4 2019

Wesalius added a comment to T212723: generate_user_files creates user-config.py with mode 777 on WSL, and then pywikibot refuse to load the config for security.

@Wesalius Then there are two possibilities:
a) you have bot.py, generate_user_files.py, pwb.py or config2.py in 777 and the user-config.py is created by those files with inherited permissions: you should reset permissions for these files (to 644, ideally for all Pywikibot files)
b) your (file)system defaults new files to 777: there is nothing we can do with this, you can try to change it somehow

Jan 4 2019, 8:28 PM · Pywikibot
Wesalius added a comment to T212723: generate_user_files creates user-config.py with mode 777 on WSL, and then pywikibot refuse to load the config for security.

Resolved with setting correct permissions to user-config.py. The file has to be only readable. The generate-user-files.py produces a 777 user-config.py file.

Jan 4 2019, 5:17 PM · Pywikibot

Jan 3 2019

Wesalius updated the task description for T212837: Commons android app refuses to upload images that had been cropped/edited in smartphone.
Jan 3 2019, 9:55 AM · Wikipedia-Android-App-Backlog, Android-app-Bugs
Wesalius created T212837: Commons android app refuses to upload images that had been cropped/edited in smartphone.
Jan 3 2019, 9:52 AM · Wikipedia-Android-App-Backlog, Android-app-Bugs

Dec 31 2018

Wesalius added a comment to T212723: generate_user_files creates user-config.py with mode 777 on WSL, and then pywikibot refuse to load the config for security.

ERROR: Username for test:test is undefined.
usernames['wikipedia']['cs'] = u'Wesalius'

@Wesalius: Your bot is running on site test:test but you defined a user for wikipedia:cs only.

Dec 31 2018, 3:27 PM · Pywikibot
Wesalius added a comment to T212723: generate_user_files creates user-config.py with mode 777 on WSL, and then pywikibot refuse to load the config for security.
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, unicode_literals
Dec 31 2018, 11:03 AM · Pywikibot
Wesalius created T212723: generate_user_files creates user-config.py with mode 777 on WSL, and then pywikibot refuse to load the config for security.
Dec 31 2018, 10:36 AM · Pywikibot

Nov 4 2018

Wesalius added a comment to T153255: Promote the signature button to the toolbar (or somewhere else more prominent) in VE/NWE.

It is a complete nonsense to hide the signature button in three-click depth, this decision is increasing the "cognitive overhead" and not the other way around. Anyone who ever participated in a discussion on a Village pump understands what I am talking about. Decline of this issue seems to me more of "dont bother us" than a thought based resolution.

Nov 4 2018, 9:01 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Sep 26 2018

Wesalius placed T203395: (Re)move unused code reported by Vulture up for grabs.

I would need a mentor myself :-) Ok, leaving it then...

Sep 26 2018, 10:12 AM · Patch-For-Review, good first bug, Pywikibot
Wesalius updated subscribers of T203395: (Re)move unused code reported by Vulture.

@Xqt I already contributed to pwb, should I leave this to newcomers for their first commit? (reacting to goodfirstbug tag)

Sep 26 2018, 6:27 AM · Patch-For-Review, good first bug, Pywikibot

Sep 16 2018

Wesalius added a watcher for SDC General: Wesalius.
Sep 16 2018, 5:57 AM

Sep 11 2018

Wesalius claimed T203395: (Re)move unused code reported by Vulture.
Sep 11 2018, 3:21 PM · Patch-For-Review, good first bug, Pywikibot

Jul 5 2018

Wesalius added a comment to T197841: Allow to append to the output page on category.py listify.

I see. In that case a section header should be implemented too.

Jul 5 2018, 4:57 AM · User-D3r1ck01, Patch-For-Review, good first bug, Pywikibot, Pywikibot-category.py
Wesalius added a comment to T197841: Allow to append to the output page on category.py listify.

What would be the reason to keep the outdated list? Isn’t it better to look at version history’s difference?

Jul 5 2018, 4:48 AM · User-D3r1ck01, Patch-For-Review, good first bug, Pywikibot, Pywikibot-category.py

Jul 4 2018

Wesalius renamed T198812: Hint the user to use the -force option when output already has content from Hint the user to use the -overwrite option when output already has content to Hint the user to use the -force option when output already has content.
Jul 4 2018, 10:06 PM · Pywikibot-Scripts, Patch-For-Review, Pywikibot
Wesalius triaged T198812: Hint the user to use the -force option when output already has content as Normal priority.
Jul 4 2018, 9:50 PM · Pywikibot-Scripts, Patch-For-Review, Pywikibot
Wesalius created T198812: Hint the user to use the -force option when output already has content.
Jul 4 2018, 7:37 PM · Pywikibot-Scripts, Patch-For-Review, Pywikibot
Wesalius added a comment to T196851: Evaluate BaseBot class usage across scripts.

when listifying, the script outputs affected pages fine, when moving categories, there is no output

What output do you expect? Could you give an example.

Jul 4 2018, 4:30 PM · Patch-For-Review, Pywikibot
Wesalius created T198780: More helpful error message on already existent page when listifying.
Jul 4 2018, 5:35 AM · Pywikibot-category.py
Wesalius added a comment to T196851: Evaluate BaseBot class usage across scripts.

when listifying, the script outputs affected pages fine, when moving categories, there is no output

Jul 4 2018, 5:21 AM · Patch-For-Review, Pywikibot

Jul 1 2018

Wesalius renamed T196851: Evaluate BaseBot class usage across scripts from 8abaaaaaaa to Evaluate BaseBot class usage across scripts.
Jul 1 2018, 10:34 AM · Patch-For-Review, Pywikibot
Wesalius renamed T197841: Allow to append to the output page on category.py listify from qjaaaaaaaa to Allow to append to the output page on category.py listify.
Jul 1 2018, 10:33 AM · User-D3r1ck01, Patch-For-Review, good first bug, Pywikibot, Pywikibot-category.py
Wesalius renamed T197830: All pages have an error in the graphs section: unable to write file from 1jaaaaaaaa to All pages have an error in the graphs section: unable to write file.
Jul 1 2018, 10:31 AM · WikiApiary

Jun 30 2018

Framawiki awarded T197998: Normalize script names a Like token.
Jun 30 2018, 7:52 AM · Patch-For-Review, Pywikibot

Jun 23 2018

Wesalius closed T116585: 'NoneType' object has no attribute '__getitem__' as Resolved.

Probably is, I did not run into the error again since posting.

Jun 23 2018, 11:56 AM · TestMe, Pywikibot-replace.py
Wesalius triaged T197841: Allow to append to the output page on category.py listify as Low priority.
Jun 23 2018, 11:55 AM · User-D3r1ck01, Patch-For-Review, good first bug, Pywikibot, Pywikibot-category.py
Wesalius added a comment to T196851: Evaluate BaseBot class usage across scripts.

I am removing myself since it looks beyond my python knowledge. When creating the task I naively hoped to just add a simple counter to the script that missed the "x pages written output".

Jun 23 2018, 11:54 AM · Patch-For-Review, Pywikibot
Wesalius placed T196851: Evaluate BaseBot class usage across scripts up for grabs.
Jun 23 2018, 11:52 AM · Patch-For-Review, Pywikibot
Wesalius created T197998: Normalize script names.
Jun 23 2018, 6:03 AM · Patch-For-Review, Pywikibot

Jun 21 2018

Wesalius created T197841: Allow to append to the output page on category.py listify.
Jun 21 2018, 4:56 AM · User-D3r1ck01, Patch-For-Review, good first bug, Pywikibot, Pywikibot-category.py

Jun 17 2018

Wesalius added a comment to T197529: 'instancemethod' object has no attribute '__full_name__'.

I am a noob programer, what is the outcome for me? That it might change again in the future?

Jun 17 2018, 9:46 AM · Patch-For-Review, Pywikibot
Wesalius added a comment to T197529: 'instancemethod' object has no attribute '__full_name__'.

I tried your patched version, no error now, works like a charm.

Jun 17 2018, 9:36 AM · Patch-For-Review, Pywikibot
Wesalius created T197529: 'instancemethod' object has no attribute '__full_name__'.
Jun 17 2018, 7:24 AM · Patch-For-Review, Pywikibot

Jun 11 2018

Wesalius added a comment to T196851: Evaluate BaseBot class usage across scripts.

so the thing to do here is to check where and why the scripts overwrite the basebot run method?

Yes. And which script does not use BaseBot classes.

Jun 11 2018, 6:47 PM · Patch-For-Review, Pywikibot
Wesalius renamed T196851: Evaluate BaseBot class usage across scripts from Add "no. of pages changed" output to pwb scripts to Evaluate BaseBot class usage across scripts.
Jun 11 2018, 6:27 AM · Patch-For-Review, Pywikibot

Jun 10 2018

Wesalius added a comment to T196851: Evaluate BaseBot class usage across scripts.

so the thing to do here is to check where and why the scripts overwrite the basebot run method?

Jun 10 2018, 8:40 PM · Patch-For-Review, Pywikibot
Wesalius triaged T196851: Evaluate BaseBot class usage across scripts as Low priority.
Jun 10 2018, 4:14 PM · Patch-For-Review, Pywikibot
Wesalius created T196851: Evaluate BaseBot class usage across scripts.
Jun 10 2018, 4:13 PM · Patch-For-Review, Pywikibot

Jun 9 2018

Wesalius closed T196562: Pagefromfile.py script returns errors as Resolved.
Jun 9 2018, 9:07 PM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Wesalius added a comment to T196562: Pagefromfile.py script returns errors.

I tested the Change 439446 on 2 different wikis, seems to work fine, no error produced.

Jun 9 2018, 9:05 PM · Patch-For-Review, Pywikibot-Scripts, Pywikibot

Jun 8 2018

Wesalius updated the task description for T196777: AttributeError: 'tuple' object has no attribute 'site' when running pagefromfile.py.
Jun 8 2018, 8:10 PM · Pywikibot
Wesalius created T196777: AttributeError: 'tuple' object has no attribute 'site' when running pagefromfile.py.
Jun 8 2018, 8:04 PM · Pywikibot

Jun 6 2018

Wesalius awarded T48556: [Epic] Wikidata 3rd party client (Instant Wikidata) a Yellow Medal token.
Jun 6 2018, 8:30 PM · Epic, Wikidata, MediaWiki-extensions-WikibaseClient

Jun 5 2018

Wesalius closed T148795: MemoryError when replacing using xml dump as Invalid.

did not happen again, if someone else gets this error, feel free to reopen

Jun 5 2018, 6:59 PM · Pywikibot, Pywikibot-replace.py

Jun 4 2018

Wesalius closed T196382: Fix treatment of %(quarter) variable value in archivebot.py as Invalid.
Jun 4 2018, 4:46 PM · Patch-For-Review, good first bug, Pywikibot-archivebot.py
Wesalius closed T192266: Add %(semester) to the list of time variables allowed as Resolved.
Jun 4 2018, 4:23 PM · Patch-For-Review, good first bug, Pywikibot-archivebot.py, Pywikibot
Wesalius created T196382: Fix treatment of %(quarter) variable value in archivebot.py.
Jun 4 2018, 3:59 PM · Patch-For-Review, good first bug, Pywikibot-archivebot.py
Wesalius claimed T192266: Add %(semester) to the list of time variables allowed.
Jun 4 2018, 12:41 PM · Patch-For-Review, good first bug, Pywikibot-archivebot.py, Pywikibot

Jun 3 2018

Wesalius removed a watcher for Striker: Wesalius.
Jun 3 2018, 7:14 PM

May 25 2018

Wesalius added a comment to T151438: Edit pages only if edit size/number of characters changed is above threshold.

I am not completely sure what I meant by pwb already estimates that (deleted from the description now, but I guess
it was either that pwb shows for ex. @@ -130,2 +130,2 @@ above the proposed edit or it tells you the bytes it has changed after the save edit (which is not estimating, I know).

May 25 2018, 2:58 PM · Google-Code-in-2018, Google-Code-in-2017, Pywikibot, Pywikibot-cosmetic-changes.py
Wesalius updated the task description for T151438: Edit pages only if edit size/number of characters changed is above threshold.
May 25 2018, 2:54 PM · Google-Code-in-2018, Google-Code-in-2017, Pywikibot, Pywikibot-cosmetic-changes.py

Apr 7 2018

Wesalius added a watcher for Striker: Wesalius.
Apr 7 2018, 4:29 AM

Mar 5 2018

Thibaut120094 awarded T129529: Make -inplace the default behavior in category.py a Like token.
Mar 5 2018, 2:04 PM · Pywikibot, Pywikibot-category.py

Feb 26 2017

Wesalius removed a watcher for Pywikibot-Wikidata: Wesalius.
Feb 26 2017, 5:10 PM
Wesalius removed a watcher for MediaWiki-extensions-Widgets: Wesalius.
Feb 26 2017, 5:10 PM
Wesalius removed a watcher for WikiApiary: Wesalius.
Feb 26 2017, 5:10 PM
Wesalius removed a watcher for Pywikibot-cosmetic-changes.py: Wesalius.
Feb 26 2017, 5:08 PM
Wesalius removed a watcher for Toolforge: Wesalius.
Feb 26 2017, 5:05 PM

Feb 9 2017

Wesalius closed T149405: Improve outcome of http://tools.wmflabs.org/?status proposal as Resolved.

This is duplicate of T69737

Feb 9 2017, 12:41 PM · Toolforge, Cloud-Services

Jan 16 2017

Wesalius added a comment to T155356: Make -notitle the default behavior in pagefromfile.py.

Just found out I can switch this function of with -notitle switch, but the original request stays in place. This should be opt-in function.

Jan 16 2017, 7:42 AM · Patch-For-Review, Pywikibot-Scripts, Pywikibot

Jan 15 2017

Wesalius created T155356: Make -notitle the default behavior in pagefromfile.py.
Jan 15 2017, 4:21 PM · Patch-For-Review, Pywikibot-Scripts, Pywikibot

Dec 18 2016

Wesalius added a comment to T151609: Port CopyPatrol to Czech Wikipedia.

Thank you.

Dec 18 2016, 6:11 AM · Community-Tech, CopyPatrol

Dec 16 2016

matej_suchanek awarded T151609: Port CopyPatrol to Czech Wikipedia a Like token.
Dec 16 2016, 2:06 PM · Community-Tech, CopyPatrol

Dec 6 2016

Wesalius created T152481: Add "wikitext recognition and transformation" function of VE to ContentTranslation tool.
Dec 6 2016, 7:44 AM · Language-2018-Jan-Mar, ContentTranslation
Wesalius added a comment to T151609: Port CopyPatrol to Czech Wikipedia.

I cant come up with anything better so go ahead and knock the last one out ;-)

Dec 6 2016, 7:31 AM · Community-Tech, CopyPatrol
Wesalius added a comment to T111513: IWM: APISite.article_path does not support sites using trailing '/'.

Can someone review and merge pls? I get error reffering to this bug saying on many articles at cs.wiki

Dec 6 2016, 7:30 AM · Pywikibot
Wesalius added a comment to T151609: Port CopyPatrol to Czech Wikipedia.

@Urbanecm Thank you very much. Only string left to translate is "Image attribution". I am unable to come up with anything suitable...

Dec 6 2016, 4:52 AM · Community-Tech, CopyPatrol

Dec 4 2016

Wesalius added a comment to T151611: Enable ORES Review Tool on Czech Wikipedia.

@Ladsgroup The target of 250000 at tools.wmflabs.org/dexbot/tools/wikilabels_stats.php doesnt seem appropriate :-)

Dec 4 2016, 6:34 AM · Patch-For-Review, Scoring-platform-team (Current), User-Ladsgroup, Wikimedia-Extension-setup, MediaWiki-extensions-ORES

Dec 3 2016

Wesalius added a comment to T151706: WbQuantity now expects a 'site' parameter.

Okay thanks. From my POV it is resolved, feel free to close the bug whenever.

Dec 3 2016, 5:42 AM · Pywikibot

Dec 2 2016

Wesalius added a comment to T151706: WbQuantity now expects a 'site' parameter.

Now I still get the warning but I can proceed to edit wd without a problem.

Dec 2 2016, 8:16 PM · Pywikibot

Nov 30 2016

Wesalius added a comment to T151609: Port CopyPatrol to Czech Wikipedia.

You can help translating CopyPatrol at translatewiki.

Nov 30 2016, 8:11 PM · Community-Tech, CopyPatrol

Nov 29 2016

Wesalius added a comment to T142087: [Task] prepare bot for quantity change fixes.

Under what account does the bot do the edits?

Nov 29 2016, 4:37 PM · User-Daniel, Wikidata-Former-Sprint-Board, User-Ladsgroup, Wikidata-Sprint-2016-08-02, Wikidata

Nov 27 2016

Wesalius updated subscribers of T151706: WbQuantity now expects a 'site' parameter.

According to comment of @Lokal_Profil at T151706 I have to wait for the patch to be merged or modify the code. I am a coding dilettante, so I guess I will first try my luck with the upcoming patch and then try to fix my code. Thank you for taking a look at it, @Magul.

Nov 27 2016, 2:28 PM · Pywikibot
Wesalius created T151706: WbQuantity now expects a 'site' parameter.
Nov 27 2016, 11:07 AM · Pywikibot

Nov 26 2016

Wesalius added a comment to T151611: Enable ORES Review Tool on Czech Wikipedia.

@matej_suchanek can you help with that since you were participating on similar task at wikidata?

Nov 26 2016, 7:07 PM · Patch-For-Review, Scoring-platform-team (Current), User-Ladsgroup, Wikimedia-Extension-setup, MediaWiki-extensions-ORES

Nov 25 2016

Wesalius added a comment to T151092: Change in quantities broke pywikibot.

Is my .err content related to this (solved by the patch)?

WARNING: WbQuantity now expects a 'site' parameter. This is needed to ensure correct handling of error bounds.
WARNING: WbQuantity now expects a 'site' parameter. This is needed to ensure correct handling of error bounds.
Traceback (most recent call last):
  File "elobot-no-user-interaction-1-month.py", line 60, in elobot
    elo_claim.setTarget(pywikibot.WbQuantity(rating))
  File "/mnt/nfs/labstore-secondary-tools-project/elobot/core/pywikibot/__init__.py", line 680, in __init__
    self.upperBound = self.amount + upperError
UnboundLocalError: local variable 'upperError' referenced before assignment

I am running

Pywikibot: [https] r-pywikibot-core.git (1f05e6f, g7627, 2016/11/22, 21:46:01, n/a)
Release version: 3.0-dev
requests version: 2.2.1

on tool labs...

See T150210. In short to support non-wikidata wikibase installations you have to pass a site object to WbQuantitiy. There is a patch to remove the need for this but someone needs to review and merge.

Nov 25 2016, 9:44 AM · Wikidata, Pywikibot-Wikidata
Wesalius updated the task description for T151609: Port CopyPatrol to Czech Wikipedia.
Nov 25 2016, 7:45 AM · Community-Tech, CopyPatrol
Wesalius created T151611: Enable ORES Review Tool on Czech Wikipedia.
Nov 25 2016, 7:44 AM · Patch-For-Review, Scoring-platform-team (Current), User-Ladsgroup, Wikimedia-Extension-setup, MediaWiki-extensions-ORES
Wesalius triaged T151609: Port CopyPatrol to Czech Wikipedia as Normal priority.
Nov 25 2016, 7:39 AM · Community-Tech, CopyPatrol
Wesalius created T151609: Port CopyPatrol to Czech Wikipedia.
Nov 25 2016, 7:39 AM · Community-Tech, CopyPatrol

Nov 24 2016

Wesalius closed T151526: AttributeError: 'NoneType' object has no attribute 'calendarmodel' - we should raise more descriptive error when Wikibase is not available as Invalid.

I am sorry, thank you for taking a look at it, it was my bad, I targeted a non-wikibase wiki with my user-config :(

Nov 24 2016, 4:51 PM · Patch-For-Review, good first bug, Pywikibot
Wesalius added a comment to T151092: Change in quantities broke pywikibot.

Is my .err content related to this (solved by the patch)?

Nov 24 2016, 8:43 AM · Wikidata, Pywikibot-Wikidata
Wesalius created T151526: AttributeError: 'NoneType' object has no attribute 'calendarmodel' - we should raise more descriptive error when Wikibase is not available.
Nov 24 2016, 8:39 AM · Patch-For-Review, good first bug, Pywikibot

Nov 23 2016

Wesalius renamed T151438: Edit pages only if edit size/number of characters changed is above threshold from edit pages only if edit size is above treshold to edit pages only if edit size/ńumber of characters changed is above treshold.
Nov 23 2016, 8:38 AM · Google-Code-in-2018, Google-Code-in-2017, Pywikibot, Pywikibot-cosmetic-changes.py
Wesalius created T151438: Edit pages only if edit size/number of characters changed is above threshold.
Nov 23 2016, 8:36 AM · Google-Code-in-2018, Google-Code-in-2017, Pywikibot, Pywikibot-cosmetic-changes.py

Nov 11 2016

Wesalius added a watcher for WikiApiary: Wesalius.
Nov 11 2016, 8:16 AM
Wesalius added a watcher for MediaWiki-extensions-Widgets: Wesalius.
Nov 11 2016, 8:16 AM

Nov 5 2016

Wesalius added a comment to T148795: MemoryError when replacing using xml dump.

It was one of the regular cswiki dumps, so around 600 Mb. I think it crashed right at the start (the reason why I only think is that I went through complete switch from win to tux with drive reformatting a day ago so I cant reproduce it right away).

Nov 5 2016, 5:00 PM · Pywikibot, Pywikibot-replace.py

Nov 4 2016

Wesalius added a project to T148795: MemoryError when replacing using xml dump: Pywikibot.
Nov 4 2016, 5:17 PM · Pywikibot, Pywikibot-replace.py

Nov 2 2016

Wesalius removed a watcher for Graphs: Wesalius.
Nov 2 2016, 7:28 PM

Oct 31 2016

Wesalius removed a watcher for ContentTranslation: Wesalius.
Oct 31 2016, 2:49 PM
Wesalius closed T147654: win32_unicode does not correctly handle different console configurations under Python 3 as Resolved.
Oct 31 2016, 10:17 AM · Patch-For-Review, Pywikibot
Wesalius added a watcher for ContentTranslation: Wesalius.
Oct 31 2016, 7:35 AM

Oct 29 2016

Wesalius added a comment to T148912: module 'pywikibot.pagegenerators' has no attribute 'WikidataSPARQLPageGenerator'.

Ok. I dont really understand the situation around 2.0/branches since I am an end user and not a developer.

Oct 29 2016, 3:12 PM · Pywikibot
Wesalius added a comment to T148912: module 'pywikibot.pagegenerators' has no attribute 'WikidataSPARQLPageGenerator'.

Ok. Is there a way to get the "safe" release with pip?

Oct 29 2016, 2:46 PM · Pywikibot

Oct 28 2016

Wesalius created T149405: Improve outcome of http://tools.wmflabs.org/?status proposal.
Oct 28 2016, 8:05 AM · Toolforge, Cloud-Services

Oct 26 2016

Wesalius added a watcher for Toolforge: Wesalius.
Oct 26 2016, 4:43 PM

Oct 23 2016

Wesalius created T148912: module 'pywikibot.pagegenerators' has no attribute 'WikidataSPARQLPageGenerator'.
Oct 23 2016, 7:56 AM · Pywikibot

Oct 20 2016

Wesalius created T148795: MemoryError when replacing using xml dump.
Oct 20 2016, 10:18 PM · Pywikibot, Pywikibot-replace.py