Re: [Wikitech-l] [GSoC 2013] Wikidata Entity Suggester prototype

2013-05-22 Thread Denny Vrandečić
Awesome, that looks already pretty promising! I am not completely sure I understand a few things: 1074167410 106 107215627 156 what do the two properties without a value mean here? I would have expected: 1074167410 107215627 and now ask for suggested values for 31, or for

Re: [Wikitech-l] [GSoC 2013] Wikidata Entity Suggester prototype

2013-05-22 Thread Nilesh Chakraborty
Hi Denny, Thanks! I am not sure how accurate it will be, if it doesn't meet expectations, I might need to think about optimizing the model, different metrics etc.; I haven't really thought about those at the moment. what do the two properties without a value mean here? Let me explain those.

Re: [Wikitech-l] [GSoC 2013] Wikidata Entity Suggester prototype

2013-05-22 Thread Nilesh Chakraborty
Thanks for the idea! I'll add those pretty soon, shouldn't take much effort. Cheers, Nilesh On Wed, May 22, 2013 at 5:16 AM, Matthew Flaschen mflasc...@wikimedia.orgwrote: On 05/21/2013 05:29 PM, Nilesh Chakraborty wrote: You can give it a bunch of property IDs, or a bunch of property-value

[Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Jeroen De Dauw
Hey, I'd like to load MediaWiki from some PHP script and have not been able to find a way to do this so far. After someone suggested trying to do this as a maintenance script, I tried http://pastebin.com/scKFxF2J That however does not work as there is a check in doMaintenance.php

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Tyler Romeo
What exactly do you mean by load MediaWiki? What's the use case? Maybe try making your own entry point? *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Wed, May 22, 2013 at 11:16 AM, Jeroen De Dauw

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Chad
Making entry points isn't straightforward (which is why I suggested maintenance), but it can be done. We really need to cleanup the bootstrap process. -Chad On May 22, 2013 8:48 AM, Tyler Romeo tylerro...@gmail.com wrote: What exactly do you mean by load MediaWiki? What's the use case? Maybe

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Daniel Friesen
On Wed, 22 May 2013 08:50:51 -0700, Chad innocentkil...@gmail.com wrote: Making entry points isn't straightforward (which is why I suggested maintenance), but it can be done. We really need to cleanup the bootstrap process.

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Jeroen De Dauw
Hey, Making entry points isn't straightforward (which is why I suggested maintenance), but it can be done. We really need to cleanup the bootstrap process. So you are saying it currently is not possible and that a new entry point needs to be created? If so, is there any way to get such a

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Chad
On Wed, May 22, 2013 at 9:05 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, Making entry points isn't straightforward (which is why I suggested maintenance), but it can be done. We really need to cleanup the bootstrap process. So you are saying it currently is not possible and that

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Jeroen De Dauw
Hey, I hacked up something extremely evil which is now working for my usecase: http://pastebin.com/WcT1MPNv Clearly this is far from ideal since my code should not know about MW internal at all, it should just include some entry point file. One fun thing I had to do was stuff all local

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Nischay Nahata
http://www.mediawiki.org/wiki/File:Mediawiki-vagrant-screenshot.png Does this help? On Wed, May 22, 2013 at 10:17 PM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey, I hacked up something extremely evil which is now working for my usecase: http://pastebin.com/WcT1MPNv Clearly this is

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Jeroen De Dauw
Hey, Another problem with this current approach is that it will cause extensions to be loaded, which I have no use for. This however seems hard to get around due to LocalSettings both defining needed config and including the extensions. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic.

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Daniel Friesen
On Wed, 22 May 2013 09:47:14 -0700, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, I hacked up something extremely evil which is now working for my usecase: http://pastebin.com/WcT1MPNv Looks like we just need to abstract most of WebStart.php and part of doMaintenance into something

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Antoine Musso
Le 22/05/13 17:57, Daniel Friesen a écrit : On Wed, 22 May 2013 08:50:51 -0700, Chad innocentkil...@gmail.com wrote: Making entry points isn't straightforward (which is why I suggested maintenance), but it can be done. We really need to cleanup the bootstrap process.

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Tyler Romeo
On Wed, May 22, 2013 at 1:12 PM, Daniel Friesen dan...@nadir-seen-fire.comwrote: Looks like we just need to abstract most of WebStart.php and part of doMaintenance into something like includes/Start.php to support things that are neither web nor maintenance. Honestly, why don't we just move

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Daniel Friesen
On Wed, 22 May 2013 11:18:29 -0700, Tyler Romeo tylerro...@gmail.com wrote: On Wed, May 22, 2013 at 1:12 PM, Daniel Friesen dan...@nadir-seen-fire.comwrote: Looks like we just need to abstract most of WebStart.php and part of doMaintenance into something like includes/Start.php to support

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Daniel Friesen
On Wed, 22 May 2013 11:17:13 -0700, Antoine Musso hashar+...@free.fr wrote: Le 22/05/13 17:57, Daniel Friesen a écrit : On Wed, 22 May 2013 08:50:51 -0700, Chad innocentkil...@gmail.com wrote: Making entry points isn't straightforward (which is why I suggested maintenance), but it can be

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Jeroen De Dauw
Hey, * WebRequest does much more than routing :( so it's not going to disappear. :(( Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Daniel Friesen
On Wed, 22 May 2013 12:31:50 -0700, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, * WebRequest does much more than routing :( so it's not going to disappear. :(( Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- What's your problem with WebRequest

Re: [Wikitech-l] Bugzilla Weekly Report

2013-05-22 Thread Andre Klapper
On Mon, 2013-05-20 at 03:00 +, reporter wrote: Status changes this week Reports changed/set to UNCONFIRMED: 0 [...] Sorry, I didn't manage to get https://gerrit.wikimedia.org/r/#/c/63998/ merged before the script ran on Monday (issue itself is a stupid

[Wikitech-l] Querying the database

2013-05-22 Thread Tuszynski, Jaroslaw W.
I do a lot of maintenance tasks on Commons, and many tasks require some sort of database query to find the oddball cases. The queries can be done through one of several ways: 1) Using CatScan and CatScan2[2] tools 2) Database query service [3] 3) Weekly Database reports [4] Unfortunately lately

