[Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-26 Thread Petr Bena
Hi, I noticed that there is a high amount of suspicious edits that may be vandalism but were never reverted because people who were dealing with vandals (using some automated tool) in that moment weren't able to decide if it was vandalism or wasn't. For example some smart changes to statistical

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-26 Thread Petr Bena
Hi, That makes sense, but I don't think this is going to happen. Flagged Revs were never really popular on english wikipedia and this is a real problem that should be solved somehow. These edits were always reviewed by people who are already using huggle or twinkle, this change couldn't make it

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-26 Thread Petr Bena
Yes, I mean this identification. The tools would have button like needs review by expert which would have similar effect like skip but the edit would be enqueued somewhere so that experts could review it later and revert in case if it wasn't correct. Only task what would need to be done by a bot

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-26 Thread Petr Bena
But this works the other way, every edit is marked as suspicious while users can flag these that appear to be OK. What I am talking about is the other way. Vandal fighters would flag these edits that look weird to them and experts would review only those edits, not all of them. On Thu, Sep 26,

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-26 Thread Petr Bena
No I wouldn't. The queue would start getting filled up by good edits in case everyone who uses huggle would disconnect or stopped using it. The current system as it is clearly isn't sufficient for this. We need to cherry-pick the bad edits, not good edits. Current system allows only to flag good

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-26 Thread Petr Bena
I am also not talking about mediawiki at all. This evidence of edits that needs further review could be stored off-wiki, for example on wikimedia labs using some universal interface that all antivandalism tools can use On Thu, Sep 26, 2013 at 7:41 PM, Petr Bena benap...@gmail.com wrote: No I

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-27 Thread Petr Bena
We are getting somewhere else than I wanted... I didn't want to discuss what should be reverted on sight or not. Problem is that right now lot of vandal-fighters see certain amount of dubious edits they skip because they can't verify if they are correct or not, which are then ignored and get lost

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-27 Thread Petr Bena
@gmail.com wrote: On Fri, 27 Sep 2013 11:51:34 +0200, Petr Bena benap...@gmail.com wrote: We are getting somewhere else than I wanted... I didn't want to discuss what should be reverted on sight or not. Problem is that right now lot of vandal-fighters see certain amount of dubious edits they skip

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-27 Thread Petr Bena
Not really, I can't see how tags help at all in here. We are talking about any kind of edit (nothing that can be matched by regex) which seems suspicious to vandal-fighter (human) but who can't make sure if it's vandalism or not. Nothing like abuse filter nor patrolled edits can help here (unless

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-27 Thread Petr Bena
Yes, having https://bugzilla.wikimedia.org/show_bug.cgi?id=1189 would be definitely a solution. But question is if it's ever going to happen on production. On Fri, Sep 27, 2013 at 4:05 PM, Bartosz Dziewoński matma@gmail.com wrote: On Fri, 27 Sep 2013 15:18:01 +0200, Derric Atzrott

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-27 Thread Petr Bena
. This might require a little bit of gadget support for common actions taken on the suspicious edit queue. On Fri, Sep 27, 2013 at 8:59 AM, John Vandenberg jay...@gmail.com wrote: On Fri, Sep 27, 2013 at 8:52 PM, Petr Bena benap...@gmail.com wrote: Not really, I can't see how tags help at all

Re: [Wikitech-l] Improving anti-vandalism tools (twinkle, huggle etc) - suspicious edits queue

2013-09-27 Thread Petr Bena
On Fri, Sep 27, 2013 at 11:38 PM, Risker risker...@gmail.com wrote: I think a few different concepts are being muddled here. Flagged revisions (and its variant, pending changes, on enwiki) is applied to individual articles to hold *all* edits from certain user classes for review. What Petr

Re: [Wikitech-l] Inline bug report history in Bugzilla

2013-09-30 Thread Petr Bena
wh nice feature On Mon, Sep 30, 2013 at 5:01 PM, Andre Klapper aklap...@wikimedia.org wrote: Hola, if you have found yourself clicking the History link in Bugzilla tickets way too often (to check who has set the Priority, or who has changed the assignee and when), Bugzilla now

[Wikitech-l] [IRC] hiring more wm-bot operators

2013-10-11 Thread Petr Bena
Hey all, Some of you may know our belowed robot, which is working as a slave in some of our dev channels. Unfortunately, freenode as well as wikimedia labs is a bit unstable, when it comes to network connectivity. So both freenode servers as well as internet connectivity of labs are occasionally

Re: [Wikitech-l] [IRC] hiring more wm-bot operators

2013-10-11 Thread Petr Bena
think of that :P On Fri, Oct 11, 2013 at 8:45 AM, Antoine Musso hashar+...@free.fr wrote: Le 11/10/13 09:24, Petr Bena a écrit : wm-bots components are not configured as services, so restarting them is not as easy as doing sudo service wm-bot restart Seems you might want to make them upstart

Re: [Wikitech-l] [IRC] hiring more wm-bot operators

2013-10-11 Thread Petr Bena
when remote server disconnect. This needs to be fixed by some more coding and that again requires some other petan who isn't that lazy :) On Fri, Oct 11, 2013 at 10:49 AM, Petr Bena benap...@gmail.com wrote: I agree, but it requires some work, which I am too lazy for, especially since manual

Re: [Wikitech-l] [IRC] hiring more wm-bot operators

2013-10-11 Thread Petr Bena
and bot is still on-line) On Fri, Oct 11, 2013 at 1:20 PM, Marc A. Pelletier m...@uberbox.org wrote: On 10/11/2013 06:51 AM, Petr Bena wrote: It actually can reconnect when connection die, but problem is that wm-bot is using bouncer, and this bouncer doesn't forward signal when remote server

