Petrb (Petr Bena)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Oct 22 2014, 5:18 PM (131 w, 13 h)
Availability
Available
IRC Nick
petan
LDAP User
Petrb
MediaWiki User
Petrb

Hello, I am Petr Bena also known as Petrb (my SUL). I am a volunteer developer working on multiple projects, including Huggle, wm-bot and many others

Recent Activity

Fri, Apr 21

Petrb closed T155334: Add option to queue filter to filter out registered users as "Resolved".

2ee3ebab066bd9bdc1f1c89d3289d0e29f1e26e4

Fri, Apr 21, 12:49 PM · Huggle
Petrb added a comment to T155334: Add option to queue filter to filter out registered users.

Also right now there are filters for both "IP" and "Registered" which is redundant I think

Fri, Apr 21, 11:57 AM · Huggle
Petrb added a comment to T155334: Add option to queue filter to filter out registered users.

Yes there seem to be some skeleton in the class itself, but the actual code that would make it work is missing

Fri, Apr 21, 11:55 AM · Huggle
Petrb added a comment to T149290: Enable Huggle on Commons.

I don't remember, but it's possible, however I fairly sure the configuration wasn't finished otherwise this task wouldn't be still open. I think that warning templates and commons specific configuration is missing.

Fri, Apr 21, 10:51 AM · Commons, Huggle

Wed, Apr 12

Petrb reopened T105560: Add a publisher as "Stalled".

Declining a task doesn't solve it.

Wed, Apr 12, 11:42 AM · WorkType-NewFunctionality, Huggle

Sun, Apr 9

Petrb raised the priority of T112372: Color highlighting in diff window glitches from "Lowest" to "High".
Sun, Apr 9, 3:09 PM · CSS, WorkType-Maintenance, Huggle
Petrb closed T114710: Huggle antivandalism network should make a tone, when someone writes something as "Resolved".
Sun, Apr 9, 3:08 PM · Google-Code-In-2015, Easy, WorkType-NewFunctionality, Huggle
Petrb closed T114710: Huggle antivandalism network should make a tone, when someone writes something, a subtask of T155570: Implement cross platform audio system, as "Resolved".
Sun, Apr 9, 3:08 PM · Huggle

Tue, Apr 4

Petrb added a comment to T162120: Huggle randomly sends warnings for reverts that didn't happen.

it works to me: https://en.wikipedia.org/wiki/Special:Contributions/Petrb

Tue, Apr 4, 2:04 PM · Huggle
Krenair awarded T162120: Huggle randomly sends warnings for reverts that didn't happen a The World Burns token.
Tue, Apr 4, 11:18 AM · Huggle
Petrb closed T162120: Huggle randomly sends warnings for reverts that didn't happen as "Resolved".

https://github.com/huggle/huggle3-qt-lx/commit/13e64040557588fedf3fe4431b2c29b0639cbc84

Tue, Apr 4, 9:36 AM · Huggle
Petrb added a comment to T162120: Huggle randomly sends warnings for reverts that didn't happen.

This commit caused it https://github.com/huggle/huggle3-qt-lx/commit/ebecb24fa4bc8974a0b5c3cdfd5aa4d8cb8382ed

Tue, Apr 4, 9:32 AM · Huggle
Petrb added a comment to T162120: Huggle randomly sends warnings for reverts that didn't happen.

