[00:27:17] good job apps guys - https://twitter.com/YusTuaYus/status/631727424628215808 [00:32:40] https://twitter.com/danjgarry/status/631986643541475328 [01:06:56] jdlrobson: "Removing existing messages: also remove qqq, or banana checker will complain (https://integration.wikimedia.org/ci/job/mwext-Flow-npm/13/console)" -> https://www.mediawiki.org/w/index.php?title=Localisation&diff=1300467&oldid=1281751 :) [01:22:49] Deskana: Oh dear. [09:09:12] morning [09:48:10] hi phuedx [09:48:15] about 1h later hehe [09:48:26] hey joakino, how're you? [09:48:59] phuedx: fine! didn't get much sleep, i watched a lot of true detective [09:49:09] 2nd season is crap compared to the 1st one [09:49:45] * phuedx hasn't seen it [09:49:46] wellp [09:49:52] as long as you weren't working, that's fine :) [09:50:14] 1st season is a piece of art [09:50:35] 8 chapters, matthew mcconaughey, great story [09:50:59] gonna catch up to my signoff duties, i'm a bit behind [10:03:13] joakino: need a hand? [10:03:23] or should it just be you? [10:03:46] phuedx: i got it covered, I ping people when needed :D [10:15:21] phuedx: can you shed some light on this https://phabricator.wikimedia.org/T107583#1538878 ? [10:15:44] not sure if those two are signoffable b/c the i18n stuff [10:17:05] joakino: good point well made [10:18:26] joakino: if we localised the messages on the server-side, then they'd be the same language as the rest of the ui [10:18:47] don't try and do anything clever, just msg( $key )->parse() [10:18:52] phuedx: that's fine, right? [10:18:59] joakino: that's what i'd expect [10:19:14] phuedx: i'm lacking domain knowledge on weird corner cases on this one [10:19:28] if we wanted to use 'em on the client side, we'd have to create a module for the messages to be loaded via rl :/ [10:19:35] BTW IANAPD but couldn't we use here https://gerrit.wikimedia.org/r/#/c/229989/10/includes/QuickSurveys.hooks.php on the for loop an array_filter($configuredSurveys, function ( $survey ) { return $survey['enabled'] === true; })? [10:19:45] or is it my JS-side screwing with me [10:20:02] so that'd be an ajax call to load the messages in order to translate 'em [10:20:17] phuedx: blerbh [10:20:20] joakino: stick it in todo as there's more work [10:20:30] phuedx: both of them? external and quick? [10:20:33] i think server-side makes sense [10:20:35] erm [10:20:38] just quick [10:20:42] external is done by design [10:20:43] oki [10:20:49] can you comment on it? [10:20:59] no [10:21:24] joakino: also, you could cut it down to: array_filter($configuredSurveys, function ( $survey ) { return $survey['enabled']; }); [10:21:34] if you could trust your config author to be sensible [10:22:08] in hack you could write: array_filter( $configuredSurveys, $survey ==> $survey['enabled'] ); [10:22:36] nice [10:22:44] it's like es2015 of php lol [10:22:56] if they make optional $ then it's javascript [13:20:02] joakino: https://github.com/phuedx/MobileView [14:46:30] Gah. Search on iOS is so frustrating. Redirects just don't come up, ever. Even if you put in the exact name. [14:46:50] Deskana^ [14:47:26] That's odd. [14:47:55] ragesoss: Can you file a Phab task with a few example search queries? [14:48:30] Sure [14:49:31] Mobile web gives good results, but "bad guy" on the app sends me to "B", about the letter. [14:53:50] Deskana: Should I tag it with something besides the iOS app? I'm searching for a general Search project on Phabricator, but that search is also broken. [14:53:55] (obviously this is all your fault) [14:54:26] ragesoss: Ironically, typing "sad" into the search box will find you the "Discovery" project. [14:54:40] ragesoss: You can tag it with that too. :-) [14:54:51] hahaha [14:56:59] Okay, on second evaluation, this was a problem of no additional search results loading after the ones for the first letter of my query. [14:57:56] So I got through the whole thing, and end up still with B as the top result, and even typing in the exact page name I wanted, it didn't send me there when I pressed Go. [15:14:52] ragesoss: here is the backlog for the iOS app: https://phabricator.wikimedia.org/project/sprint/profile/782/ [15:15:46] coreyfloyd: you've got your work cut out for you! [15:18:34] jdlrobson: there? [15:18:58] ragesoss: if you only knew… [15:19:20] bearND|afk dbrant mdholloway: hello! do we have like a big M todo list? a list of things we need to change or check when updating the target api. I think bearND|afk may have been putting one together? things like the new CAB view, disabling auto-backup of shared prefs and such [15:19:42] well, certain shared prefs like cookies [15:20:28] niedzielski: hmm, i wasn't aware of such a list [15:20:35] niedzielski: not that i know of, but it's a great idea [15:22:10] dbrant mdholloway bearND|afk: if that's the case, i think i'll start an etherpad a little later and we can phab stuff once we get a little definition [15:22:56] niedzielski: awesome [15:23:46] dbrant: what do you think about vibha's request on https://phabricator.wikimedia.org/T103948 to flip the "copy" and "share" CAB items? [15:24:33] dbrant: i've been looking to see if we could just fiddle with the indices somehow or if that would mean just creating our own menu [15:25:11] mdholloway: it's not at all clear to me that Share is more important than Copy... [15:25:18] dbrant: agreed [15:26:52] mdholloway: let's keep it the way it is; i'll chat with vibha about it [15:27:02] dbrant: sounds good to me [15:40:17] thumbnails are looking way better on TNG link previews [15:42:17] on my phone, when rotating with a link preview open, it's keeping the size from the old orientation [15:43:15] anyway, off to get my haircut, wish me luck, back in a bit [15:54:32] mdholloway|afk: niedzielski dbrant: https://www.mediawiki.org/wiki/Notes_from_Google_I/O_15#Action_Items is a list of todos for M. I've marked the done items. Would be good if we added links to Phab tasks for outstanding items. [15:55:07] ah, there it is [15:55:11] bearND: thanks! [16:48:36] @mdholloway|afk @dbrant @bearND: i forgot to mention this in my last gerrit comment but signatures just changed on debug, dev, and alpha builds. for local builds too, you will have to uninstall the app [17:16:24] mdholloway: mhurd_afk coreyfloyd standup [17:28:19] dbrant: fyi, I've added a small task to the next sprint column: https://phabricator.wikimedia.org/T109105 [17:28:39] bearND: ah, cool [17:39:29] jdlrobson, hey, do you know how to easily detect the platform: mobile or desktop with javascript? [17:46:10] quiddity: say, on https://www.mediawiki.org/w/index.php?title=Reading%2FStrategy%2FKickoff&type=revision&diff=1846553&oldid=1846502 the verbiage changed "what role" instead of "where". the role to play is implicit in the "where" style verbiage, isn't it? an implicit part of this strategy framework is that the where-to-play question should be asked earlier. [17:46:10] is the point of this rewording to reduce management-speak or does it fundamentally alter the nature of the question in a manner where the responses will focus on roles as opposed to ideal locations for WMF to play? obviously, the two things are tied to each other in a way. [17:47:12] quiddity: i may be overanalyzing this, though. just thought i better ask! [17:49:22] dr0ptp4kt, the way it was phrased previously (" Where should the WMF Reading department play in order to [...]"), made it sound (to my mind at least) like "where should the dept frolic and experiment" ! Changing the ambiguous verb "play" would be ideal. [17:49:56] (especially given that it is intended to be translated. Unambiguous language is crucial.) [18:09:14] coreyfloyd: I'm trying to calculate velocity since the kanban move. Are "Released" and "5.0 Beta Staging" viable candidates for combined completed points? [18:10:09] mbinder: yeah - thats about right - 5.0 beta staging is done… but not released to public [18:10:31] mbinder: only problem is that 5.0 beta staging has also not gone through QA - so there is something there to think about [18:10:54] mbinder: also - did go through some of the triage for iOS today… sorry for not getting back to you [18:11:22] coreyfloyd: thanks. Let's talk about 5.0 QA (and QA generally) at retro today [18:16:48] dbrant: I cannot update to the "Last successful build Fri Aug 14 2015 10:01:47..." - Application not installed. Package with that name and different signature already installed. [18:16:55] dbrant: is it a known issue? [18:22:42] etonkovidova: Yes, that is expected. You will need to uninstall the old app. We switched digital signatures for alpha and dev builds. I think niedzielski was going to send out an email about that to mobile-l [18:23:04] dbrant: i'll merge https://gerrit.wikimedia.org/r/#/c/231584/ unless you wanna do a dimen per niedzielski's suggestion [18:23:15] bearND: ok - thx! [18:23:39] bearND|afk: sorry, forgot i meant to do that after standup [18:23:43] sending now [18:25:44] etonkovidova: thanks for reporting this discrepancy. under normal circumstances, this would have been a bad bug! [18:26:05] niedzielski: np :) [18:29:56] mhurd: coreyfloyd bgerstle etonkovidova dr0ptp4kt vibha let's (iOS) retro [18:30:42] jonkatz: JonKatz_ (not sure which you are) you are welcome, too, but I know you've been away [18:35:11] https://etherpad.wikimedia.org/p/MobileAppRetrospective [18:43:47] bmansurov: why do you want to detect the platform? [18:43:52] you should be device agnostic :) [18:44:06] there isssss no mobile [18:44:06] jdlrobson, it's needed for logging events [18:44:27] we need to seriously stop doing that [18:44:30] we should log skin instead [18:45:01] (possibly register minerva beta as a real skin if we want to distinguish between stable/beta) [18:46:20] mdholloway: go ahead & merge that one :) [18:47:08] bmansurov: thoughts? [18:48:53] jdlrobson, could you please add your concerns to https://phabricator.wikimedia.org/T107747 ? [18:49:19] Sure although i'm not sure they are concerns.. :) [18:49:50] jdlrobson, yes, thoughts [18:53:15] bmansurov: added [18:53:20] thanks [19:10:43] http://hatjitsu.wmflabs.org/ [19:10:50] http://hatjitsu.wmflabs.org/03681 [19:17:00] bd808 sorry my last thing ran late. are you around now? [19:17:26] JonKatz: yeah I can join the hangout [19:17:35] excellent, thanks bd808 [19:18:23] quiddity: would it make sense to change "where to play" to "where to focus"? that way we still maintain the notion of this being about channel/segment/geo/category. [19:19:21] dr0ptp4kt, sounds good. (I'm just heading out for a few hours. Lunch and AFK stuff) [19:20:45] quiddity: thanks, will make the update [19:25:14] quiddity: done. [19:26:16] James_F: would the about this board piece in https://www.mediawiki.org/wiki/Talk:Reading/Strategy/Kickoff support translations? is that advisable with the current tech? the page itself has actually been updated to have the translation markers, just wasn't sure if that would be possible for the flow about this board box. [19:26:28] http://hatjitsu.wmflabs.org/66985 [19:26:36] dr0ptp4kt: Probably not. [19:27:00] James_F: ok. thx! [19:27:13] dr0ptp4kt: Roan or Matt might know for sure. [19:29:12] dr0ptp4kt, Re: language, there are some good notes about simplifying/clarifying for ease of translation, at https://meta.wikimedia.org/wiki/Tech/News/Manual#Guidelines - I'm not at all familiar with the patterns/skills needed, but any simplifications will help to make it easier (and thus more likely) to be translated. (ttfn :) [19:51:25] have to go find a less loud place to park myself for retrospective... [19:51:48] niedzielski: i think, for purely tech-debt tasks (things that don't touch the app code per se), you can move them directly to Signoff, instead of QA, so as not to confuse etonkovidova [19:53:55] dbrant: ok, i'm going to do a little bit of dev qa on the update link one now that it's merged [19:59:36] niedzielski: dbrant bearND|afk mdholloway|brb dr0ptp4kt JonKatz vibha etonkovidova reminder for android retro :) [20:00:41] mbinder: thx. androids dbrant bearND mdholloway|brb niedzielski apologies for missing the ios one [20:00:47] er... [20:00:53] apple peopel [20:01:03] disregard! system_abort! [20:01:31] need moar coffee [20:04:00] bgerstle coreyfloyd mhurd etonkovidova vibha kaity apologies for missing the ios retro [20:04:30] got wrapped up in a meeting [20:21:27] dr0ptp4kt: oh no worry! [20:43:28] no problemo [20:53:05] jdlrobson: hey, i'm working on upstreaming ForeignApi and i'm looking for thoughts on something [20:53:54] so, any API request with 'centralauthtoken' is actually two requests, one local (to get the token) and one foreign (using this token) [20:54:42] jdlrobson: seems that MF's ForeignApi goes to great lengths to avoid getting and using centralauthtoken whenever possible, i'm assuming this was dictated by mobile connectivity/bandwidth/etc. [20:55:05] MatmaRex: what do you mean? [20:55:23] A centralauthtoken is only valid for one query [20:55:26] yes [20:55:31] hence why two requests per query [20:55:38] yes [20:55:59] jdlrobson: but 'centralauthtoken=foo' option "should" be used for all queries. ForeignApi only uses it for requests that go through postWithToken(). [20:56:19] all other requests will potentially be not correctly authenticated [20:56:21] Depends... if you don't need authentication it's unnecessary [20:56:30] yes [20:56:35] so, it's a trade-off [20:57:15] i guess we didn't have any usecases where we needed to be authenticated.. [20:57:19] (for gets i mean) [20:57:29] jdlrobson: since i'd want the upstreamed ForeignApi to be fully featured, i'd like to use centralauthtoken for all requests. i'm wondering if you guys need that not to happen. [20:57:54] and i'm also wondering what kind of an interface would be sane to allow that. [20:58:09] i'm not strongly against it. It will definitely complicate basic queries however. [20:58:41] If our API didn't vary per user.... would be a lot simpler :/ [20:59:03] from a library user's perspective, it will be the same. some .get()/.post() calls will just magically fire off two requests before completing. [20:59:18] but turning every request into two feels a big heavy. [20:59:50] jdlrobson: meh, that would limit the functionality pretty badly. [21:00:46] no.. you'd just require parameters [21:00:49] jdlrobson: use cases i have in mind is getting the list of all category members (where the increased API limits for sysops/bots increase the speed a lot), or getting inherently private data (like list=alldeletedrevisions) [21:01:20] yeh an alternative api for that kind of query would just expect you to be more explicit and deal with permissioning errors [21:01:24] anyway that's tangential :) [21:01:32] but yeh it's a trade off as you say [21:01:44] and it's actually 4 requests MatmaRex [21:01:59] jdlrobson: only for requests that require a token already, but yes [21:02:27] anyway it gets complicated fast :) [21:02:44] not that awful if you abstract it away with some promises ;) [21:02:47] anyway [21:02:57] jdlrobson: so. i'm wondering if we need a switch for this behavior in the new ForeignApi. [21:03:15] do you know you are going to need it? (YAGNI etc?) [21:03:27] as in you are definitely going to do the category stuff [21:03:36] i wonder if such things could be deferred till you work on them [21:03:53] my intuition is that probably we could do without it, and we could always send the additional centralauthtoken request. [21:04:13] i think do the simplest thing to start of with, document the caveats [21:04:15] i'm wondering if there are any mobile-specific requirements, where the additional request would actually be a problem. [21:04:36] but if you think it's okay from this angle, i'll go with the simple version for now. [21:05:02] As long as documented I think it's fine. Just as a general rule i don't like to complicate code unless i know it's needed [21:05:42] right. let's make it simple, then. [21:05:51] The only place we're using it right now is https://en.m.wikipedia.org/wiki/Special:Uploads/Jdlrobson [21:05:56] thanks! [21:06:16] (wikidata stuff has sadly been turned off but i would like to experiment again with that with some gadgets so having it in core will make things a lot easier!) [21:06:33] MatmaRex: also are you free Monday to talk about pre-parsed messages being shipped to the client? [21:06:45] I'd like to work on upstreaming that [21:07:45] jdlrobson: i am, but i'm not sure if i'm the best person to talk to about that :) VE people also have some sort of solution for it, i believe [21:08:03] who would you recommend so i can talk to them? Ed? [21:08:29] Roan? [21:08:49] jdlrobson: i think it might have been Krenair's work? i'm not sure. you can always get James_F to point you to someone [21:09:09] ? [21:09:40] pre-parsed messages? [21:09:47] Krenair: jdlrobson wants to talk to someone about pre-parsed messages being shipped to the client, and IIRC you're a good person to talk to? [21:10:05] oh, so you want to parse wikitext on the server into html so you can actually handle it properly? [21:10:17] We do some stuff like that in the VE APIs [21:10:47] And a lot of it is likely my fault, yeah [21:11:50] Krenair: cool :) Yeh we have something similar in MobileFrontend [21:11:57] we use 'message-key' => 'parse' [21:12:01] Oh. [21:12:10] Wait, what? [21:13:42] I had no idea you could do that. [21:13:48] HISTORY.mediawiki:* (72839) Hygiene: Migrate modules using 'parse' message command to ResourceLoaderParsedMessageModule [21:13:48] So we have a ResourceLoaderModule that parses before shipping them to the user. So for an example message"key" => "Welcome to {{SITENAME}}." then on the client mw.msg( 'key' ) would return 'Welcome to Wikipedia' [21:14:01] yeh so ResourceLoaderParsedMessageModule is the relevant class [21:14:06] it doesn't work for parameters such as $1 [21:14:09] includes/modules/MFResourceLoaderParsedMessageModule.php:class MFResourceLoaderParsedMessageModule extends ResourceLoaderFileModule { [21:14:10] that? [21:14:39] but it saves us loading javascript code to do basic things like parse messages with html/magic words in [21:15:03] Interesting. [21:15:04] So how are you doing things? [21:15:11] Nothing that fancy. [21:15:31] css styles allow 'foo.css' => 'media query' [21:15:36] so we followed their pattern [21:16:19] As this is RL stuff you'll want to CC Catrope+Krinkle [21:17:31] https://gerrit.wikimedia.org/r/#/c/221867/3/ApiVisualEditorEdit.php :( [21:18:20] CONTENTLANG, SITENAME and int:mobile-frontend-search-content are the only things we parse [21:25:36] dbrant: ready to merge the TNG patch (https://gerrit.wikimedia.org/r/#/c/227451/)? [21:34:27] bearND: ready! [21:35:14] dbrant: ok, will do so shortly [21:36:57] bmansurov: can you clarify? My goal is to use the wikimedia preset :) if there are particular bits of code you do not like please point them out :) [21:37:08] ok [21:37:08] in terms of the assertMode I think these should only be in initialisation scripts [21:37:11] not in modules [21:37:37] what about this? https://gerrit.wikimedia.org/r/#/c/231414/1/resources/mobile.watchlist/WatchListApi.js [21:40:40] what about it bmansurov ? [21:41:21] jdlrobson, doesn't it seem inefficient? [21:41:56] bearND: \o/ ^100 [21:45:49] dbrant|bbl: are there any tasks associated with Lin Previews TNG in the current sprint? [21:45:58] bmansurov: i'd be surprised if declaring variables had any significant performance impact, especially given all the optimisations browsers do to their js [21:46:00] s/Lin/Link/ [21:46:32] jdlrobson, ok. i'll merge it [21:46:46] declaring variables is cheap (but citation needed..) [21:47:31] niedzielski: can https://phabricator.wikimedia.org/T107478 be moved to the QA column? It's still in To Do. [21:48:18] bearND: yes, but i'll note that in some cases we ended up choosing to call them "links" after all [21:50:55] declaring undefined variables is cheap [22:30:33] yurik [22:30:55] sorry, talking to myself [22:36:32] phabricator not loading on my side [22:36:58] stuck on waiting for phab.wmfusercontet.org [22:37:05] is it just me or something? [22:48:45] Hello all, does anyone know why the Commons App is no longer available on the App Store? :( [22:54:27] SVentura: https://lists.wikimedia.org/pipermail/wikimedia-l/2015-May/077843.html [22:58:56] @dr0ptp4kt: thanks! that's a real bummer.... not sure what the problem is, didn't read thru all but this puts a big *block* on a program [22:59:25] is there a way to upload images to Commons otherwise? [23:00:11] I was able to upload an image to Commons just now... from my iPhone. [23:20:44] jdlrobson: https://phabricator.wikimedia.org/T66636#1541786 :o [23:21:46] jdlrobson: i didn't check all the bazillion cases it is handling yet, but it seemed to work correctly when i tried it. reviews welcome :) i'll get some CentralAuth gurus to review it, too. [23:22:47] MatmaRex: :D awesome. Will take a look first thing Monday. THat's super sweet. [23:23:56] whee [23:52:29] guys? [23:52:37] i've managed to solve a bug in the app [23:52:43] https://phabricator.wikimedia.org/T104528 [23:53:05] very confused on how to add it to the original repository [23:53:18] any direction or link to a guideline would be appreciated [23:59:07] asadpsalman: i think the README.md file includes instructions. probably best to use the 'how to become a mediawiki hacker' article on mediawiki.org to get your gerrit access setup so that you can submit patches to the gerrit (git) server. cc niedzielski [23:59:42] ^ bearND dbrant|bbl mdholloway|afk not sure if you guys are wrapping up. i saw niedzielski on ops channel so i know he's h4x0ring