Re: [Wikitech-l] Fwd: Participation in an Aaron Swartz Hackathon event

2013-10-11 Thread Petr Bena
That's not a funny joke... On Fri, Oct 11, 2013 at 7:38 PM, Anthony o...@theendput.com wrote: Which websites are you planning on hacking into? On Fri, Oct 11, 2013 at 12:17 PM, Quim Gil q...@wikimedia.org wrote: There is a plan for a worldwide round of Aaron Hackathons, on the upcoming Nov

[Wikitech-l] [IRC] wm-bot semi outage

2013-10-15 Thread Petr Bena
Hi, because of this bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=55690 wm-bot is unable to write logs to file storage. Unfortunatelly since 10 minutes ago, the mysql storage broke as well, I have no idea why but I am afraid that only fix that comes to my mind now involves bot restart

Re: [Wikitech-l] [IRC] wm-bot semi outage

2013-10-16 Thread Petr Bena
not that it would actually worked better :P I would be most happy to switch to local /dev/vdb storage which never had any problems, but for that wm-bot would need to be on own project On Tue, Oct 15, 2013 at 6:46 PM, Ryan Lane rlan...@gmail.com wrote: On Tue, Oct 15, 2013 at 9:15 AM, Petr Bena

Re: [Wikitech-l] Operations team announcements: Ryan and Leslie

2013-10-16 Thread Petr Bena
Congrats both of you :-) On Wed, Oct 16, 2013 at 7:40 AM, Ken Snider ksni...@wikimedia.org wrote: Hello! I'm extremely pleased to announce that we've had two promotions within the Technical Operations team! Leslie Carr has been promoted to Senior Operations Engineer (Networking). As many

Re: [Wikitech-l] [IRC] wm-bot semi outage

2013-10-17 Thread Petr Bena
doesn't just bring better performance, but especially perfect availability - it's never offline, while nfs and gluster are having outages all the time... On Wed, Oct 16, 2013 at 6:00 PM, Ryan Lane rlan...@gmail.com wrote: On Wed, Oct 16, 2013 at 1:45 AM, Petr Bena benap...@gmail.com wrote

Re: [Wikitech-l] OAuth and Identities

2013-10-22 Thread Petr Bena
I am basically interested only in oauth that can be used by remote applications / processes running on user's PC, which isn't available yet On Tue, Oct 22, 2013 at 7:18 PM, Chris Steipp cste...@wikimedia.org wrote: On Tue, Oct 22, 2013 at 1:57 AM, Merlijn van Deen valhall...@arctus.nlwrote: Hi

Re: [Wikitech-l] OAuth and Identities

2013-10-22 Thread Petr Bena
Do you realize that these application are asking users for their password in this moment? That seems to me even worse than oauth with these caviots On Tue, Oct 22, 2013 at 7:54 PM, Chris Steipp cste...@wikimedia.org wrote: On Tue, Oct 22, 2013 at 10:33 AM, Petr Bena benap...@gmail.com wrote: I

[Wikitech-l] Filtering out bugs that wait for a response

2013-10-29 Thread Petr Bena
Hi, is there any possible technical way to make a filter in bugzilla that filter out bugs that are waiting for a response from bug opener (OP)? I suppose there could be either a keyword or something like WAITING-FOR-RESPONSE but in that case it would need to be removed by hand when OP respond.

Re: [Wikitech-l] New Bugzilla users have restricted accounts

2013-11-06 Thread Petr Bena
So that's why suddenly I started receiving these email requests :D On Wed, Nov 6, 2013 at 2:24 PM, MZMcBride z...@mzmcbride.com wrote: Hi. Our Bugzilla installation at https://bugs.wikimedia.org/ currently restricts the capabilities of new users as a knee-jerk response to prior

[Wikitech-l] New project on labs for unit tests

2013-11-08 Thread Petr Bena
Hi, would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like: * C * C++ * Python * PHP + other frequently used languages I think it would be useful for

