[00:20:18] sorry for the calendar-email spam, teams. Had to get meetings off of Christmas and New Year. [00:32:06] marxarelli: anothr choke :( https://gerrit.wikimedia.org/r/237394 [09:38:27] hullo there [13:09:20] phuedx: hey, do you know why jenkins is complaining here: https://gerrit.wikimedia.org/r/#/c/259267/ ? [13:12:42] 03:00:37 File '/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/MobileFrontend/resources/skins.minerva.beta.userpage.styles/talk.png' referenced by 'skins.minerva.beta.userpage.styles' must exist. [13:13:13] Did you forget to git add? [13:13:19] https://integration.wikimedia.org/ci/job/mediawiki-extensions-hhvm/43444/consoleFull [13:18:11] Reedy: thanks, looks like so [13:58:48] Hi! [13:59:53] I need some advice on translating Android app into a new language (disabled in Translatewiki) [14:02:05] oriciu: hi, language team on #wikimedia-i18n should be able to help you [14:05:46] bmansurov: thank you very much [14:07:30] np [17:12:54] mdholloway: okay if i reschedule our 1:1 earlier? [17:14:50] dr0ptp4kt_: fine with me! [17:18:05] mdholloway: thx, thx for accepting [17:18:20] no prob, talk to you in a bit [17:26:13] out for dinner/getting kids to bed [17:50:42] jdlrobson: hi :) One question: What is the goal of the code you added there: https://gerrit.wikimedia.org/r/#/c/232029/11 ? [17:52:01] hey FlorianSW [17:52:18] what code did i add? [17:52:24] you mean the config? [17:52:30] It controls the footer [17:53:20] I guess best thing to do is try that code on master and see that there is no warning and then with your patch there becomes a warning as it expects that array to be a string [17:53:53] Not sure if it's used in production, nor where I picked it up! [17:53:55] jdlrobson: yes, I understand the problem and can replicate, but why are you passing an array instead of a string? [17:54:13] As far as I can see, a string is always expected :( [17:54:27] maybe we could force that separately then [17:54:47] dbrant: last 4 items in the sprint gonna make it to done? [17:54:49] but the fact is it used to work... so i'd just suggest doing a type check to avoid breaking anything that may be relying on that. [17:54:57] I think Wikidata uses it [17:55:08] because they have a unique dual license [17:55:13] aude: ^ [17:55:56] https://github.com/wikimedia/mediawiki-extensions-WikimediaMessages/blob/aa41f910d6c460796640b72b43222bb08c602ed6/WikimediaMessages.hooks.php#L126-L141 [17:56:05] That's the only usage in wikimedia git: https://github.com/search?q=%40wikimedia+MobileLicenseLink&type=Code&utf8=%E2%9C%93 [17:56:12] FlorianSW: should be easy to just do a type check no? Happy to merge it then and deal with this issue separately [17:56:18] i just remember adding support for wikidata a while back [17:56:22] lemme see if i can check the logs [17:56:56] jdlrobson: it would be easy, yes, but it would be great to find a usage with an array, because that wouldn't work like expected (the first license should be used, instead of both) [17:57:05] https://gerrit.wikimedia.org/r/#/c/249978/ [17:57:08] that was the source of it [17:57:12] sadly no bug attached :/ [17:57:26] ahh there we go [17:57:26] https://gerrit.wikimedia.org/r/#/c/242602/ [17:58:07] so we should just check what Wikidata is doing [17:58:26] oh i see that's in the link you postd :) [17:59:01] well we do have a deployment freeze... and https://m.wikidata.org/wiki/Wikidata:Main_Page is setup [17:59:09] could just merge it and see if anyting breaks ;-) [17:59:59] jdlrobson: both changes are meant for the message key, not for the link, am I right? [18:00:13] FlorianSW: i pushed the trigger :) [18:00:24] coreyfloyd: JoshM standerp [18:00:29] We should check https://m.wikidata.org/wiki/Wikidata:Main_Page after the patch to double check all is good [18:00:36] jdlrobson: great, we can test on betalabs, too, right? Let me check :D [18:00:59] http://m.wikidata.beta.wmflabs.org/wiki/Wikidata:Main_Page [18:06:19] FlorianSW: will take a while to be live - i guess 30 mins? [18:06:53] jdlrobson: there's already a scap job: https://integration.wikimedia.org/ci/job/beta-scap-eqiad/82791/console but it was started at 17:45, so I think we have to wait for the next run. IIRC 15 minutes [18:10:00] jdlrobson: ah, wait, it seems betalabs is updated every 10 minutes [18:15:36] bearND: mdholloway|afk standup [18:53:50] FlorianSW: what's going on with the patrol patch? [18:53:58] Some design to the patrol link and use ajax to patrol (by Florianschmidtwelzow, 195 days old) [18:54:37] FlorianSW: i saw the -1 on the dependent patch "This change reverts some changes of the last half year." [18:57:21] jdlrobson: I haven't read my e-mails to this point, yet :/ That seems to be a really really bad rebase from me. I'll have to look at the code and figure out what was removed. [18:57:30] sounds good :) [18:58:59] bearND mdholloway|afk dbrant: here's the card i was thinking of https://phabricator.wikimedia.org/T85766 for gif considerations [18:59:47] bearND mdholloway|afk dbrant: it looks like the only other contender was ion [19:01:32] hola [21:00:49] dbrant bearND mdholloway: dumb question: are all the mw requests in the app parameter-only with empty bodies? [21:06:52] niedzielski: you mean, in an HTTP-sense? [21:07:01] dbrant: yeah [21:07:09] niedzielski: that is correct [21:07:17] dbrant: it doesn't seem like there's any api for even adding a body in the app layer [21:07:27] crazy [21:19:25] jdlrobson: finnaly (I don't know when :P), betalabs wikidata got the "Correct isPlural" change and is still working :) [21:19:41] maybe the change you remember was for the old version of getLicense :) [21:45:07] niedzielski: what's the use case? [21:47:19] bearND: doesn't it seem strange to enter an entire passage of text as a parameter for an edit? that's not actually the problem though. I'm seeing some weird issue where the edit token must appear in the body of the request. some how this is working in the app for prod requests and in ci tests but not in tests on my pc or in curl requests [21:48:38] niedzielski: ah, i see now. Thanks for clarifying. Are you saying there is no way in the app code to add request payload? [21:49:28] bearND: i don't think so. all mw requests go through java-mwapi which doesn't expose a body setter afaik [21:50:10] niedzielski: That's correct for java-mwapi. But I think we should move more to Retrofit. Retrofit 2 allows payloads in requests. It's still in beta 2 right now. [21:50:22] bearND: same things with headers. i think we only expose a user-agent setter [21:51:19] bearND: yeah, totally agree. i'm just trying to solve this very mysterious behavior... how does it work at all? why does it only fail on my devices? [21:51:54] bearND: for example, https://test.m.wikipedia.org/w/api.php?action=edit&format=json&title=Test_page_for_app_testing%2FCaptcha§ion=0&text=%3D%3D%20Section%202%20%3D%3D%0A%0AEditing%20by%20inserting%20an%20external%20link%20https%3A%2F%2F1450471630598&summary=&token=+\ [21:53:08] niedzielski: hmm, that section text is relatively small even [21:53:32] https://futurestud.io/blog/retrofit-send-objects-in-request-body [21:55:24] niedzielski: Idk why it fails on your devices [22:08:59] FlorianSW: yay :)