The problem is caused by possible change in revert logic in mainwindow.cpp (I don't know which commit caused this though) it seems that now for some reason we jump to next edit right after call to Revert() and subsequent WarnUser call work with this->CurrentEdit, which in that moment points to next edit in queue (or nullptr in case there is no more).

Tue, Apr 4, 9:26 AM · Huggle
Petrb added a comment to T162120: Huggle randomly sends warnings for reverts that didn't happen.

To reproduce you can revert and warn anything, huggle obviously use next edit as dependency for rollback

Tue, Apr 4, 9:12 AM · Huggle
Petrb added a comment to T162120: Huggle randomly sends warnings for reverts that didn't happen.

It might be also useful if someone could try to identify all users who use this version of huggle (3.2.0) either by scanning the edit summaries or huggle3.css and then notify these users about this issue

Tue, Apr 4, 9:08 AM · Huggle
Petrb added a comment to T162120: Huggle randomly sends warnings for reverts that didn't happen.

Is there any simple step to reproduce this?

Tue, Apr 4, 8:58 AM · Huggle
Petrb triaged T162120: Huggle randomly sends warnings for reverts that didn't happen as "Unbreak Now!" priority.
Tue, Apr 4, 8:57 AM · Huggle
Petrb added a comment to T162120: Huggle randomly sends warnings for reverts that didn't happen.

Mentioned commit id is irrelevant though could be anywhere from 3.1.21

Tue, Apr 4, 8:57 AM · Huggle
Petrb created T162120: Huggle randomly sends warnings for reverts that didn't happen.
Tue, Apr 4, 8:56 AM · Huggle

Fri, Mar 31

Petrb added a comment to T157970: Huggle for wikispecies.

Huggle was configured for wikispecies, but I set it to be read only until warning templates for it are created

Fri, Mar 31, 1:12 PM · Huggle
Petrb edited the description of T157970: Huggle for wikispecies.
Fri, Mar 31, 1:12 PM · Huggle
Petrb edited the description of T157970: Huggle for wikispecies.
Fri, Mar 31, 12:52 PM · Huggle
Petrb edited the description of T157970: Huggle for wikispecies.
Fri, Mar 31, 12:50 PM · Huggle
Petrb edited the description of T157970: Huggle for wikispecies.
Fri, Mar 31, 12:50 PM · Huggle
Petrb closed T155332: Queue / UI: Play a sound when new item is added to queue as "Resolved".

2e596042ad27 adds this

Fri, Mar 31, 12:46 PM · Huggle
Petrb closed T155332: Queue / UI: Play a sound when new item is added to queue, a subtask of T155570: Implement cross platform audio system, as "Resolved".
Fri, Mar 31, 12:46 PM · Huggle
Petrb triaged T155333: Tag filter in preferences removes white space for some reason as "High" priority.
Fri, Mar 31, 11:42 AM · Huggle
Petrb edited the description of T161820: Enable Huggle on bn.wikipedia.org.
Fri, Mar 31, 11:41 AM · Bengali-Sites, Huggle
Petrb triaged T161820: Enable Huggle on bn.wikipedia.org as "High" priority.
Fri, Mar 31, 11:40 AM · Bengali-Sites, Huggle
Petrb closed T154284: [[Huggle:Query-execute-drymode/en-gb]] i18n issue as "Resolved".

I removed this string from localization now

Fri, Mar 31, 11:40 AM · Huggle, I18n
Petrb triaged T150089: Document all missing keys in translate docs as "Low" priority.
Fri, Mar 31, 11:37 AM · I18n, Huggle
Petrb triaged T150056: Create a simple guide with screenshots that explains how to start windows binary with parameters as "Normal" priority.
Fri, Mar 31, 11:37 AM · Huggle, Google-Code-In-2016, Easy
Petrb closed T159734: Redirect bots.wmflabs.org to wm-bot.wmflabs.org as "Resolved".
Fri, Mar 31, 9:01 AM · WM-Bot

Thu, Mar 30

Framawiki awarded T161797: Document all site config options a Love token.
Thu, Mar 30, 5:38 PM · Huggle
Petrb created T161797: Document all site config options.
Thu, Mar 30, 12:57 PM · Huggle

Mar 26 2017

Petrb closed T161417: XmlRcs: redis is empty as "Resolved".

probably some temporary outage of WMF's RCStream

Mar 26 2017, 3:34 PM · WM-Bot
Petrb edited the description of T158700: Enable Huggle for hr.wiki, bs.wiki, sr.wiki and sh.wiki.
Mar 26 2017, 2:53 PM · Huggle

Mar 25 2017

Petrb closed T160890: New site option: read-only as "Resolved".
Mar 25 2017, 8:48 PM · Huggle
Petrb added a comment to T160890: New site option: read-only.

bf86c6ae23d9

Mar 25 2017, 11:16 AM · Huggle
Petrb added a project to T112372: Color highlighting in diff window glitches: CSS.
Mar 25 2017, 9:53 AM · CSS, WorkType-Maintenance, Huggle
Petrb added a comment to T155994: Huggle doesn't follow "default-summary" of huggle3.css personal config file.

If you want to be able to use $2 you would have to change preferences -> use software rollback

Mar 25 2017, 9:51 AM · Huggle
Petrb triaged T155994: Huggle doesn't follow "default-summary" of huggle3.css personal config file as "Lowest" priority.
Mar 25 2017, 9:46 AM · Huggle
Petrb added a comment to T155994: Huggle doesn't follow "default-summary" of huggle3.css personal config file.

Since f21234e59f07b5a9f61eb75db45e8858a040d3b9 this should work but you will need to use revert-summary-unknown which doesn't support $2 anyway - the reason is that this one is using API rollback and huggle doesn't know to which revision it's going to rollback, mediawiki knows that

Mar 25 2017, 9:46 AM · Huggle
Petrb closed T157837: WebKit is depricated and has been removed from Qt5.8 as "Resolved".

that's because WebEngine is implemented in 3.2.0

Mar 25 2017, 9:20 AM · Huggle

Mar 23 2017

Petrb raised the priority of T158833: Enable Huggle on cs.wikipedia.org from "Lowest" to "Normal".
Mar 23 2017, 9:08 PM · User-Urbanecm, Huggle
Petrb moved T154284: [[Huggle:Query-execute-drymode/en-gb]] i18n issue from Backlog to Need volunteer on the Huggle board.
Mar 23 2017, 9:08 PM · Huggle, I18n
Petrb moved T155332: Queue / UI: Play a sound when new item is added to queue from Backlog to Need volunteer on the Huggle board.
Mar 23 2017, 9:07 PM · Huggle
Petrb moved T158700: Enable Huggle for hr.wiki, bs.wiki, sr.wiki and sh.wiki from Backlog to Need volunteer on the Huggle board.
Mar 23 2017, 9:07 PM · Huggle
Petrb triaged T158833: Enable Huggle on cs.wikipedia.org as "Lowest" priority.
Mar 23 2017, 9:06 PM · User-Urbanecm, Huggle
Petrb moved T157837: WebKit is depricated and has been removed from Qt5.8 from Backlog to Need discussion on the Huggle board.
Mar 23 2017, 9:06 PM · Huggle
Petrb triaged T149967: Incorporate new languages into Huggle as "Low" priority.
Mar 23 2017, 9:05 PM · Huggle, Google-Code-In-2016
Petrb added a comment to T158700: Enable Huggle for hr.wiki, bs.wiki, sr.wiki and sh.wiki.

Well, it would be nice if local community was at least a bit aware, you can start by creating Project:Huggle pages on each of that wiki

Mar 23 2017, 8:30 PM · Huggle

Mar 22 2017

Petrb added a comment to T159734: Redirect bots.wmflabs.org to wm-bot.wmflabs.org.

@Ciencia_Al_Poder that is a key defined by someone in a channel which you didn't even mention, so whatever channel is that, contact people who have right on bot there and ask them to fix it

Mar 22 2017, 8:48 AM · WM-Bot
Petrb closed T153765: wm-bot empty redis as "Resolved".
Mar 22 2017, 8:47 AM · WM-Bot
Petrb closed T160659: Make wm-bot pm wmopbot when someone uses bangops as "Resolved".
Mar 22 2017, 8:47 AM · WM-Bot

Mar 20 2017

Petrb added a comment to T160659: Make wm-bot pm wmopbot when someone uses bangops.

and it works... so now it's on your side to finish this

Mar 20 2017, 10:08 PM · WM-Bot
Petrb added a comment to T160659: Make wm-bot pm wmopbot when someone uses bangops.

I changed the format of message to

Mar 20 2017, 9:53 PM · WM-Bot
Petrb added a comment to T160659: Make wm-bot pm wmopbot when someone uses bangops.

https://github.com/benapetr/wikimedia-bot/blob/75d64a2ece3ac462d9eb6c4ffdf38361ec510046/src/WMBot.WMFPlugins/OpsTools/OpsTools.cs

Mar 20 2017, 9:50 PM · WM-Bot
Petrb added a comment to T154284: [[Huggle:Query-execute-drymode/en-gb]] i18n issue.

Given that this is meant for devs only I don't really understand why is this localizable

Mar 20 2017, 9:23 PM · Huggle, I18n
Petrb added a comment to T154284: [[Huggle:Query-execute-drymode/en-gb]] i18n issue.

Yes it's an option in Help -> Debug menu, which allows users to switch into "dry mode" which means huggle only pretends to do actions that would change wiki, instead of actually doing them.

Mar 20 2017, 9:23 PM · Huggle, I18n
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

btw botbot is 14.04 so it doesn't block stuff

Mar 20 2017, 2:35 PM · Labs, WM-Bot
Petrb closed T157838: Move wm-bot instance to Trusty, a subtask of T143349: Deprecate precise instances in Labs by 2017-03-31, as "Resolved".
Mar 20 2017, 2:35 PM · Patch-For-Review, Labs-Infrastructure, Labs
Petrb closed T157838: Move wm-bot instance to Trusty as "Resolved".

I just nuked wm-bot instance, in project bots. There is one more instance "botbot" that I will look in, maybe there is something I would like to archive for future, and then we can probably nuke whole "bots" project, which is by the way, probably second oldest project of wikimedia labs :)