Re: [Wikitech-l] New project on labs for unit tests

2013-11-08 Thread Petr Bena
I noticed there is integration project, but what its status is, I don't know On Fri, Nov 8, 2013 at 11:21 AM, Petr Bena benap...@gmail.com wrote: Hi, would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available

Re: [Wikitech-l] New project on labs for unit tests

2013-11-08 Thread Petr Bena
TBH I have no idea which sw for this is best, whatever that is working I am fine with... I thought people are using jenkins for MW, so there are likely more people who have experience witht hat On Fri, Nov 8, 2013 at 1:14 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, What about using

Re: [Wikitech-l] New project on labs for unit tests

2013-11-08 Thread Petr Bena
tests. (It requires g++, make and full qt4 dev sdk to be installed on server where unit tests are about to be ran) On Fri, Nov 8, 2013 at 3:40 PM, Antoine Musso hashar+...@free.fr wrote: Le 08/11/13 11:21, Petr Bena a écrit : would anyone experienced (like hashar) be interested in setup

Re: [Wikitech-l] New project on labs for unit tests

2013-11-08 Thread Petr Bena
passed, 0 failed, 0 skipped * Finished testing of HuggleTest * This thing of course can be ran by some 3rd tool (such as jenkins) which run it automatically when new commit arrives to repository and evaluates the results... On Fri, Nov 8, 2013 at 5:16 PM, Petr Bena benap...@gmail.com

Re: [Wikitech-l] New project on labs for unit tests

2013-11-11 Thread Petr Bena
etc :-) Addshore On 8 Nov 2013 17:22, Petr Bena benap...@gmail.com wrote: to explain how QT unit testing works a bit more, it's basically another QT project that includes the source code from master branch and produces a binary file (called tst_testmain) which can be executed with various

[Wikitech-l] workflow to add multiple patches to gerrit.wikimedia.org:29418/operations/puppet.git

2013-11-20 Thread Petr Bena
Currently I do: * clone a repo * setup git hooks # patch 1: * apply my changes * commit * execute git-review # patch 2: * apply my changes * commit FAIL - the new commit it depending on previous commit - I can't push What am I supposed to do in order to push multiple separate patches?

Re: [Wikitech-l] workflow to add multiple patches to gerrit.wikimedia.org:29418/operations/puppet.git

2013-11-20 Thread Petr Bena
changes * git commit -a * git review Nik On Wed, Nov 20, 2013 at 8:13 AM, Petr Bena benap...@gmail.com wrote: Currently I do: * clone a repo * setup git hooks # patch 1: * apply my changes * commit * execute git-review # patch 2: * apply my changes * commit FAIL - the new

Re: [Wikitech-l] workflow to add multiple patches to gerrit.wikimedia.org:29418/operations/puppet.git

2013-11-20 Thread Petr Bena
if I do this I get - patch1 -- patch 2 (depends on patch1) in gerrit. What I need is, to make 2 patches that are completely unrelated On Wed, Nov 20, 2013 at 2:50 PM, Petr Bena benap...@gmail.com wrote: petanb@srv:~/puppet/modules/toollabs/manifests$ git checkout production Already

Re: [Wikitech-l] workflow to add multiple patches to gerrit.wikimedia.org:29418/operations/puppet.git

2013-11-20 Thread Petr Bena
commit -a * git review # patch 2: * git checkout production (or master on non-puppet repositories) * git pull * git checkout -b some_other_branch_name * apply my changes * git commit -a * git review Nik On Wed, Nov 20, 2013 at 8:13 AM, Petr Bena benap...@gmail.com wrote: Currently

Re: [Wikitech-l] workflow to add multiple patches to gerrit.wikimedia.org:29418/operations/puppet.git

2013-11-20 Thread Petr Bena
I used my favorite command rm -rf repository git clone again so it's fixed for now, but it would be cool to know how to fix that anyway On Wed, Nov 20, 2013 at 2:55 PM, Petr Bena benap...@gmail.com wrote: aha I see now, I should have branch before patch1. I didn't. What am I supposed to do

Re: [Wikitech-l] workflow to add multiple patches to gerrit.wikimedia.org:29418/operations/puppet.git

2013-11-20 Thread Petr Bena
when I did a new branch before git-review it now show this as topic in gerrit: https://gerrit.wikimedia.org/r/#/c/96484/ will it merge this to production branch? On Wed, Nov 20, 2013 at 2:59 PM, Bartosz Dziewoński matma@gmail.com wrote: On Wed, 20 Nov 2013 14:50:55 +0100, Petr Bena benap

[Wikitech-l] List of namespaces used in mediawiki

2013-11-21 Thread Petr Bena
Hi, Is there some effective way to retrieve a list of namespaces for a wiki? In huggle we have that hardcoded now, but that kind of suck, because every wiki can have some custom NS. Example: https://github.com/huggle/huggle3-qt-lx/blob/master/huggle/wikipage.hpp //! Namespaces enum

