[16:50:27] New patchset: Stefan.petrea; "commandline param for config files" [analytics/wikistats] (master) - https://gerrit.wikimedia.org/r/25036 [17:18:54] New review: Diederik; "Looks really good! Made some minor comments." [analytics/wikistats] (master); V: 1 C: -1; - https://gerrit.wikimedia.org/r/25036 [17:48:18] Nikerabbit, is it possible to detect stuff like http://translatewiki.net/w/i.php?title=Wikimedia:Wlmmobile-upload-comment/es&diff=4238982&oldid=4211581 in Translate? [19:40:40] AaronSchulz, is there currently an elegant way to upload a file from one wiki to another on WMF? [19:41:07] not that I know of [19:42:25] <^demon> It'd be way easier if we'd ever finished file support in dumps. [19:42:38] <^demon> Some way to dump the actual file history & import that. [19:42:48] heh. then ol good extract to file --> upload [19:43:42] <^demon> We could base64_encode the file in an xml dump ;-) [19:44:38] MaxSem: there isn't elegant way for almost anything related to asking one wiki about another [19:44:51] heh [19:45:33] ^demon, is there a pure-XML way of binary data serialization? would sure make us look more enterprisey [19:46:09] MaxSem: at least you should be able to use https://code.google.com/p/wikiteam/source/browse/trunk/dumpgenerator.py to download the file and its description [19:46:31] then the scripts for upload are trivial to run [19:47:30] <^demon> MaxSem: Too bad we don't use .NET :( [19:47:39] * AaronSchulz hugs C# [19:47:47] that's fixable [19:48:16] [20:07:18] New patchset: Stefan.petrea; "added utf8, pthread_joins, more comments" [analytics/webstatscollector] (master) - https://gerrit.wikimedia.org/r/25169 [21:18:23] AaronSchulz, how can I get a local copy of a file from a repo? FileRepo::getLocalCopy() doesn't seem to work on WMF [21:19:20] that should work [21:20:41] maxsem@fenari:~$ mwscript eval.php testwiki [21:20:41] > $f = wfLocalFile('Wiki.php'); [21:20:41] > var_dump($f->getRepo()->getLocalCopy($f->getVirtualUrl())); [21:20:41] NULL [21:21:08] what am I doing wrong? [21:25:09] Wiki.php? [21:25:21] lol, I read that as .png [21:26:36] :facepalm: [21:26:45] * MaxSem takes a break [21:27:17] * Reedy pets MaxSem [21:27:24] pfffffft [23:31:49] New patchset: Diederik; "Add support for filtering based on referer." [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/25195