[01:16:35] if i want to run some code with the diff between a revision and the previous revision (as soon as an article is edited) what would be the best way to do that? [01:24:17] You can write a bot the repetitively polls Special:Recentchanges [01:24:21] Or you could use a hook [01:25:13] !hook NewRevisionFromEditComplete | mwasteland [01:25:13] mwasteland: https://www.mediawiki.org/wiki/Manual:Hooks/NewRevisionFromEditComplete [01:25:27] There are several edit related hooks, that may not be the most appropriate one [01:31:08] bawolff: Thanks, I'll check that hook. I think a hook would be better than a repetitive poll if two edits happen rapidly right? [01:31:32] It depends on your needs [01:31:41] hmm yeah... [01:31:43] The hook has to run on the server, where a bot can run anywhere [01:31:54] And you can get the bot to fetch the last couple of edits [01:32:21] Some people also setup feed based things (e.g. the irc channel #en.wikipedia on irc.wikimedia.org ) [01:32:42] and then have bots feed into that [01:32:52] Lots of countervandalism stuff on wikipedia uses that [01:33:31] Wikipedia also has eventstream's https://wikitech.wikimedia.org/wiki/EventStreams, but that's probably hard to set up [01:33:54] Also of interest https://www.mediawiki.org/wiki/Manual:IRC_RC_Bot [01:40:07] great info [02:04:08] bawolff I believe we spoke the other day about the old LDAP plugin - was that you? [02:05:04] never mind... Just noticed he left [02:05:56] Does anyone have experience with auth plugins? I'm writing my own LDAP plugin that uses the newer extension format. Trying to figure out account linking and can't find any good resources. [18:44:40] for master and slave databases, if i read right and have both set to 1, would it split the read only connections instead of sending all of them to the replica? [18:47:54] I dont think so [18:48:11] i think the weight is totally ignored for master [18:48:28] but i could be wrong. I havent looked at the code recently [18:49:04] seems odd having a weight variable for master then [18:53:13] before $wgDBloads was removed, it allowed you to specify load balance the same way. but in the example it was 0.6, 0.4 instead of 0, 1 [18:53:25] so that's why I'm curious [18:58:27] I think if you want the master db to also be used as a slave maybe you should add it twice [18:58:49] * bawolff should emphasize im just guessing [23:50:17] any thoughts on why instant commons might have broken in an upgrade from 1.26(?) to 1.31 [23:52:44] I've tried the one-liner and manual specification to get instant commons, and also checked my certs. my log files don't show any obvious errors either. [23:53:23] I just get size (like "30px") instead of images from commons [23:54:31] Do you have mediawiki debug logging enabled? It may say something useful [23:54:45] ah, I haven't tried that yet, lemme try [23:55:44] and when you go directly to the image description page (mywiki.com/wiki/File:example.png ) does anything show up or does it just claim no image? [23:57:28] says no file [23:59:59] That basically points to either instant commons not being turned on, or mediawiki not being able to contact wikimedia's servers