Re: [Wikitech-l] How can I retrieve patrol token for specific revision

2013-11-29 Thread Petr Bena
Huh... how am I supposed to use it? Isn't the patrol token different for every edit? And how often should I retrieve this token? Does it change after every use? On Fri, Nov 29, 2013 at 11:19 AM, Niklas Laxström niklas.laxst...@gmail.com wrote: Action tokens should give it:

Re: [Wikitech-l] How can I retrieve patrol token for specific revision

2013-11-29 Thread Petr Bena
that it would normally retrieve from recent changes api, so how am I supposed to retrieve it so that I can execute action=patrolrcid=242005359token=123ABC On Fri, Nov 29, 2013 at 2:08 PM, Petr Bena benap...@gmail.com wrote: Huh... how am I supposed to use it? Isn't the patrol token different

Re: [Wikitech-l] How can I retrieve patrol token for specific revision

2013-11-29 Thread Petr Bena
aha so * I first retrieve the token * I use the same token for every patrol OR * retrieve token * patrol change * retrieve token * patrol change ... On Fri, Nov 29, 2013 at 2:14 PM, Yuvi Panda yuvipa...@gmail.com wrote: IIRC the token doesn't actually change for every edit. -- Yuvi Panda T

Re: [Wikitech-l] How can I retrieve patrol token for specific revision

2013-11-29 Thread Petr Bena
* get token error * retrieve new token On 29 November 2013 14:20, Petr Bena benap...@gmail.com wrote: aha so * I first retrieve the token * I use the same token for every patrol OR * retrieve token * patrol change * retrieve token * patrol change ... On Fri, Nov 29, 2013 at 2:14 PM

Re: [Wikitech-l] Please use sitenotice when a new version of software is deployed

2013-12-05 Thread Petr Bena
Hi, What about subscribing to this list instead? I think that users who want to see updates, should use relevant information channels, rather than forcing everyone to see notices they may not be interested in. On Thu, Dec 5, 2013 at 11:28 AM, Alex Brollo alex.bro...@gmail.com wrote: Users are

Re: [Wikitech-l] Please use sitenotice when a new version of software is deployed

2013-12-05 Thread Petr Bena
I disagree that sitenotices are stupid or disruptive. It's a good way to inform users about really important stuff, which unfortunatelly is sometimes misused for something irrelevant. However this way everyone can be informed when needed and that's good. Using this for update information is, of

[Wikitech-l] Patrolling on english wikipedia

2013-12-10 Thread Petr Bena
I was recently suggested by someone (and requested by someone else) to use patrolling on good edits in huggle, however after executing the patrol api query I receive this error: ?xml version=1.0?api servedby=mw1130error code=patroldisabled info=Patrolling is disabled on this wiki //api Is it

Re: [Wikitech-l] Patrolling on english wikipedia

2013-12-10 Thread Petr Bena
/Help:Patrolled_edit#Patrolled_pages On Tue, Dec 10, 2013 at 7:40 AM, Petr Bena benap...@gmail.com wrote: I was recently suggested by someone (and requested by someone else) to use patrolling on good edits in huggle, however after executing the patrol api query I receive this error: ?xml version=1.0

Re: [Wikitech-l] Patrolling on english wikipedia

2013-12-10 Thread Petr Bena
patrolled automatically, which means you'd have to patrol the edits of a large fraction of regular users. -- Alex On 12/10/2013 9:24 AM, Petr Bena wrote: OK, so the original suggestion I got from Nemo (http://lists.wikimedia.org/pipermail/wikitech-l/2013-September/072047.html) to use

[Wikitech-l] MacOS (OSX) developers / tech people with mac needed for huggle packaging

2013-12-10 Thread Petr Bena
Hi, Huggle 3 is slowly getting near to first release, and I have yet set up some built environment for early beta versions. 1 for windows on one of my own windows boxens (using NSIS and MinGW) which I use to release beta version packages on sourceforge, and other one for linux using launchpad.

Re: [Wikitech-l] MacOS (OSX) developers / tech people with mac needed for huggle packaging

2013-12-11 Thread Petr Bena
I will ask other successful huggle 3 Mac users (these who actually wrote the guide on wiki) what else they do so that it works to them On Tue, Dec 10, 2013 at 6:21 PM, Ori Livneh o...@wikimedia.org wrote: On Tue, Dec 10, 2013 at 8:14 AM, Petr Bena benap...@gmail.com wrote: Hi, Huggle 3

Re: [Wikitech-l] Patrolling on english wikipedia

2013-12-11 Thread Petr Bena
double work reviewing same data) Using thank you feature doesn't really make it easy for others to figure out if edit was ever processed by that feature / flagged as good On Tue, Dec 10, 2013 at 7:05 PM, Isarra Yos zhoris...@gmail.com wrote: On 10/12/13 13:40, Petr Bena wrote: I was recently

