Re: [Wikitech-l] Krenair for core

2013-01-06 Thread Krinkle
On Jan 6, 2013, at 3:39 AM, Ori Livneh o...@wikimedia.org wrote:

 
 On Saturday, January 5, 2013 at 2:08 PM, Alex Monk wrote:
 
 Okay then, so what query do you use to get a history of +1 and -1 reviews a
 user has made?
 
 
 
 The best I could come up with is:
 
 reviewer:krenair project:mediawiki/core -owner:krenair (label:CodeReview=1 OR 
 label:CodeReview=-1)
 
 https://gerrit.wikimedia.org/r/#/q/reviewer:krenair+project:mediawiki/core+-owner:krenair+(label:CodeReview%253D1+OR+label:CodeReview%253D-1),n,z
 
 It seems more useful to cast a wider net, though:
 
 reviewer:krenair -owner:krenair
 
 https://gerrit.wikimedia.org/r/#/q/reviewer:krenair+-owner:krenair,n,z
 
 I'll add them to the request on MediaWiki.org.
 

Just pointing out the obvious but this returns all commits where *someone* did 
CR+1/-1 and where Krenair is in the reviewer list.

Such as https://gerrit.wikimedia.org/r/#/c/38258/:
where Bsitu did CR+1 and Alex no review on the final version but is in the 
reviewer/CC list.

-- Krinkle

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] A layman omnipotent script

2013-01-06 Thread Alex Brollo
How many lines should have a script, and how many parameters are needed,
 to get anything from anywhere (into MediaWiki world) and to do anything
with the result?

Well, I'm surprised that the answer of both questions is: one.

function getHtmlNew(parametri) {
   $.ajax(parametri.ajax).done(function (data) {
  parametri.callback( parametri, data);
  });
}

Yes, parametri a pretty complex object, and callback() could be very simple
or extremely complex, anyway it runs and it is a script of one line,
needing one parameter only.

It runs too using Wikidata API.

Alex brollo
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Echo IRC office hours for developers

2013-01-06 Thread Gergo Tisza
Ryan Kaldari rkaldari at wikimedia.org writes:

 
 The Editor Engagement team will be holding a special Echo IRC office 
 hours specifically for developers next Tuesday. We would like to let the 
 other developers know what we're up to and allow them to ask any 
 questions they may have about the Echo Notifications system. Since Echo 
 is designed to be utilized by other extensions, we also hope to provide 
 some guidance on how to accomplish this. Hope to see you there!
 
 The meeting will be in #wikimedia-tech on Tuesday, January 8th at 11am 
 PST (19:00 UTC).
 
 Ryan Kaldari
 


Hi Ryan,

is this specifically for MediaWiki extension developers or will it be useful for
developers of external tools (bot, gadgets, toolserver scripts etc.) as well?


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] monitoring / control system for bots

2013-01-06 Thread Ryan Lane
On Sat, Jan 5, 2013 at 6:48 AM, Daniel Schwen li...@schwen.de wrote:

 What we rather need is monitoring for the instances. My bots have not been
 the problem, so far the source for unreliable bot operation has been the
 underlying infrastructure. Be it the moving of home dirs and the read-only
 fs or overloaded instances.


Are you subscribed to the labs-l list? We sent out a warning about the home
directory change and about what you'd need to do once we made it. We don't
like to reboot people's instances for them, so we left instances running
with a read-only home directory until they were ready to reboot.

If there are overloaded instances, create more and have less bots running
on a single instance. If your bot uses a lot of resources, then it can have
its own instance.

- Ryan
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Bugzilla Weekly Report

2013-01-06 Thread reporter
MediaWiki Bugzilla Report for December 31, 2012 - January 07, 2013

Status changes this week

Bugs NEW   :  520 
Bugs ASSIGNED  :  58  
Bugs REOPENED  :  39  
Bugs RESOLVED  :  177 

Total bugs still open: 9050

Resolutions for the week:

Bugs marked FIXED  :  125 
Bugs marked REMIND :  0   
Bugs marked INVALID:  16  
Bugs marked DUPLICATE  :  15  
Bugs marked WONTFIX:  9   
Bugs marked WORKSFORME :  17  
Bugs marked LATER  :  0   
Bugs marked MOVED  :  0   

Specific Product/Component Resolutions  User Metrics 

New Bugs Per Component

General/Unknown 9   
Special pages   7   
General/Unknown 6   
GuidedTour  4   
General 3   

New Bugs Per Product

MediaWiki   31  
Wikimedia   21  
MediaWiki extensions45  
Datasets1   
Security1   

Top 5 Bug Resolvers

aklapper [AT] wikimedia.org 23  
jrobson [AT] wikimedia.org  13  
krenair [AT] gmail.com  8   
s.mazeland [AT] xs4all.nl   8   
krinklemail [AT] gmail.com  7   


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l