[Wikitech-l] Using wiki pages as databases

2013-02-19 Thread MZMcBride
Hi. In the context of https://bugzilla.wikimedia.org/show_bug.cgi?id=10621, the concept of using wiki pages as databases has come up. We're already beginning to see this: * https://en.wiktionary.org/wiki/Module:languages (over 30,000 lines) * https://en.wikipedia.org/wiki/Module:Convertdata

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Johnuniq
On Feb 19, 2013 at 9:11 PM, MZMcBride wrote: https://en.wikipedia.org/wiki/Module:Convertdata I'm guilty of that, and what's been worrying me is that there are hundreds more units to add. Some guidance on using Lua as a database would be very desirable. Quick tests suggest that if {{convert}}

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Tim Starling
On 19/02/13 21:11, MZMcBride wrote: Hi. In the context of https://bugzilla.wikimedia.org/show_bug.cgi?id=10621, the concept of using wiki pages as databases has come up. We're already beginning to see this: * https://en.wiktionary.org/wiki/Module:languages (over 30,000 lines) *

Re: [Wikitech-l] Gerrit reports

2013-02-19 Thread Chad
On Tue, Feb 19, 2013 at 2:36 AM, MZMcBride z...@mzmcbride.com wrote: Hi. I wrote https://www.mediawiki.org/wiki/Gerrit/Reports over the weekend. This is really cool--glad to see the new API getting some usage. -Chad ___ Wikitech-l mailing list

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Tyler Romeo
So unfortunately I don't have a clear idea of what the problem is, primarily because I don't know anything about the Parser and its inner workings, but as far as having all the data in one page, here's something. Maybe this is a bad idea, but how about having a PHP-array content type. In other

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Denny Vrandečić
2013/2/19 Tim Starling tstarl...@wikimedia.org On 19/02/13 21:11, MZMcBride wrote: Has any thought been given to what to do about this? Will it require manually paginating the data over collections of wiki pages? Will this be something to use Wikidata for? Ultimately, I would like it to

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Brad Jorsch
In the long term, Wikidata is probably the way to go on something like this. In the short term, as far as dividing things up, note that you can implement on-demand loading in Lua easily enough using the __index metamethod. local obj = {} setmetatable( obj, { __index = function ( t, k

Re: [Wikitech-l] Next Bugday: Feb. 19 17:00-23:00UTC

2013-02-19 Thread Valerie Juarez
. This information and more can be found here: https://www.mediawiki.org/wiki/Bug_management/Triage/20130219 For more information on Triaging in general, check out https://www.mediawiki.org/wiki/Bug_management/Triage I look forward to seeing you there! Valerie [1] Timezone converter: http

[Wikitech-l] wfMsg and wfMsgForContent are deprecated. What to use?

2013-02-19 Thread Yury Katkov
Hi! wfMsg and wfMsgForContent are deprecated since 1.18 but the comment doesn't say what functions are recommended to use instead. Does anyone knows? - Yury Katkov, WikiVote ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] wfMsg and wfMsgForContent are deprecated. What to use?

2013-02-19 Thread Krenair
See https://www.mediawiki.org/wiki/Manual:Messages_API#Deprecated_wfMsg.2A_functions Alex Monk On 19/02/13 17:07, Yury Katkov wrote: Hi! wfMsg and wfMsgForContent are deprecated since 1.18 but the comment doesn't say what functions are recommended to use instead. Does anyone knows? -

Re: [Wikitech-l] wfMsg and wfMsgForContent are deprecated. What to use?

2013-02-19 Thread Jeroen De Dauw
Hey, Do try to use local context when available though. wfMessage uses global state. If you have a context object available, you can use its msg method. Would be nice if there was a clean and properly segregated interface for message handling objects, though there is none AFAIK. Cheers --

Re: [Wikitech-l] wfMsg and wfMsgForContent are deprecated. What to use?

2013-02-19 Thread Yury Katkov
Thanks, that helps! Maybe it would be good to add the replacement function to the comments in the code? The documentation for doxygen [1] says that @deprecated can be use for describing alternatives. I think it's important for extension developers to quickly see what's not deprecated way to do

[Wikitech-l] MediaWiki BoF at the Southern California Linux Expo this weekend

2013-02-19 Thread Mark Holmquist
Hello all, I just wanted to announce that SCaLE[0] has announced their Birds of a Feather schedule[1], and there's going to be a MediaWiki-related one! I intended mostly to have it be about extensions, gadgets, and modules, but if you want to come and talk about core development you're very

Re: [Wikitech-l] Lua rollout to en.wikipedia.org and a few others

2013-02-19 Thread Gabriel Wicke
On 02/18/2013 04:29 AM, Tim Starling wrote: As for the Wikidata application -- the interface would be awkward compared to something made specifically for interfacing Wikidata with Lua. I am still not convinced that the interface would be awkward. A general method like dataTable =

Re: [Wikitech-l] wfMsg and wfMsgForContent are deprecated. What to use?

2013-02-19 Thread Antoine Musso
Le 19/02/13 18:44, Yury Katkov a écrit : Maybe it would be good to add the replacement function to the comments in the code? The documentation for doxygen [1] says that @deprecated can be use for describing alternatives. I think it's important for extension developers to quickly see what's

[Wikitech-l] Grants available for anti-surveillance/anti-censorship design other tech work

2013-02-19 Thread Sumana Harihareswara
http://openitp.org/?q=openitp_first_round_of_2013_project_funding_now_open_for_proposals OpenITP's first round of 2013 project funding is now open for proposals! Deadline: 31 March 2013 OpenITP project grants are meant to support specific technical efforts to improve users' ability to

[Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Rob Lanphier
Hi everyone, I'm excited to welcome Greg Grossmeier as our new Release Manager at the Wikimedia Foundation. Greg comes to us from Creative Commons, where he served as Education Technology and Policy Coordinator, as well as serving as an interim leader for their engineering group. Prior to

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread maiki
On 02/19/2013 01:09 PM, Rob Lanphier wrote: Please join me in welcoming Greg in his new role! Rob I've heard of this guy... he seems legit. ^_^ Ahem. Yay for Greg! I am looking forward to better release notes! maiki ___ Wikitech-l mailing list

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread James Forrester
Welcome, Greg! Great to have you here. J. On 19 February 2013 13:09, Rob Lanphier ro...@wikimedia.org wrote: Hi everyone, I'm excited to welcome Greg Grossmeier as our new Release Manager at the Wikimedia Foundation. Greg comes to us from Creative Commons, where he served as Education

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Marc A. Pelletier
On 02/19/2013 04:09 PM, Rob Lanphier wrote: I'm excited to welcome Greg Grossmeier as our new Release Manager at the Wikimedia Foundation. Welcome! -- Marc ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Arthur Richards
welcome Greg! On Tue, Feb 19, 2013 at 2:24 PM, Marc A. Pelletier m...@uberbox.org wrote: On 02/19/2013 04:09 PM, Rob Lanphier wrote: I'm excited to welcome Greg Grossmeier as our new Release Manager at the Wikimedia Foundation. Welcome! -- Marc

[Wikitech-l] Congrats Yurik and Tyler Romeo, new core maintainers

2013-02-19 Thread Sumana Harihareswara
Just wanted to note that volunteers Yuri Astrakhan (yurik) and Tyler Romeo (Parent5446) now have +2 rights in MediaWiki core and all MediaWiki extensions. They can thus give binding reviews to your changesets. You might remember Yuri from API work years ago and from his web API proposals and

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Brian Wolff
Welcome greg! What does this mean (if anything) for tarball releases? -bawolff On 2013-02-19 5:30 PM, Arthur Richards aricha...@wikimedia.org wrote: welcome Greg! On Tue, Feb 19, 2013 at 2:24 PM, Marc A. Pelletier m...@uberbox.org wrote: On 02/19/2013 04:09 PM, Rob Lanphier wrote:

Re: [Wikitech-l] Who is responsible for accepting backported patch sets for maintained versions?

2013-02-19 Thread Sumana Harihareswara
On 02/10/2013 06:12 AM, Siebrand Mazeland (WMF) wrote: Today I submitted a few patch sets of master to be backported to 1.19 and 1.20[1,2]. I asked Niklas to review and merge them. He then replied that he thought the Release manager should merge them at a convenient time. Our MediaWiki.org

Re: [Wikitech-l] Code Review Dashboards of other users in gerrit

2013-02-19 Thread Krinkle
On Feb 19, 2013, at 12:13 AM, Krenair kren...@gmail.com wrote: On 18/02/13 23:08, hoo wrote: Hello, after the last gerrit update I'm no longer able to visit the Code Review Dashboards of other gerrit users in case I don't know their user ids. If I do it's fine (eg.

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Andre Klapper
On Tue, 2013-02-19 at 13:09 -0800, Rob Lanphier wrote: I'm excited to welcome Greg Grossmeier as our new Release Manager at the Wikimedia Foundation. Welcome Greg (and see you next week)! andre -- Andre Klapper | Wikimedia Bugwrangler http://blogs.gnome.org/aklapper/

Re: [Wikitech-l] Mediawiki's access points and mw-config

2013-02-19 Thread Platonides
On 18/02/13 18:53, Waldir Pimenta wrote: It somewhat breaks the pattern, considering that all the other access points (and their corresponding php5 files) are located in the root. So that leaves only overrides.php, which I'm not sure why it was kept in mw-config, considering that (quoting

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Platonides
On 19/02/13 13:56, Tyler Romeo wrote: So unfortunately I don't have a clear idea of what the problem is, primarily because I don't know anything about the Parser and its inner workings, but as far as having all the data in one page, here's something. Maybe this is a bad idea, but how about

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Platonides
Welcome Greg! ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Who is responsible for accepting backported patch sets for maintained versions?

2013-02-19 Thread Mark A. Hershberger
On Tue 19 Feb 2013 04:39:25 PM EST, Sumana Harihareswara wrote: My longer term question is: Who is MediaWiki's release manager, and what can we expect of the person who has that role? I think the answer is now that Greg Grossmeier fills the role of MediaWiki's release manager so he will have

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Sumana Harihareswara
On 02/19/2013 04:09 PM, Rob Lanphier wrote: Greg will be managing the deployment process for the Wikimedia websites, focusing at first on improving release notes and outbound communication, freeing up folks like Sam to focus the engineering aspects of the role. He'll help our Bug Wrangler

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Tim Starling
I wrote: The performance of #invoke should be OK for modules up to $wgMaxArticleSize (2MB). Whether the edit interface is usable at such a size is another question. The Wiktionary folk are gnashing their teeth today when they discovered that in fact, loading a 742KB module 1200 times in a

[Wikitech-l] Fwd: [Wmfall] Luis Villa joins WMF as Deputy General Counsel

2013-02-19 Thread Sumana Harihareswara
Luis is also a developer so I wanted you to hear about this. :-) -Sumana Original Message Subject: [Wmfall] Luis Villa joins WMF as Deputy General Counsel Date: Tue, 19 Feb 2013 15:02:07 -0800 From: Geoff Brigham gbrig...@wikimedia.org To: Staff All wmf...@lists.wikimedia.org

Re: [Wikitech-l] Fwd: [Wmfall] Luis Villa joins WMF as Deputy General Counsel

2013-02-19 Thread Quim Gil
On 02/19/2013 03:36 PM, Sumana Harihareswara wrote: *I’m simply thrilled to welcome Luis Villa to the Foundation as our new Deputy General Counsel.* \o/ ! -- Quim Gil Technical Contributor Coordinator @ Wikimedia Foundation http://www.mediawiki.org/wiki/User:Qgil

Re: [Wikitech-l] Fwd: [Wmfall] Luis Villa joins WMF as Deputy General Counsel

2013-02-19 Thread Luis Villa
Hah... I think calling me a developer is, at this point, a bit of a stretch, but I look forward to working with the tech team :) On Tue, Feb 19, 2013 at 3:36 PM, Sumana Harihareswara suma...@wikimedia.org wrote: Luis is also a developer so I wanted you to hear about this. :-) -Sumana

Re: [Wikitech-l] Fwd: [Wmfall] Luis Villa joins WMF as Deputy General Counsel

2013-02-19 Thread Brian Wolff
Wow. That's quite an impressive description! :-) -bawolff On 2013-02-19 7:36 PM, Sumana Harihareswara suma...@wikimedia.org wrote: Luis is also a developer so I wanted you to hear about this. :-) -Sumana Original Message Subject: [Wmfall] Luis Villa joins WMF as Deputy

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Tyler Romeo
You can already use subpages to store data. Access is then O(1) The problem is that then you have one page per entry. I know. What I'm suggesting is an interface where the sub-pages aggregate up the hierarchy, meaning you can still edit the main top-level page, and the backend will simply

Re: [Wikitech-l] Welcome Greg Grossmeier, Release Manager

2013-02-19 Thread Alolita Sharma
Welcome Greg! Glad to see our release engineering process becoming stronger with your joining :-) -Alolita On Wed, Feb 20, 2013 at 4:44 AM, Sumana Harihareswara suma...@wikimedia.org wrote: On 02/19/2013 04:09 PM, Rob Lanphier wrote: Greg will be managing the deployment process for the

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Victor Vasiliev
On 02/19/2013 06:21 PM, Tim Starling wrote: The Wiktionary folk are gnashing their teeth today when they discovered that in fact, loading a 742KB module 1200 times in a single page does in fact take a long time, and it trips the CPU limit after about 450 invocations . So, sorry for raising

Re: [Wikitech-l] Using wiki pages as databases

2013-02-19 Thread Tim Starling
On 20/02/13 15:07, Victor Vasiliev wrote: On 02/19/2013 06:21 PM, Tim Starling wrote: The Wiktionary folk are gnashing their teeth today when they discovered that in fact, loading a 742KB module 1200 times in a single page does in fact take a long time, and it trips the CPU limit after about