Re: [Wikitech-l] Patrolling on english wikipedia

2013-12-11 Thread Petr Bena
at 7:43 PM, Brian Wolff bawo...@gmail.com wrote: On 2013-12-10 11:05 AM, Isarra Yos zhoris...@gmail.com wrote: On 10/12/13 13:40, Petr Bena wrote: I was recently suggested by someone (and requested by someone else) to use patrolling on good edits in huggle, however after executing the patrol api

Re: [Wikitech-l] MacOS (OSX) developers / tech people with mac needed for huggle packaging

2013-12-11 Thread Petr Bena
Aye, I suppose I should implement some more options to configure script first, which are now missing, so some parameters are not passed to make install it seems to expect to run from directory where huggle was built On Wed, Dec 11, 2013 at 9:58 AM, Antoine Musso hashar+...@free.fr wrote: Le

Re: [Wikitech-l] Patrolling on english wikipedia

2013-12-11 Thread Petr Bena
, revisions: [ { tags: [ Section blanking ] } ] } } } } On Wed, Dec 11, 2013 at 2:36 AM, Petr Bena benap...@gmail.com wrote: Can you

Re: [Wikitech-l] Mailing list etiquette and trolling

2013-12-11 Thread Petr Bena
Is this thread some trolling on its own? :P I think we need to use less rules and more common sense. All these etiquettes are just damaging your natural intelligence... On Wed, Dec 11, 2013 at 11:11 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, In recent months I've come across a few

[Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
.Hi, There are many articles on wikipedia that contain different units. Some use cm, that are common in europe, other use inches that are more widely used in US, same with other unit types. I think it would be cool if an extension was created which would allow everyone to specify what units they

Re: [Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
there could be even some cool javascript based toolbar that would allow people to switch the unit, or see unit hint when they roll over the text On Fri, Jan 17, 2014 at 9:58 AM, Petr Bena benap...@gmail.com wrote: .Hi, There are many articles on wikipedia that contain different units. Some

Re: [Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
2014 09:59, Petr Bena benap...@gmail.com wrote: there could be even some cool javascript based toolbar that would allow people to switch the unit, or see unit hint when they roll over the text On Fri, Jan 17, 2014 at 9:58 AM, Petr Bena benap...@gmail.com wrote: .Hi, There are many

Re: [Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
, Jan 17, 2014 at 10:38 AM, Antoine Musso hashar+...@free.fr wrote: Le 17/01/14 09:58, Petr Bena a écrit : There are many articles on wikipedia that contain different units. Some use cm, that are common in europe, other use inches that are more widely used in US, same with other unit types. I

Re: [Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
with? 300 could mean anything from one to three significant figures, for example. On Fri, Jan 17, 2014 at 1:47 AM, Marc Ordinas i Llopis marc...@wikimedia.org wrote: On Fri, Jan 17, 2014 at 9:58 AM, Petr Bena benap...@gmail.com wrote: For example you would say the object has width

Re: [Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
, Gabriel Wicke gwi...@wikimedia.org wrote: On 01/17/2014 12:58 AM, Petr Bena wrote: I think it would be cool if an extension was created which would allow everyone to specify what units they prefer, and the values in articles would be converted automatically based on preference. Whatever you do

Re: [Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
, but basically I am just proposing an idea :-) On Fri, Jan 17, 2014 at 11:11 PM, Petr Bena benap...@gmail.com wrote: it can't be done client side. It must be done on both sides, so that user can save their preference into database without having to set it everytime they get their cookies wiped (which

Re: [Wikitech-l] Dynamic unit conversion

2014-01-17 Thread Petr Bena
to, it still would be just a one time update. On Fri, Jan 17, 2014 at 11:30 PM, Gabriel Wicke gwi...@wikimedia.org wrote: On 01/17/2014 02:11 PM, Petr Bena wrote: it can't be done client side. It must be done on both sides, so that user can save their preference into database without having to set

Re: [Wikitech-l] !ask

2014-01-19 Thread Petr Bena
There is one more feature available on wm-bot. First of all, that thing is smart enough to recognize who is irc newbie and who is not. It is possible to direct this only to people who are known to the bot (their cloak is trusted) so that it doesn't bite the newbies, but rather slap the

Re: [Wikitech-l] !ask

2014-01-19 Thread Petr Bena
this can be of course improved, if someone is interested: https://github.com/benapetr/wikimedia-bot/blob/master/plugins/slap/slap/Class1.cs On Mon, Jan 20, 2014 at 8:26 AM, Petr Bena benap...@gmail.com wrote: There is one more feature available on wm-bot. First of all, that thing is smart

Re: [Wikitech-l] !ask

2014-01-20 Thread Petr Bena
yes I was trying to implement AI using some open source libraries, but there aren't many of them and they all pretty much suck. Every AI project that works is usually proprietary. On Mon, Jan 20, 2014 at 9:10 AM, Bináris wikipo...@gmail.com wrote: 2014/1/20 Petr Bena benap...@gmail.com [08

[Wikitech-l] How to retrieve the page, execute some time expensive operation and edit the page ONLY if it wasn't changed meanwhile

2014-01-22 Thread Petr Bena
The title pretty much say what I need 1) Retrieve the page - page must not be changed starts NOW 2) Do something what requires user input, possibly may last few minutes 3) Save the page ONLY if it wasn't changed, if it was, go back to step 1 this all needs to be done using API, I thought that

Re: [Wikitech-l] How to retrieve the page, execute some time expensive operation and edit the page ONLY if it wasn't changed meanwhile

2014-01-22 Thread Petr Bena
, 2014 at 12:41 PM, Petr Bena benap...@gmail.com wrote: The title pretty much say what I need 1) Retrieve the page - page must not be changed starts NOW 2) Do something what requires user input, possibly may last few minutes 3) Save the page ONLY if it wasn't changed, if it was, go back to step