Re: [Wikitech-l] Loading MediaWiki from some script

2013-05-22 Thread Tyler Romeo
On May 22, 2013 3:36 PM, Daniel Friesen dan...@nadir-seen-fire.com wrote: On Wed, 22 May 2013 12:31:50 -0700, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, * WebRequest does much more than routing :( so it's not going to disappear. :(( Cheers -- Jeroen De Dauw

Re: [Wikitech-l] Querying the database

2013-05-22 Thread Petr Onderka
This is probably not what you want to hear, but one way would be to get a Toolserver account. That way, you wouldn't need the query service, you could run those queries by yourself. Petr Onderka [[en:User:Svick]] On Wed, May 22, 2013 at 10:03 PM, Tuszynski, Jaroslaw W.

Re: [Wikitech-l] Querying the database

2013-05-22 Thread John
Feel free to drop me a mail off list, Ive got a TS account and will gladly lend a hand with the reports On Wed, May 22, 2013 at 4:24 PM, Petr Onderka gsv...@gmail.com wrote: This is probably not what you want to hear, but one way would be to get a Toolserver account. That way, you wouldn't

Re: [Wikitech-l] Moving a GitHub Pull Request to Gerrit Changeset manually

2013-05-22 Thread Yuvi Panda
Bump! This is now fully automatic! Enabled for the following repos: qa/browsertests extensions/PostEdit extensions/GuidedTour extensions/GettingStarted extensions/EventLogging extensions/MobileFrontend (I've asked the people who are major contributors to the repos and gotten agreement to turn it

Re: [Wikitech-l] Moving a GitHub Pull Request to Gerrit Changeset manually

2013-05-22 Thread Steven Walling
On Wednesday, May 22, 2013, Yuvi Panda wrote: Bump! This is now fully automatic! Enabled for the following repos: qa/browsertests extensions/PostEdit extensions/GuidedTour extensions/GettingStarted extensions/EventLogging extensions/MobileFrontend (I've asked the people who are major

Re: [Wikitech-l] Querying the database

2013-05-22 Thread Marc A. Pelletier
On 05/22/2013 04:03 PM, Tuszynski, Jaroslaw W. wrote: So are there any non-toolserver based alternatives for database queries? Well, there are always the Tool Labs[1]. Database replica access is still experimental/in trial but it works. -- Marc [1]

Re: [Wikitech-l] Moving a GitHub Pull Request to Gerrit Changeset manually

2013-05-22 Thread Tyler Romeo
def log(s): print s :D Seriously, though, this is pretty awesome. Also good to see the sh module getting some use. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Wed, May 22, 2013 at 4:45 PM,

[Wikitech-l] Fwd: [QA] First post (almost)

2013-05-22 Thread Quim Gil
Hi, we have now a mailing list dedicated to QA specific topics: https://lists.wikimedia.org/mailman/listinfo/qa http://lists.wikimedia.org/pipermail/qa/ Please forward to your colleagues interested in testing and in contributing to Wikimedia! See the rationale and background below.

Re: [Wikitech-l] Querying the database

2013-05-22 Thread Ryan Kaldari
There's also stat1.wikimedia.org, but I'm not sure who all has access to that. I think just WMF staff and WMF-approved researchers, but I could be wrong. Ryan Kaldari On 5/22/13 2:28 PM, Marc A. Pelletier wrote: On 05/22/2013 04:03 PM, Tuszynski, Jaroslaw W. wrote: So are there any

Re: [Wikitech-l] [GSoC 2013] Wikidata Entity Suggester prototype

2013-05-22 Thread Nilesh Chakraborty
I'm taking the demo offline for a few hours. It will be back up again in a day's time. Cheers, Nilesh On Wed, May 22, 2013 at 6:06 PM, Nilesh Chakraborty nil...@nileshc.comwrote: Thanks for the idea! I'll add those pretty soon, shouldn't take much effort. Cheers, Nilesh On Wed, May 22,

Re: [Wikitech-l] Moving a GitHub Pull Request to Gerrit Changeset manually

2013-05-22 Thread Yuvi Panda
On Thu, May 23, 2013 at 3:17 AM, Tyler Romeo tylerro...@gmail.com wrote: def log(s): print s :D The entire codebase could use some cleanup :) Also I had replaced the prints with appropriate logging sometime in the past, but changed it back because lazyness. Seriously, though, this is