Mar 20 2017, 2:35 PM · Labs, WM-Bot
Petrb closed T157838: Move wm-bot instance to Trusty, a subtask of T157879: Request creation of wm-bot labs project, as "Resolved".
Mar 20 2017, 2:35 PM · Labs
Petrb closed T157710: Labs instance huggle.huggle.wmflabs needs to be replaced or deleted as "Resolved".

soo, it seems we are done :)

Mar 20 2017, 2:34 PM · Huggle, Labs
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

MariaDB is just as bad as MySQL,

Mar 20 2017, 1:58 PM · Labs, WM-Bot
Petrb closed T160444: @notify command should be able to take more than one argument as "Declined".

yes that's how it works, first parameter is name of person, rest is a message to deliver. if you want more people and not spam in channel, you can use @notify in private message to wm-bot

Mar 20 2017, 1:57 PM · WM-Bot
Petrb closed T160542: wm-bot not reporting on recent changes (2) as "Resolved".

workstome

Mar 20 2017, 1:55 PM · WM-Bot
Petrb added a comment to T160659: Make wm-bot pm wmopbot when someone uses bangops.

so basically, you want a plugin that checks all channel messages for regex /\!ops.*/ and in case message is delivered forward it as a private message to "wmopbot" in a format $sender_nick: $original_message

