[01:46:11] 2152 kafka 20 0 3418396 259724 6292 S 12.3 16.9 513:16.68 java [01:46:21] * Reedy wonders what kafka is doing using cpu time all the time in mw-vagrant [01:54:14] why are you running kafka :o [01:55:11] I'm not sure [01:55:22] I think it's somewhere from the VE/parsoid tree [01:55:49] eventbus includes it [01:56:10] The role itself isn't actually enabled [01:56:34] centralauth, fileimporter, ores, visualeditor and wikipediaextracts [01:56:39] It's ve or ores I guess? [01:58:58] # aptitude why kafkacat [01:58:58] Unable to find a reason to install kafkacat. [02:00:23] I give up [02:00:30] I'll just destroy it later [02:20:06] ve -> restbase -> changesprop -> kafka IIRC [15:30:02] no_justification: did we intentionally stop generating these changelog pages? this seems to be the last one. https://www.mediawiki.org/wiki/MediaWiki_1.31/wmf.4/Changelog [15:56:46] Nope. I just forget mostly [15:56:52] Also the script sucks [15:57:01] I wanna automate this... [17:40:16] * MediaWiki is located at /vagrant/mediawiki. [17:40:16] vagrant@vagrant:/vagrant$ cd /vagrant/mediawiki [17:40:16] -bash: cd: /vagrant/mediawiki: No such file or directory [17:40:20] Well thanks, vagrant [17:41:35] inside vagrant... isn't it just /mediawiki? [17:41:42] Oh, dur [17:41:45] heh [17:41:57] Or, no [17:42:04] Just /media [17:42:06] or not... [17:42:16] Is mah vagrant busted? [17:42:26] /vagrant [17:42:28] that's it [17:42:48] .host:/vagrant-root on /vagrant type vmhgfs (rw,relatime) [17:42:51] at least... for me [17:53:49] Hmm [17:53:59] I only have /vagrant/logs [17:54:02] * no_justification fumes a little [17:55:12] Hmm, maybe I need to restart the VM, folders not mounted? [18:05:01] Yep that was it [18:08:04] Hmm, trying to run PHPUnit tests I get a fair # of permission denied trying to hit the filesystem :\ [20:13:08] anomie: hi! have a question about https://gerrit.wikimedia.org/r/#/c/395682 if you have a minute [20:14:48] SMalyshev: What's the question? [20:15:11] anomie: what addMetadataToResultVars is supposed to do there? I'm not sure I understand what's its function [20:17:49] SMalyshev: It adds ApiResult metadata to an array so ApiResult won't do things like change boolean true/false to empty-string/removed, adds generic tag name definitions for the XML format, and so on. [20:20:33] anomie: ah, ok. So which data it should be applied to? The extra data structure is basically this: each extension can define an augmenter, and the data would be name => augmenter data, with augmenter data being either string or array (in wikidata case, it's array) [20:21:01] so should the addMetadata apply to the whole thing or to individual data pieces? or it doesn't matter? [20:21:14] SMalyshev: The function works recursively, so you can just pass in the top-level array. [20:21:27] ok cool, thanks [20:22:41] SMalyshev: Keep in mind, if the extension puts some object into its data, the API will probably wind up doing (array)$object and putting that in the result. [20:23:37] And that's probably not going to be what was intended. [20:24:05] there shouldn't be any objects there. no reason for an extension to do that [20:24:53] there should be just numbers and html snippets and so on [22:18:49] Fatal error: Class undefined: Linked in /srv/mediawiki/php-1.31.0-wmf.11/extensions/OAuth/frontend/specialpages/SpecialMWOAuth.php on line 215 [22:18:50] Derp [22:23:53] oops [22:24:03] probably should have tested that [22:24:15] no_justification: are you fixing it or should I? [22:24:32] I was just dropping into IRC and complaining :p [22:24:35] (my usual MO) [22:24:46] fair enough [22:25:59] (who is triggering that error anyway? it should only happen on garbage URLs) [22:26:58] no_justification: https://gerrit.wikimedia.org/r/395871 [22:38:02] tgr: No idea who (+2'd btw), only saw it once so you're right probably only bogus requests