[15:58:02] hola [15:58:10] Fatal error: Uncaught exception 'MWException' with message 'Parsing /resources/projects/wikipedia-ios/Wikipedia/Localizations/qqq.lproj/Localizable.strings failed: Unrecognized line format: <<<<<<< 822d428433b3bcba947d8cebd8da712225c0651f' in /srv/mediawiki/tags/2016-02-26_09:36:51/extensions/Translate/ffs/SimpleFFS.php:125 [16:07:53] ^^ I'm looking into this [19:41:35] Hey everyone. I got the TestFlight email for testing the new iOS app, but it went to my Spam folder. Just a heads up. [21:44:46] Niharika: thanks for letting us know [21:44:51] Niharika: i will let bgerstle know [21:44:57] nzr: YOU'RE TOO LATE [21:45:12] 1:44 for both messages [21:45:18] dr0ptp4kt: jhobs W0 question [21:45:29] nzr pfft that's only resolution to the MINUTE [21:45:40] bgerstle: how can we get the timestamp? [21:45:56] haha [21:46:00] already looking.. [21:46:16] nzr: not sure aside from getting the full archive [21:46:44] bgerstle: but this was really weird. i came here for something else randomly [21:46:53] so did i, but not randomly [21:46:58] anyway [21:47:06] dr0ptp4kt: jhobs ping me if you have a sec [21:47:47] or niedzielski dbrant mhurd do you happen to know an agent that i can hit action=zeroconfig with? [21:47:55] try to see what a real zero message looks like [21:47:57] trying* [21:48:48] and my attempts at https://en.wikipedia.org/wiki/Special:ApiSandbox#action=zeroconfig&format=json&type=message&agent=WikipediaApp%2F5.0.0(565) get back nothing: {} [21:49:28] bgerstle: hmm not sure. is that what the 4.x zero fetcher was using? [21:49:40] yeah, afaict [21:50:06] bgerstle: did u see email from adam - maybe give him a quick ring? [21:50:20] yeah, might do that, but wanted to see if anyone on IRC knew [21:50:31] bgerstle: gotcha. sorry i don't recall :( [21:51:20] dr0ptp4kt: checking [21:51:36] dr0ptp4kt: don't you have to use m. domain? [21:51:40] bgerstle: could also schedule hangout w him for first thing tomorrow morning - he's back to work tomorrow and only 1 hr time zone diff from you now that he's in MN [21:52:07] niedzielski: oh good point about m. [21:52:47] bgerstle: what's up? [21:53:20] jhobs: any hints for testing w0 [21:53:48] jhobs: specifically the API portion [21:53:54] Oof that's a rough one. In browser or API? [21:53:58] Oh ok [21:54:07] API [21:54:50] I never used the API myself, but TEST is a live mcc-mnc code we've used for testing before [21:55:02] If that doesn't work you can try 250-99 [21:55:18] dr0ptp4kt: here's an example user agent but i'm getting an empty response. i'm going to try turning on testing for my ip. "WikipediaApp/2.1.131-alpha-2015-11-08%20(Android%204.4.4;%20Phone)" [21:55:40] For API stuff you probably want to talk to yurik or dr0ptp4kt, although Adam's out today [21:56:01] mdholloway may be able to help as well [21:56:03] dr0ptp4kt: oh whoops, i meant those previous messages to go to bgerstle :) [21:56:12] ^bgerstle [21:56:26] thanks, will check in a sec [21:58:00] bgerstle: as far as i can tell the agent is irrelevant. i tend to use "neat-app" (following dr0ptp4kt) but on the back end all it's doing is checking that one exists. [21:58:21] *so it's not irrelevant whether one exists, just what it is, provided that one exists [21:58:32] and yes, m. is requried [21:58:35] *required [21:58:45] wow, that's pretty neat [22:01:52] bgerstle: https://en.m.wikipedia.org/w/api.php?action=zeroconfig&type=message&agent=WikipediaApp%2F5.0.0(565)&X-CS=TEST [22:04:50] bgerstle: looks like you didn't give it an X-CS param so it didn't know which config to get [22:05:32] (in production this is inferred on the back end by the user's IP) [22:05:53] oh [22:06:01] mdholloway: interesting, that wasn't surfaced in the API special page [22:06:07] and it has to be .m ?! [22:06:12] lovely [22:06:15] bgerstle: yeah... [22:06:16] don't believe we were ever doing that [22:06:31] (consistently) [22:06:43] mdholloway: nor do i see an X-CS query param [22:08:39] lovely [22:08:45] so we never sent X-CS query params [22:09:24] i can see where we're retrieving it from the response headers [22:09:31] but i don't see it used anywhere [22:10:30] bgerstle: yeah, that is picked up on the back end based on the user's IP if the IP the request is coming from is zero-rated in a carrier config [22:10:39] oh ok [22:10:41] so we don't need to send it [22:10:44] nope [22:10:51] alright, that's good [22:14:02] bgerstle_brb: as for the required mobile subdomain use, yeah, the X-CS header (which we were using to detect whether to display zero messages) is only provided by varnish in the response for mobile subdomains. we learned that the hard way. [22:14:20] ok [22:15:02] mdholloway bgerstle_brb: more confirmation for michael's note: when i enable a test config (and wait for it to come on), i do get a configuration for https://en.m.wikipedia.org/w/api.php?action=zeroconfig&format=json&type=message&agent=neat-app (no X-CS param) [22:15:13] {"message":"Free Wikipedia access provided by Digicel","background":"#ef3829","foreground":"#FFFFFF"} [22:15:14] bgerstle_brb: but, we're now no longer relying on that anyway, but rather two different response headers, X-Carrier and (optionally) X-Carrier-Meta. [22:15:47] niedzielski: yeah, i haven't specifically tested it but I suspect if you supply an X-CS param it'll override your IP -- actually, mind trying? [22:16:12] mdholloway: yeah, i'm just plugging back in some wires we ripped out. not necessarily out to do a lot of boyscout work atm [22:16:22] after this we can update our w0 to be more compliant [22:16:31] mdholloway: https://en.m.wikipedia.org/w/api.php?action=zeroconfig&format=json&type=message&agent=neat-app&X-CS=TEST -> {"message":"Wikipedia zero-rating test on Test Operator","background":"#E31230","foreground":"#551011","partnerInfoUrl":"https://www.google.com"} [22:16:40] i think i've got everything i need at the moment though, thanks guys! [22:20:49] bgerstle_brb: no problem. [22:21:27] niedzielski: so it looks like an explicit X-CS param does indeed override an X-CS inferred from IP [22:29:16] k