Mar 20 2017, 11:06 AM · WM-Bot
Petrb added a comment to T160659: Make wm-bot pm wmopbot when someone uses bangops.

please keep in mind that wm-bot is also not present in every wikimedia channel, for a list of channels it is currently in, see http://wm-bot.wmflabs.org/db/systemdata.htm

Mar 20 2017, 11:00 AM · WM-Bot
Petrb added a comment to T160659: Make wm-bot pm wmopbot when someone uses bangops.

Title of this sounds like some sort of a botporn, but I will have a look

Mar 20 2017, 10:02 AM · WM-Bot
Petrb created T160890: New site option: read-only.
Mar 20 2017, 9:57 AM · Huggle

Mar 16 2017

Petrb added a comment to T157710: Labs instance huggle.huggle.wmflabs needs to be replaced or deleted.

That is 6AM - 8PM EDT

Mar 16 2017, 11:29 AM · Huggle, Labs
Petrb added a comment to T157710: Labs instance huggle.huggle.wmflabs needs to be replaced or deleted.

Amazing job Andrew, it seems that it works just fine, XmlRcs was restarted and it works.

Mar 16 2017, 11:28 AM · Huggle, Labs
Petrb created T160626: investigate weird edit (cross edit from spanish -> simple wiki) / memory corruption or struct inconsistency?.
Mar 16 2017, 11:24 AM · Huggle

Mar 15 2017

Petrb added a comment to T157838: Move wm-bot instance to Trusty.

probably most easy way to do this would be to switch wm-bot to newly created DB on wm-bot-pg and then start migration of existing data, I will have a look into this later, but I am too busy now. I am not sure if this won't break the sequences though

Mar 15 2017, 12:37 PM · Labs, WM-Bot
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

also I don't see how you could migrate from postgres to mysql online, that also isn't possible, so this definitely would not work.

Mar 15 2017, 12:35 PM · Labs, WM-Bot
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

I am not aware of any such feature and highly doubt it.

Mar 15 2017, 12:34 PM · Labs, WM-Bot
Petrb added a comment to T157710: Labs instance huggle.huggle.wmflabs needs to be replaced or deleted.

@Andrew I tried to reach you on IRC with no luck, can you get to huggle instance? I ran dist-upgrade there and the SSH session timed out and now I can't log back in because LDAP client isn't working there. The upgrade process is running in screen under root user, if you can login there and finish the process it would be great and saved me the time needed to rebuild whole server.

Mar 15 2017, 10:37 AM · Huggle, Labs
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

I mean, if huggle-pg is down, wm-bot itself will be still operational, but we lose access to SQL based IRC logs. We probably don't want that, the database is kinda useful and valuable, problem is that migrating to another server is complicated, it's a live SQL database to which new data are added every second, any outage even a second long is a problem here.

Mar 15 2017, 10:33 AM · Labs, WM-Bot
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

wm-bot is depending on huggle-pg instance which was not yet migrated, it's not so easy, it's a postgres database, and it's pretty huge. Hopefully I will be able to resolve this this week, I am extremely busy these days

Mar 15 2017, 10:28 AM · Labs, WM-Bot

Mar 7 2017

