Re: [Wikitech-l] Fwd: IRC office hours with the Editor Engagement Experiments team

2013-02-05 Thread rupert THURNER
On Mon, Feb 4, 2013 at 10:54 PM, Matthew Flaschen mflasc...@wikimedia.org wrote: On 02/04/2013 03:58 PM, Steven Walling wrote: Sorry for cross-posting, but for MediaWiki developers, this is a good opportunity to ask any questions you might have about the newly-released Extension:GuidedTour,

Re: [Wikitech-l] Fwd: IRC office hours with the Editor Engagement Experiments team

2013-02-05 Thread MZMcBride
rupert THURNER wrote: On Mon, Feb 4, 2013 at 10:54 PM, Matthew Flaschen mflasc...@wikimedia.org wrote: On 02/04/2013 03:58 PM, Steven Walling wrote: Sorry for cross-posting, but for MediaWiki developers, this is a good opportunity to ask any questions you might have about the newly-released

Re: [Wikitech-l] Extending Scribunto with new Lua functions

2013-02-05 Thread Jens Ohlig
Am 04.02.2013 um 18:03 schrieb Brad Jorsch bjor...@wikimedia.org: On Mon, Feb 4, 2013 at 8:46 AM, Jens Ohlig jens.oh...@wikimedia.de wrote: Here are my questions: 1. Is there an easy way to add your own Lua functions (that call PHP Api functions) to Scribunto other than writing them into

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Bináris
Failed. Our sysop is like a stone. The main argument is that we have a Microsoft environment and no need of a new development . I was advised to use Sharepoint wiki instead which is a fade mockery of MediaWiki. I give it up. :-((( 2013/2/2 Marco Fleckinger marco.fleckin...@wikipedia.at Hi,

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Chad
On Tue, Feb 5, 2013 at 6:03 AM, Bináris wikipo...@gmail.com wrote: Failed. Our sysop is like a stone. The main argument is that we have a Microsoft environment and no need of a new development . I was advised to use Sharepoint wiki instead which is a fade mockery of MediaWiki. I give it up.

[Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Nils Adermann
Hey everyone, There was a brief discussion on this list on the subject of Composer use in MediaWiki last October [1]. I also answered various questions regarding Composer in a tech chat via Google Hangout in November. I never responded to the mailing list thread and thought I'd bring up a few

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Marco Fleckinger
On 02/05/2013 12:03 PM, Bináris wrote: Failed. Our sysop is like a stone. The main argument is that we have a Microsoft environment and no need of a new development . I was advised to use Sharepoint wiki instead which is a fade mockery of MediaWiki. I give it up. :-((( The farmer doesn't want

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Chad
On Tue, Feb 5, 2013 at 7:06 AM, Marco Fleckinger marco.fleckin...@wikipedia.at wrote: The farmer doesn't want to eat anything he doesn't know. I don't know this sentence's popularity in Hungary (AFAIK?), but in German it's quite famous. I think the rough equivalent in English is nobody wants

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Antoine Musso
Le 05/02/13 12:29, Nils Adermann wrote: snip Composer is for the most part a library handling package metadata, package repository metadata, version matching, dependency resolution, downloading and unpacking packages as well as the processes that put all of these parts together in an

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Ariel T. Glenn
Στις 05-02-2013, ημέρα Τρι, και ώρα 07:21 -0500, ο/η Chad έγραψε: On Tue, Feb 5, 2013 at 7:06 AM, Marco Fleckinger marco.fleckin...@wikipedia.at wrote: The farmer doesn't want to eat anything he doesn't know. I don't know this sentence's popularity in Hungary (AFAIK?), but in German it's

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Antoine Musso
Le 05/02/13 13:40, Antoine Musso wrote: The plan so far is to setup a Satis install on the continuous integration box to let our Jenkins job fetch extensions locally via Composer. It is not a huge priority though :-) I realized the term Satis could use a bit of an explanation. It is a PHP

Re: [Wikitech-l] Merge Vector extension into core

2013-02-05 Thread Jeroen De Dauw
Hey, if the code shouldn't be merged to core. I have no real opinion on if this should happen or not,. though if it does, I think it'd be better to bundle it as the extension it is now rather then merging it into core. This keeps the code nicely separated and core more lean. Cheers -- Jeroen

Re: [Wikitech-l] Merge Vector extension into core

2013-02-05 Thread Matma Rex
Vector is a weird mess of extensions to the skin, extensions to general functionality, and unused broken scripts. Merging it properly would require some work and some deleting. -- Matma Rex ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Nils Adermann
On 02/05/2013 01:45 PM, Antoine Musso wrote: Le 05/02/13 13:40, Antoine Musso wrote: The plan so far is to setup a Satis install on the continuous integration box to let our Jenkins job fetch extensions locally via Composer. It is not a huge priority though :-) I realized the term Satis

[Wikitech-l] Fwd: wikiscan / similar for english wikipedia

2013-02-05 Thread Jérémie Roquet
Hi everyone, 2013/1/30 Paul Selitskas p.selits...@gmail.com: Perhaps, we should not limit such requests to just English Wikipedia. It's better to contact the project maintainers directly first. If you're looking for the maintainer of Wikiscan, here's his talk page:

Re: [Wikitech-l] Extending Scribunto with new Lua functions

2013-02-05 Thread Brad Jorsch
On Tue, Feb 5, 2013 at 5:31 AM, Jens Ohlig jens.oh...@wikimedia.de wrote: Am 04.02.2013 um 18:03 schrieb Brad Jorsch bjor...@wikimedia.org: On Mon, Feb 4, 2013 at 8:46 AM, Jens Ohlig jens.oh...@wikimedia.de wrote: Here are my questions: 1. Is there an easy way to add your own Lua functions

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Antoine Musso
Le 05/02/13 12:29, Nils Adermann a écrit : There was a brief discussion on this list on the subject of Composer use in MediaWiki last October [1]. Long story short, we have MediaWiki core published at packagist.org now: https://packagist.org/packages/mediawiki/core Thank you note goes to: -

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Mark A. Hershberger
On 02/05/2013 09:06 AM, Antoine Musso wrote: Long story short, we have MediaWiki core published at packagist.org now: This is awesome! How do we get extensions into packagist? -- http://hexmode.com/ There is no path to peace. Peace is the path. -- Mahatma Gandhi, Non-Violence in Peace

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Dan Andreescu
Devils and Sausages aside, I think sysadmins have a hard job that probably shouldn't be made harder if possible: http://xkcd.com/705/ Binaris, if you have access to a machine, you can set up a Bitnami MediaWiki installation. It's as simple as downloading the executable and running it. Bitnami

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Tyler Romeo
You all may be interested to know that https://github.com/composer/installers actually has a MediaWiki extension composer installer. I'm working on a more robust version, but for now it looks like it works. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer

[Wikitech-l] [IRC] new feature

2013-02-05 Thread Petr Bena
Hi, just wanted to inform you about new feature some of you might find useful. In case you are looking for someone and you want to be notified when they become online, you can use wm-bot for that (though it's in some wikimedia channels only, but all general dev channels are already being occupied

Re: [Wikitech-l] Extending Scribunto with new Lua functions

2013-02-05 Thread Gabriel Wicke
On 02/05/2013 02:35 AM, Jens Ohlig wrote: I'm wondering if some of the specialized functionality can be avoided by fetching JSON data from wikibase / wikidata through a web API. This would be more versatile, and could be used by alternative templating systems. This was actually my first

Re: [Wikitech-l] Extending Scribunto with new Lua functions

2013-02-05 Thread Brad Jorsch
On Tue, Feb 5, 2013 at 11:43 AM, Gabriel Wicke gwi...@wikimedia.org wrote: Apart from making the data generally available, using a web API means that the execution can be parallelized / distributed and potentially cached. It also tends to lead to narrow interfaces with explicit handling of

Re: [Wikitech-l] Extending Scribunto with new Lua functions

2013-02-05 Thread Gabriel Wicke
On 02/05/2013 10:53 AM, Brad Jorsch wrote: On Tue, Feb 5, 2013 at 11:43 AM, Gabriel Wicke gwi...@wikimedia.org wrote: Apart from making the data generally available, using a web API means that the execution can be parallelized / distributed and potentially cached. It also tends to lead to

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Antoine Musso
Le 05/02/13 17:00, Tyler Romeo wrote: You all may be interested to know that https://github.com/composer/installers actually has a MediaWiki extension composer installer. I'm working on a more robust version, but for now it looks like it works. Please please do! :-] I wrote that very basic

Re: [Wikitech-l] Composer use in MediaWiki (II)

2013-02-05 Thread Tyler Romeo
Mhm, right now I have include files, mandatory configuration variables (it prompts the user if in interactive mode), and schema updates (update.php). Is there anything else anybody can think of that an extension installer could do conveniently? *--* *Tyler Romeo* Stevens Institute of Technology,

Re: [Wikitech-l] [Engineering] RFC: Introducing two new HTTP headers to track mobile pageviews

2013-02-05 Thread Arthur Richards
On Mon, Feb 4, 2013 at 7:12 PM, Asher Feldman afeld...@wikimedia.orgwrote: On Mon, Feb 4, 2013 at 5:21 PM, Asher Feldman afeld...@wikimedia.org wrote: On Mon, Feb 4, 2013 at 4:59 PM, Arthur Richards aricha...@wikimedia.org wrote: In the case of the cookie, the header would actually get

Re: [Wikitech-l] [Engineering] RFC: Introducing two new HTTP headers to track mobile pageviews

2013-02-05 Thread Diederik van Liere
Analytics folks, is this workable from your perspective? Yes, this works fine for us and it's also no problem to set multiple key/value pairs in the http header that we are now using for the X-CS header. Diederik ___ Wikitech-l mailing list

Re: [Wikitech-l] Extending Scribunto with new Lua functions

2013-02-05 Thread Brad Jorsch
On Tue, Feb 5, 2013 at 2:43 PM, Gabriel Wicke gwi...@wikimedia.org wrote: It would also mean that MediaWiki would be making uncontrolled API calls *during the page parse*. To me it is not clear why a Wikidata web API would be less controlled than a Wikidata Lua API with direct access to the

Re: [Wikitech-l] Merge Vector extension into core

2013-02-05 Thread Tim Starling
On 05/02/13 13:02, Sébastien Santoro wrote: Good evening, Hashar and me discussed about the Vector extension this morning on #wikimedia-tech and we wonder if the code shouldn't be merged to core. Rationale: Vector is the main design of our product and the Vector extension contains

[Wikitech-l] Fwd: [Gerrit] API PageSet allows generator for non-query modules - change (mediawiki/core[master])

2013-02-05 Thread Tyler Romeo
Currently our coding conventions have major prohibitions on the use of isset() and empty(). I can understand isset(), because sometimes it makes more sense logically to have boolean casting or strict type checking, but in the case of empty(), it's significantly faster than boolean casting and is

Re: [Wikitech-l] Merge Vector extension into core

2013-02-05 Thread K. Peachey
On Tue, Feb 5, 2013 at 10:53 PM, Jeroen De Dauw jeroended...@gmail.com wrote: I have no real opinion on if this should happen or not,. though if it does, I think it'd be better to bundle it as the extension it is now rather then merging it into core. This keeps the code nicely separated and

Re: [Wikitech-l] Fwd: [Gerrit] API PageSet allows generator for non-query modules - change (mediawiki/core[master])

2013-02-05 Thread Tim Starling
On 06/02/13 15:18, Tyler Romeo wrote: If you're checking for *whether an array is empty*, which is more intuitive: if( !$array ) // If the boolean value of the array is false if( empty( $array ) ) // If the array is empty The second is more intuitive. The first is more readable, since it

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Bináris
Thank you, guys, I got more answer since I have told my disaster than previously. :-) 2013/2/5 Marco Fleckinger marco.fleckin...@wikipedia.at Therefore you will need user credentials. BTW, is it already activated? Does your company even want to use it? If you already have some wiki-stuff,

Re: [Wikitech-l] Merge Vector extension into core

2013-02-05 Thread Matma Rex
On Wed, 06 Feb 2013 04:31:13 +0100, Tim Starling tstarl...@wikimedia.org wrote: On 06/02/13 00:12, Matma Rex wrote: Vector is a weird mess of extensions to the skin, extensions to general functionality, and unused broken scripts. Merging it properly would require some work and some deleting.

Re: [Wikitech-l] Integrating MediaWiki into MS SBS

2013-02-05 Thread Quim Gil
On 02/05/2013 04:02 PM, Dan Andreescu wrote: http://xkcd.com/705/ :D Binaris, if you have access to a machine, you can set up a Bitnami MediaWiki installation. It's as simple as downloading the executable and running it. Bitnami is an open source project that bundles popular open source