Re: [Wikitech-l] How to retrieve the page, execute some time expensive operation and edit the page ONLY if it wasn't changed meanwhile

2014-01-22 Thread Petr Bena
? Is it really same for all pages? Does it really change only when user relog? How does it change for IP users? On Wed, Jan 22, 2014 at 12:47 PM, Brian Wolff bawo...@gmail.com wrote: On Jan 22, 2014 7:41 AM, Petr Bena benap...@gmail.com wrote: The title pretty much say what I need 1) Retrieve the page

Re: [Wikitech-l] How to retrieve the page, execute some time expensive operation and edit the page ONLY if it wasn't changed meanwhile

2014-01-22 Thread Petr Bena
this explanation should be in the documentation ;) anyway I guess I need to use both of them? On Wed, Jan 22, 2014 at 8:22 PM, Brad Jorsch (Anomie) bjor...@wikimedia.org wrote: On Wed, Jan 22, 2014 at 4:11 AM, Brian Wolff bawo...@gmail.com wrote: I believe starttimestamp is just any edit

Re: [Wikitech-l] Let's improve our password policy

2014-02-04 Thread Petr Bena
fde#@%62jtgjsl$#5kgsgjgseojgro@#$%SEGsgesjojahREAGHkerahj23YJ34pwyjw3$#^WrejgshSH Time Required to Exhaustively Search this Password's Space: Online Attack Scenario: 5.04 thousand trillion trillion trillion trillion trillion trillion trillion trillion trillion trillion trillion trillion

Re: [Wikitech-l] Let's improve our password policy

2014-02-04 Thread Petr Bena
To be honest one of things I liked most on wikipedia over other sites, was no password policy whatsoever. I hope we never get into such a creepy state like oracle website which requires so complicated password that I always immediately forget it... On Tue, Feb 4, 2014 at 3:04 PM, Petr Bena benap

Re: [Wikitech-l] Let's improve our password policy

2014-02-04 Thread Petr Bena
hacking into password manager might be easier than hacking into a human brain :P On Tue, Feb 4, 2014 at 11:03 AM, Željko Filipin zfili...@wikimedia.org wrote: On Tue, Feb 4, 2014 at 10:33 AM, Petr Bena benap...@gmail.com wrote: fde#@%62jtgjsl$#5kgsgjgseojgro

Re: [Wikitech-l] [Labs-l] tools.wmflabs outage

2014-02-09 Thread Petr Bena
Pretty much nothing regular admins can fix, we indeed need someone from WMF with root keys / access to physical servers, because this seems to be issue on NFS again (IMHO) can't confirm that of course... Anyway, I can't even ssh there, I /could try/ to reboot some of the boxes like tools-dev but

Re: [Wikitech-l] [Labs-l] tools.wmflabs outage

2014-02-09 Thread Petr Bena
there is no way to use it unless you have access to account which doesn't have home in /home On Sun, Feb 9, 2014 at 5:50 PM, Petr Bena benap...@gmail.com wrote: Pretty much nothing regular admins can fix, we indeed need someone from WMF with root keys / access to physical servers, because this seems

Re: [Wikitech-l] February '14 appreciation thread

2014-02-12 Thread Petr Bena
I'd like to thank to wm-bot, you are so awesome, I'd marry you if they legalized robotic marriage... On Wed, Feb 12, 2014 at 9:04 PM, Jon Robson jdlrob...@gmail.com wrote: I echo this. Theopolisme has been submitting patches to Mobile Frontend too and doing the leg work to fixing some

Re: [Wikitech-l] Wikimedia Bugzilla upgraded to 4.4.1