Petrb added a comment to T157710: Labs instance huggle.huggle.wmflabs needs to be replaced or deleted.

Yes I will try to upgrade it when I have time

Mar 7 2017, 10:26 PM · Huggle, Labs
Petrb triaged T148334: Feature request: reverting page creator dialog as "Lowest" priority.
Mar 7 2017, 5:22 PM · WorkType-NewFunctionality, Huggle
Petrb added a comment to T148334: Feature request: reverting page creator dialog.

This issue can be close on release of huggle 3.2.0

Mar 7 2017, 5:21 PM · WorkType-NewFunctionality, Huggle

Mar 6 2017

Petrb added a comment to T157710: Labs instance huggle.huggle.wmflabs needs to be replaced or deleted.

Don't instances in huggle project host some essential services

Mar 6 2017, 9:30 PM · Huggle, Labs

Mar 1 2017

Petrb added a comment to T157838: Move wm-bot instance to Trusty.

Hi, browser is back, also please don't use old "bots.wmflabs.org" domain, it was deprecated some time ago, correct one is wm-bot.wmflabs.org

Mar 1 2017, 11:09 AM · Labs, WM-Bot
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

Hello, yes this is related to both issues, but wm-bot is still logging all channels, just the data are now stored somewhere else, I need to move the web services and merge the log files, should be done soonish

Mar 1 2017, 10:57 AM · Labs, WM-Bot

Feb 23 2017

Petrb edited the description of T157970: Huggle for wikispecies.
Feb 23 2017, 2:29 PM · Huggle
Petrb added a comment to T158833: Enable Huggle on cs.wikipedia.org.

OK I will check that, Huggle was enabled as of now, just click "reload" button in login form and cswiki will be added to list of projects, keep in mind that warning and reverting doesn't work properly yet, so be careful.

Feb 23 2017, 11:19 AM · User-Urbanecm, Huggle
Petrb added a comment to T158833: Enable Huggle on cs.wikipedia.org.

Just for clarify, there should be specific templates in addition to the standard one? We have three basic warning templates but they are not used all at once, in some situations the block may be issued as a direct reaction to the edit, in some situations the second level is used as it were the first. Do the Huggle user have way how to choose right warning which he wants to use?

Feb 23 2017, 10:30 AM · User-Urbanecm, Huggle
Petrb added a comment to T158833: Enable Huggle on cs.wikipedia.org.

Huggle is using warning templates, example can be found here https://en.wikipedia.org/wiki/Template:Huggle on English Wikipedia we use 4 warning levels (usually before user gets blocked). I am not familiar how this works on cs wikipedia, but it's possible to change this for example to 3 levels (I think that's how it works on French wiki).

Feb 23 2017, 10:09 AM · User-Urbanecm, Huggle
Petrb edited the description of T158833: Enable Huggle on cs.wikipedia.org.
Feb 23 2017, 10:06 AM · User-Urbanecm, Huggle
Petrb added a comment to T158833: Enable Huggle on cs.wikipedia.org.

Please translate https://cs.wikipedia.org/wiki/Wikipedie:Huggle it should contain some basic information about huggle, original version is at [[en:WP:Huggle]]

Feb 23 2017, 10:04 AM · User-Urbanecm, Huggle
Petrb edited the description of T158833: Enable Huggle on cs.wikipedia.org.
Feb 23 2017, 10:03 AM · User-Urbanecm, Huggle
Petrb added a comment to T158833: Enable Huggle on cs.wikipedia.org.

For record this was requested by Martin Urbanec

Feb 23 2017, 9:40 AM · User-Urbanecm, Huggle
Petrb added a project to T158833: Enable Huggle on cs.wikipedia.org: Huggle.
Feb 23 2017, 7:42 AM · User-Urbanecm, Huggle
Petrb created T158833: Enable Huggle on cs.wikipedia.org.
Feb 23 2017, 7:42 AM · User-Urbanecm, Huggle

Feb 19 2017

Petrb added a comment to T157838: Move wm-bot instance to Trusty.

There is one problem I need to run identd which requires public IP address, can we get 1 for wm-bot project? Previous bot also had it.

Feb 19 2017, 9:27 PM · Labs, WM-Bot
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

Yes, bot is now up and running on Jessie, I need to test if web hooks work, which is now most important thing, then we need to migrate logs and SQL DB.

Feb 19 2017, 7:31 PM · Labs, WM-Bot
Petrb added a comment to T157838: Move wm-bot instance to Trusty.

BTW I think 8 is Jessie

Feb 19 2017, 6:42 PM · Labs, WM-Bot