[Wikitech-l] ICINGA Monitoring Plugin for Wikidata

2014-05-28 Thread Christopher Johnson
Hi, Wikidata needs to monitor dispatch statistics per Bug 65291 ( https://bugzilla.wikimedia.org/show_bug.cgi?id=65291). We would like to use ICINGA to send an IRC alert if the dispatch lag exceeds a critical threshold. A nagios plugin for this (check_dispatch) has been written in Perl and we

[Wikitech-l] Unclear Meaning of $baseRevId in WikiPage::doEditContent

2014-05-28 Thread Daniel Kinzler
Hi all. We (the Wikidata team) ran into an issue recently with the value that gets passed as $baseRevId to Content::prepareSave(), see Bug 67831 [1]. This comes from WikiPage::doEditContent(), and, for core, is nearly always set to false (e.g. by EditPage). We interpreted this rev ID to be the

Re: [Wikitech-l] Adding external libraries to core (SwiftMailer)

2014-05-28 Thread Tony Thomas
Yes. we will have the third party code kept in a separate repo though. Currently, mw users have to run : sudo apt-get install php-pear sudo pear install mail sudo pear install Net_SMTP to install the pear and mail package to get mail working. After this patch, and composer loded with the

Re: [Wikitech-l] What should be the recommended / supported way to do skins? (A proposal.)

2014-05-28 Thread Nick White
On Wed, May 28, 2014 at 02:00:36PM +0200, Stephan Gambke wrote: You are late. ;-) A type mediawiki-skin exists. Oh, fantastic :) Thanks for letting me know. It would probably be good to add this info to the Manual:Skinning/Tutorial page. I'll do that when I've made it work for Erudite, if

Re: [Wikitech-l] Unclear Meaning of $baseRevId in WikiPage::doEditContent

2014-05-28 Thread Brad Jorsch (Anomie)
On Wed, May 28, 2014 at 7:25 AM, Daniel Kinzler dan...@brightbyte.dewrote: If you happen to know when and why $baseRevId was introduced, please enlighten me. When is easy enough: http://mediawiki.org/wiki/Special:Code/MediaWiki/34987 If I had to guess at the why, I'd guess it was probably

Re: [Wikitech-l] ICINGA Monitoring Plugin for Wikidata

2014-05-28 Thread Matthew Flaschen
On 05/28/2014 07:11 AM, Christopher Johnson wrote: Hi, Wikidata needs to monitor dispatch statistics per Bug 65291 ( https://bugzilla.wikimedia.org/show_bug.cgi?id=65291). We would like to use ICINGA to send an IRC alert if the dispatch lag exceeds a critical threshold. A nagios plugin for

Re: [Wikitech-l] SVG linking of external images/bitmaps - xlink:href should support http(s) resources

2014-05-28 Thread Chris Steipp
On Tue, May 27, 2014 at 10:10 PM, Matthew Flaschen mflasc...@wikimedia.orgwrote: On 05/27/2014 10:52 PM, Brian Wolff wrote: I specifically said bits.wikimedia.org and upload.wikimedia.org (and not commons.wikimedia.org), neither of which host user JavaScript. Matt Flaschen Gadgets are

Re: [Wikitech-l] What should be the recommended / supported way to do skins? (A proposal.)

2014-05-28 Thread Bartosz DziewoƄski
On Tue, 27 May 2014 05:28:41 +0200, Dan Garry dga...@wikimedia.org wrote: I am not a developer and therefore I cannot speak for them, but from a product perspective I have no insurmountable issues with either the /skins/ or the /extensions/ solution. It seems that there's pros and cons for each