2014-02-13 Thread Petr Bena
Right now I see just bugzilla is down :/ On Thu, Feb 13, 2014 at 2:23 AM, Andre Klapper aklap...@wikimedia.org wrote: Hi, bugzilla.wikimedia.org has been upgraded from version 4.2.7 to 4.4.1. [For the technical audience: Bugzilla was also moved to a different server in the new datacenter and

Re: [Wikitech-l] Wikimedia Bugzilla upgraded to 4.4.1

2014-02-13 Thread Petr Bena
Yes now it's up here as well, maybe DNS? I am from EU... On Thu, Feb 13, 2014 at 3:34 PM, Daniel Zahn dz...@wikimedia.org wrote: On Thu, Feb 13, 2014 at 12:21 AM, Petr Bena benap...@gmail.com wrote: Right now I see just bugzilla is down :/ can't confirm. it was just down during

[Wikitech-l] [IRC] deployment of wm-bot 2.x

2014-02-13 Thread Petr Bena
Hi, When I started working on wm-bot I was designing it for less than 3 channels. I am really very happy that there are so many people who like it, and somehow it happened, that the bot is now being used in more than 170 channels. That is slightly more than I designed it for, and its maintenance

Re: [Wikitech-l] [IRC] deployment of wm-bot 2.x

2014-02-13 Thread Petr Bena
Finished. On Thu, Feb 13, 2014 at 5:39 PM, Petr Bena benap...@gmail.com wrote: Hi, When I started working on wm-bot I was designing it for less than 3 channels. I am really very happy that there are so many people who like it, and somehow it happened, that the bot is now being used in more

[Wikitech-l] huggle 3 C++ / python developers wanted!

2014-02-21 Thread Petr Bena
Hi, Do you have an understanding of python or C++? WE NEED YOU! Huggle 3 is an antivandalism tool used on wikipedia and some other wikimedia projects. It's written in C++ with use of Qt framework and it also contains embedded python interpreter so that it can be extended with python extensions

[Wikitech-l] How to retrieve current wiki time

2014-02-26 Thread Petr Bena
There is StartTimestamp property used in edit api, which should contain the time, when you started editing the page. This timestamp needs to be in same timezone as wiki is. How do you get current wiki time, so that you can either calculate the timezone or use the time? For example: 1) Get

Re: [Wikitech-l] How to retrieve current wiki time

2014-02-26 Thread Petr Bena
at 3:48 PM, Jeremy Baron jer...@tuxmachine.com wrote: On Feb 26, 2014 9:14 AM, Petr Bena benap...@gmail.com wrote: How do you get current wiki time, so that you can either calculate the timezone or use the time? How about using basetimestamp instead? https://en.wikipedia.org/w/api.php says

Re: [Wikitech-l] How to retrieve current wiki time

2014-02-26 Thread Petr Bena
HA That is very useful and it kind of makes the start useless. Combination of base and createonly seems to fit all scenarios to me On Wed, Feb 26, 2014 at 4:06 PM, Niklas Laxström niklas.laxst...@gmail.com wrote: There is also param 'createonly' - Don't edit the page if it exists already

Re: [Wikitech-l] [Labs-l] Labs migration starts on Tuesday

2014-02-28 Thread Petr Bena
I am confused about /data mounpoint You say: The contents of your shared /data/project or /home directories will not be immediately available in eqiad. Does it mean that if I decide to move the content by hand, using SCP, it will be overwritten anyway sooner or later? How do I decide if I want

[Wikitech-l] [IRC] static logs from irc channels are inaccessible for reading

2014-03-10 Thread Petr Bena
Hi, due to labs migration to eqiad irc logs that are typically at bots.wmflabs.org/~wm-bot/logs are now down. They will be back as soon as https://bugzilla.wikimedia.org/show_bug.cgi?id=62234 is fixed. For now you can use alternative log browser available at tools:

[Wikitech-l] Instances of project bots are going to be deleted

2014-03-13 Thread Petr Bena
Hi, We sent tons of warnings in past that you should migrate all bots or tools (should you run any) from bots project on wikimedia labs to tools project. The servers are now going to be deleted within few days, so this is last notification I am going to send regarding this. So far I have

Re: [Wikitech-l] [IRC] static logs from irc channels are inaccessible for reading

2014-03-13 Thread Petr Bena
Everything is back o/ On Mon, Mar 10, 2014 at 10:14 PM, Petr Bena benap...@gmail.com wrote: Hi, due to labs migration to eqiad irc logs that are typically at bots.wmflabs.org/~wm-bot/logs are now down. They will be back as soon as https://bugzilla.wikimedia.org/show_bug.cgi?id=62234

[Wikitech-l] How to edit a page using api only if it wasn't changed since given time?

2014-03-15 Thread Petr Bena
How to edit a page using api only if it wasn't changed since given time? Basetimestamp apparently doesn't help here because it auto-merge the edit in case of conflict instead of refusing it and some edits just aren't supposed to be auto-merged - the text which is to be appended is based on current

