[00:05:14] tgr: long term yes, but i want to talk to the VE team about that beforehand [00:06:03] and I want to do the minimum possible to get this enabled and collecting data [00:06:22] ideally it would update with edits [00:25:15] add/remove on events seems fairly minimal to me, ten lines of javascript tops [00:29:49] tgr: i'll see if i can work out wht the events are.. [00:31:27] tgr: i assume it's ve.deactivate and ve.activate ? [00:33:46] jdlrobson: for displaying, wikipage.content should be the right one [00:39:31] jdlrobson: apparently VE does not have an "open" event, so hacky solution it is [00:39:53] tgr: can you remind me how to use hooks? [00:40:03] tgr: i might have found a solution.. not 100% [00:41:30] jdlrobson: mw.hook('foo').add(callback) [00:41:59] yeh not working as expected... [00:42:32] mw.hook('ve.activate' ).add( function () { $( 'aside' ).remove(); } ) [00:42:34] kinda works [00:42:40] but it's visible whilst loading - so css needed [00:43:21] I'll file a bug about that, let's merge the patch as it is for now [00:44:50] jdlrobson: can you fix the comment in https://gerrit.wikimedia.org/r/#/c/258061/1/resources/ext.relatedArticles.readMore/readMore.less ? [00:46:36] tgr: sure - i'm gonna make some tweaks though as i think we can do it a little better [00:47:11] tgr: i stand corrected : [00:47:15] ill do a follow up [00:49:09] tgr: done. [00:49:20] tgr: seems there's an issue post edit too :( https://gerrit.wikimedia.org/r/258078 [00:49:36] can you add me to the bug report you are creating? [00:58:47] jdlrobson: did you try wikipage.content? pretty sure that one works for save [00:59:02] testing.. :) [00:59:21] not sure if there is an "exit without save" option and if there is whether there is a hook for it, though [01:00:32] tgr: nope.. still appends before... [01:00:43] oh good point hadn't thought of that use case. [01:00:57] thanks for the merge. I'm going to rephrase the bug [02:57:48] MobileContext has a private constructor and still an object is being created in the test externally, can someone explain how thats being done [02:57:50] here http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FMobileFrontend.git/master/tests%2Fphpunit%2FMobileContextTest.php#L38 [03:02:46] I guess it has something to do with 'unserialize' but I'm not able to figure out [03:02:46] I meant *protected constructor [15:46:35] FlorianSW: there? [15:47:00] codezee, yep :) [15:47:26] this task looks fairly east, can we add this for gci - https://phabricator.wikimedia.org/T119918 [15:47:30] *easy [15:50:33] do you think, that an experienced coder shouldn't need more than 2-3 hours? [15:52:13] codezee, ^ [15:52:19] had a look at it earlier, we probably just need to change the "left" property in less [15:52:45] of the given icon [16:01:21] codezee, I think an easier way would be to change the left property for the search fields only, when the content changes, too. Actually the condition is @media all and (min-width: @wgMFDeviceWidthTablet) { but should be @media all and (min-width: @wgMFDeviceWidthDesktop) { [16:01:38] looks reasonable easy, let me import it in GCI :) [16:09:18] codezee, imported [16:12:26] FlorianSW: if you need help during review, just add me then, I'll be happy to help with basic suggestions, before you do the actual review :) [16:12:57] codezee, sure, thanks :) [16:13:25] gerrit username -Sumit [16:13:57] I know :P :D [16:21:29] apologies in advance for phab spam... [16:25:20] joakino: around ? [17:06:31] thedj: he's somewhere... just had a hangout with him [17:06:40] think he might have stepped away from computer though :) [17:07:08] no rush [17:46:24] what if you had a standup and nobody came? [17:50:04] bd808: joakino just joined [18:09:25] bearND: hey! word on reading street is that you have a Nexus 5. would you mind opening Nearby on the latest beta in it? [18:21:15] bd808: dr0ptp4kt_ is there a recommended way to test accounts, ideally outside production? [18:21:55] bgerstle: using the beta cluster? Using testwiki? Not sure what you want to test [18:22:15] bd808: just creating accounts at this point [18:22:30] successfully, providing bogus credentials, creating accounts that already exist, etc. [18:23:33] I would guess that beta cluster is the best place for that (other than a local MW install) [18:23:58] bd808: sure. does that tie into central auth at all? [18:24:10] (just curious) [18:24:25] or if there's a way for us to delete accounts after testing, just to avoid accumulation [18:24:26] not the prod CA, but yes beta cluster has CA setup [18:24:57] what instances make up the beta cluster, exactly? are there docs on the beta cluster? [18:25:35] http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:SiteMatrix [18:25:38] niedzielski: done. What should I be looking for? [18:26:01] bearND: thanks! did it not instantly crash? [18:26:06] nope [18:26:15] lol [18:26:23] bgerstle: you should talk to zeljkof and marxarelli too (the QA folks) for tips and things to watch out for [18:26:48] niedzielski: i did a fresh install, it did ask me for the runtime permission, but that's it [18:28:28] bgerstle: hashar knows the most :) [18:28:42] bearND: ok thanks [18:28:45] bd808: was thinking about doing exactly that [18:28:50] niedzielski: do you have an HA link with a stack trace? [18:29:06] bearND: it's a native crash in the mapbox sdk [18:29:41] bearND: i don't have the tombstone but tsg sent over a logcat [18:29:53] bearND: ah, this is actually an s4, not nexus 5 [18:30:24] niedzielski: ah, then you may want to check with dbrant [18:30:29] bd808: what's the difference between test.wikipedia.org & beta cluster? [18:30:35] dbrant: hello! :) [18:30:41] test == production version & beta is pre-release? [18:30:45] dbrant: would you mind opening Nearby on your s4? [18:31:11] zeljkof k, thanks [18:31:16] bgerstle: test is part of the production cluster but designated for testing (edits mostly) [18:31:24] right, makes sense [18:31:32] there is also test2 [18:31:37] bgerstle: https://wikitech.wikimedia.org/wiki/Test.wikipedia.org [18:31:47] and https://wikitech.wikimedia.org/wiki/Test2.wikipedia.org [18:31:59] niedzielski: works. My S4 has API 18... what's theirs? [18:32:07] bgerstle: what kinds of tests are you looking to run? [18:32:26] marxarelli: at this point, just manual tests for account creation [18:33:14] bgerstle: got it. ios? [18:33:23] marxarelli: you guessed it [18:33:39] dbrant: looks like 19 http://samsung-firmware.org/download/GALAXY%20Tab4%207.0%20Wi-Fi/5232/XAC/T230NUUEU0AOD1/T230NUXAC0AOD1/ [18:34:04] dbrant: oh it says it right here. yeah, 19 [18:34:59] mhurd: niedzielski dbrant FYI there _is_ a sitematrix API which we should probably use for the site picker https://www.mediawiki.org/w/api.php?action=help&modules=sitematrix [18:35:35] bgerstle: what what! [18:35:36] bgerstle: do you pregenerate the site picker on ios? [18:35:48] niedzielski: yes, but not frequently [18:36:13] niedzielski: we were using a json file made by the same script you use on android iirc [18:36:14] mhurd: i think i discovered this a while ago, ranted about it, and subsequently forgot [18:36:25] bgerstle: so, in short, beta cluster would probably be the best environment for testing account creation. you can't completely cleanup after the tests, but leaving accounts on BC isn't terrible as long as the tests don't run at an obscene frequency [18:36:38] niedzielski: I also have an S3 with API 19, and it also works... (although it's running CM, not Samsung rom) [18:37:02] dbrant: hm, i think samsung has special roms often [18:37:20] dbrant: ok, thanks. i guess i will ask tsg for a little more info. [18:38:07] mhurd: dbrant this is what we should be doing: https://www.mediawiki.org/w/api.php?action=sitematrix&smtype=language&uselang=en [18:38:16] where `uselang` is the param we want language names to be localized in [18:38:38] bgerstle: mhurd: veeery interesting! [18:38:49] i.e. uselang=en => "French" for fr, uselang=fr => "Francais" [18:39:05] bgerstle: dbrant: ya great find! [18:39:16] even has continuation [18:39:26] marxarelli: gotchya [18:39:44] bgerstle: i may take quick stab at using this in my pr... [18:39:46] marxarelli: running lots too many tests would be a good problem to have at this point [18:39:59] mhurd: let's hold off for now [18:40:12] i'll file a ticket (or find the one i did before) and see what we can do [18:40:21] bgerstle: that's fine. can make a ticket in backlog [18:40:23] but yeah, i'd love to drop the langauges.json file [18:40:37] bgerstle: will make ticket now... [18:41:12] niedzielski: thanks; otherwise the beta is looking pretty stable so far (knock on wood). The only thing left is out-of-memory issues. [18:41:47] bgerstle: i know you're joking but it _can_ be a real problem if your tests and/or the environment you're testing in is brittle :) what platform/framework/library are you using to write/run end-to-end tests? [18:42:03] dbrant: i think we removed so many bugs recently, we'll have to tackle OOM issues next to make an appreciable dent [18:42:13] niedzielski: correct! [18:44:59] marxarelli: Homo sapiens, heard of it? ;-) [18:45:05] marxarelli: (manual testing only atm) [18:45:12] we might look into appium or doing an iOS specific thing [18:45:26] marxarelli: so, one of the things i worked on briefly at spotify was integration testing w/ docker [18:45:40] i'd love to be able to spin up & tear down our own MW instances for each test [18:46:04] usually solves most of the kinds of issues you're talking about [18:46:23] and allows us to run as many tests as we want, even concurrently [18:47:26] marxarelli: in the meantime, moving our acct-related tests to beta cluster should do just fine [18:47:41] we can't even point the app at beta atm (relatively minor change) [18:49:58] dbrant: here's a cleaned up version of the sitematrix query: https://www.mediawiki.org/w/api.php?action=sitematrix&format=jsonfm&smtype=language&smstate=all&smlangprop=code%7Clocalname&smsiteprop=code&uselang=en [18:50:20] dbrant: then just change the 'uselang' param like brian said [18:50:23] https://www.mediawiki.org/w/api.php?action=sitematrix&format=jsonfm&smtype=language&smstate=all&smlangprop=code%7Clocalname&smsiteprop=code&uselang=he [18:51:00] mhurd: very cool!! I'm curious where these names actually come from? [18:51:26] dbrant: let me know if you find out! :) [23:27:20] jdlrobson, Heyo :) Context: We're looking through the existing types of echo notification, and thinking about various bucketing options. One of the buckets is "Urgent?" -- Specifically: We're currently bucketing and as "Urgent", but we're not sure if would also be "Urgent". The current notification text is -- "{{GENDER:$1|Your}} collection was approved. This means that it won't be [23:27:21] automatically hidden again." -- The Question: Under what circumstances is a gather collection *automatically* hidden? [23:27:52] quiddity: super rarely [23:28:01] and by super i mean not even once a month [23:28:33] What triggers an auto-hide? is there a blacklist of keywords? [23:29:08] Either manually hidden by an admin or after an arbitary number of flags it gets hidden [23:29:20] given the feature is in beta though this happens not so often [23:29:28] Nod. Thanks much, that helps. :)