Re: [Wikitech-l] How to edit a page using api only if it wasn't changed since given time?

2014-03-15 Thread Petr Bena
I guess that mediawiki lacks this feature, so I made https://bugzilla.wikimedia.org/show_bug.cgi?id=62698 On Sat, Mar 15, 2014 at 11:53 AM, Petr Bena benap...@gmail.com wrote: How to edit a page using api only if it wasn't changed since given time? Basetimestamp apparently doesn't help here

Re: [Wikitech-l] wikitech downtime Tuesday, April 1st 9AM PST (16:00UTC)

2014-03-26 Thread Petr Bena
Will the new wiki be faster? Will it not log me off randomly even if I check remember me. Will it serve coffee to new users? On Wed, Mar 26, 2014 at 9:03 PM, Andrew Bogott abog...@wikimedia.org wrote: As part of the migration of labs from pmtpa to eqiad, I'll be redirecting wikitech to a new

[Wikitech-l] How to check if user is blocked or not

2014-04-13 Thread Petr Bena
I was trying to detect it using api, but I figured out that list=user which can do that, doesn't work on IP's. what could work is list=blocks but that doesn't return if block is active or not, it just list all of them. I need to get a simple yes/no result, is there any way to do that?

Re: [Wikitech-l] How to check if user is blocked or not

2014-04-13 Thread Petr Bena
of a returned 'blockinfo' element indicates the user is blocked. On 13 April 2014 08:44, Alex Monk kren...@gmail.com wrote: Won't meta=userinfouiprop=blockinfo do it? On 13 April 2014 11:07, Petr Bena benap...@gmail.com wrote: I was trying to detect it using api, but I figured out

[Wikitech-l] How to flag new messages as read using api

2014-04-21 Thread Petr Bena
Using api.php?action=querymeta=userinfouiprop=rights|hasmsg I get information about new message. Now I can read it using api, but that doesn't flag the talk page as read. What do I need to do in order to flag it as read other than running external browser instead of api?

Re: [Wikitech-l] How to flag new messages as read using api

2014-04-21 Thread Petr Bena
Cool thanks, Is there documentation for it? On Mon, Apr 21, 2014 at 1:49 PM, Bartosz Dziewoński matma@gmail.com wrote: On Mon, 21 Apr 2014 13:40:16 +0200, Petr Bena benap...@gmail.com wrote: Using api.php?action=querymeta=userinfouiprop=rights|hasmsg I get information about new message

Re: [Wikitech-l] How to flag new messages as read using api

2014-04-21 Thread Petr Bena
nvm I found On Mon, Apr 21, 2014 at 1:54 PM, Petr Bena benap...@gmail.com wrote: Cool thanks, Is there documentation for it? On Mon, Apr 21, 2014 at 1:49 PM, Bartosz Dziewoński matma@gmail.com wrote: On Mon, 21 Apr 2014 13:40:16 +0200, Petr Bena benap...@gmail.com wrote: Using api.php

Re: [Wikitech-l] How to flag new messages as read using api

2014-04-21 Thread Petr Bena
One more Which token am I supposed to use of these: edit, delete, protect, move, block, unblock, email,import, watch The documentation say just use token but it doesn't say which one On Mon, Apr 21, 2014 at 2:14 PM, Petr Bena benap...@gmail.com wrote: nvm I found On Mon, Apr 21, 2014 at 1:54

Re: [Wikitech-l] How to flag new messages as read using api

2014-04-21 Thread Petr Bena
Does it mean it's not possible to do this using api? On Mon, Apr 21, 2014 at 3:08 PM, Kevin Israel pleasest...@live.com wrote: On 04/21/2014 07:49 AM, Bartosz Dziewoński wrote: On Mon, 21 Apr 2014 13:40:16 +0200, Petr Bena benap...@gmail.com wrote: Using api.php?action=querymeta

Re: [Wikitech-l] How to flag new messages as read using api

2014-04-21 Thread Petr Bena
The api doesn't work, I made it successfuly update it, but it still show new messages On Mon, Apr 21, 2014 at 3:10 PM, Petr Bena benap...@gmail.com wrote: Does it mean it's not possible to do this using api? On Mon, Apr 21, 2014 at 3:08 PM, Kevin Israel pleasest...@live.com wrote: On 04/21

Re: [Wikitech-l] How to flag new messages as read using api

2014-04-22 Thread Petr Bena
https://bugzilla.wikimedia.org/show_bug.cgi?id=64238 On Mon, Apr 21, 2014 at 3:14 PM, Petr Bena benap...@gmail.com wrote: The api doesn't work, I made it successfuly update it, but it still show new messages On Mon, Apr 21, 2014 at 3:10 PM, Petr Bena benap...@gmail.com wrote: Does it mean

  1   2   3   4   5   6   7   >