[00:04:42] New review: JGonera; "I just realized it doesn't work. You don't load mobile.beta.dependencies anywhere and so the license..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/46885 [00:11:59] why does the "Sign up" link in beta take me to a login page instead ? [00:15:31] New review: JGonera; "Just minor comments. I'd still be glad if we had tests for this sooner than later. It's going to be ..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47194 [00:17:04] New review: awjrichards; "The way the pre-commit hooks are currently done in MobileFrontend makes them all-or-nothing. Maybe t..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -2; - https://gerrit.wikimedia.org/r/45505 [00:18:15] awjr, any opinion on adding mobileTargets property in https://gerrit.wikimedia.org/r/#/c/47546 ? [00:18:30] I was wondering if this couldn't be simply solved with dependencies [00:18:49] jgonera: will take a look when i can [00:18:52] ok [00:22:54] New review: Jdlrobson; "Not true at all. You have to enable it via" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/45505 [00:27:59] New review: JGonera; "I'd also split the pre-commit script into several scripts." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/45505 [00:28:45] New review: awjrichards; "I think you proved my 'all-or-nothing' point - at least without having to make modifications to what..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -2; - https://gerrit.wikimedia.org/r/45505 [00:31:58] tfinc sorry, computer weirdness one sec [00:32:06] l [00:32:07] k [00:32:18] New patchset: Jdlrobson; "allow ResourceLoader modules to allow parsed messages (bug 43409)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/46885 [00:33:36] New review: Jdlrobson; "Fixed missing message due to the bad implementation of RL we currently have (good catch Juliusz)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/46885 [00:33:41] awjr: now your frozen [00:35:04] Change merged: Jdlrobson; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47183 [00:39:16] New review: Jdlrobson; "Agree in principle but merging https://gerrit.wikimedia.org/r/#/c/47546/ will actually reduce the co..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47623 [00:39:32] New review: Jdlrobson; "(lets merge https://gerrit.wikimedia.org/r/#/c/47546/ first)" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47623 [00:42:54] tfinc lost you again :( [00:43:01] awjr: i'm switching to wired [00:43:04] k [00:48:00] New review: JGonera; "I can't wait for this to get merged. I really want to get rid of the JS-but-no-jQuery mode." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47546 [00:49:58] New review: Jdlrobson; "The problem with this technique is that modules such as EventLogging which want to run on desktop an..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47546 [00:53:27] ^ jgonera replied to your comments [00:54:35] jdlrobson, I don't understand the non-inline reply [00:54:41] I can't see the problem [00:54:52] ? [00:54:55] with EventLogging ? [00:55:27] well EventLogging sets targets=>array('mobile', 'desktop') [00:55:35] if it adds a dependency to mobile.stable [00:55:48] mobile.stable is not loaded on desktop as it only targets => array('mobile') [00:56:03] if a dependency is missing RL throws an exception so on desktop EventLogging would no longer work [00:56:10] does that make sense? [00:56:21] ^ jgonera [00:56:34] but why would eventlogging add a dependency to mobile.stable? mobile.stable should have a dependency on eventlogging [00:57:05] just look at everything the other way round ;) [00:58:48] jdlrobson, ^ [00:59:26] jgonera: but that's bad too [00:59:33] why? [00:59:42] that means every extension has to add a patch to MobileFrontend to get their code to run [01:00:02] huh? [01:00:04] that's not how MediaWiki works [01:00:18] well in the current method EventLogging just needs to add mobileTargets to it's module definition [01:00:26] in this way EventLogging needs to edit MobileFrontend extension [01:00:35] and we add a dependency to EventLogging [01:00:56] (so no one would be able to install MobileFrontend without EventLogging) [01:01:13] I'm just looking at it from the other side, it's not EventLogging that wants to use us, it's us that want to use EventLogging and therefore we depend on it [01:01:26] which I think is the wrong way round [01:01:44] we should be empowering teams to add stuff to mobile as scary as that sounds :) [01:02:20] ok, then let's make eventlogging an exception and just load it conditionally ;) we already have flags in config for geo, why not treat event logging the same way? [01:03:30] ok, so you basically want to let people decide if they want to add their mobile extension to stable, beta or alpha? [01:03:37] yes [01:03:43] i want to encourage the e3 team for instance to add things to alpha [01:03:52] without us being a blocker [01:04:18] why don't we just give them a config option that tells them in what mode mobile frontend is running? [01:04:18] if this becomes a problem we can always raise the flood gates slightly and add extra security / change the security [01:04:29] (they already have that in JS, just add PHP counterpart) [01:04:36] ? [01:05:09] w8, let me just check one thing [01:05:14] anyway i see what your saying about dependencies - it's just the other way of looking at it. I guess as team we need to decide which way we prefer [01:07:40] how are modules loaded on desktop? does desktop also iterate over all $wgResourceModules and just loads everything? [01:07:47] jgonera: also it would be great if we could drive a beta/stable mode for desktop :) [01:08:02] jgonera: i need to check with Trevor but currently he's ignoring me :( rmoen|afk < [01:08:16] then we need to change the name mobileTargets to something different ;) [01:10:18] where is the IRC archive for this channel available? [01:10:30] I'd add a link to what we just wrote to gerrit [01:10:44] and would wait to hear what others say [01:13:42] jgonera: good question :) [01:14:49] jgonera, jdlrobson: https://mingle.corp.wikimedia.org/projects/mobile/cards/405 [01:15:11] for next iteration :) [01:15:26] sweet [01:15:46] login standardization! [01:16:08] Maryana, will Munaf get some wireframe for that or we just decide ourselves? [01:16:14] New patchset: Jdlrobson; "only add images to watchlist view in alpha (alpha, 376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47681 [01:19:49] awjr: do we have graphs of near by usage ? [01:20:13] tfinc not that i know of, although it's possible max did something fancy [01:20:57] i'm adding a card for it then. you guys can resolve it if its already in place [01:20:59] New review: JGonera; "More discussion: https://gist.github.com/jgonera/00e48593191e48377aef" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47546 [01:21:05] cool tfinc [01:21:29] oh man, gerrit is even too stupid to parse URLs properly [01:22:52] jgonera, yes, i'll ask him to update this so it doesn't look like it's in the chrome: https://www.dropbox.com/sh/5eu72n5m5665kso/BIhItpLPdO/Story%20359#f:359.png [01:23:01] done : https://mingle.corp.wikimedia.org/projects/mobile/cards/409 [01:23:39] groovy [01:24:38] Maryana, ok [01:24:49] i'm enjoying nearby already [01:28:44] New patchset: Jdlrobson; "Ensure Special:JavaScriptTest always runs in desktop mode (codehealth)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47683 [01:29:42] Maryana: hahaha (Rated the one below R) https://twitter.com/darrentbc/status/298945239568220162 [01:29:45] [Commons-iOS] brion pushed 1 new commit to master: http://git.io/CjWTiA [01:29:45] Commons-iOS/master 4d078d3 Brion Vibber: Convert to fetch larger thumbs on demand... [01:32:43] New patchset: Jdlrobson; "only add images to watchlist view in alpha (alpha, 376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47681 [01:41:32] [Commons-iOS] brion pushed 1 new commit to master: http://git.io/DVKDvw [01:41:32] Commons-iOS/master af8115c Brion Vibber: Only refresh thumbnail when changed [01:44:06] New patchset: Jdlrobson; "Fix MobileDiff when position fixed not available (beta, 376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47684 [01:44:57] New patchset: Jdlrobson; "add border to chevron of user info box on diff page (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47685 [01:55:45] New patchset: Jdlrobson; "Center header of diff page (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47686 [01:56:43] New patchset: Jdlrobson; "increase edit count text on diff view (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47687 [02:00:15] New patchset: Jdlrobson; "move bytes added closed to page title on diff view (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47689 [02:10:45] New patchset: Jdlrobson; "Add icon to left of bytes added/removed on diff page (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47692 [02:21:33] New patchset: Jdlrobson; "Make the title clickable on diff page (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47693 [02:23:47] New patchset: Mgrover; "now that bugzilla bug 44658" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47694 [02:26:09] New patchset: Jdlrobson; "make sure buttons in watchlist header are aligned correctly (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47695 [11:11:24] [android-commons] yuvipanda pushed 1 new commit to master: http://git.io/48nE5g [11:11:24] android-commons/master b4bdff5 YuviPanda: Added GPLv2 COPYING file... [11:11:57] Project Android-Commons (mobile) - Nightly builds build #41: SUCCESS in 36 sec: https://integration.mediawiki.org/ci/job/Android-Commons%20(mobile)%20-%20Nightly%20builds/41/ [11:11:57] yuvipanda: Added GPLv2 COPYING file [11:38:47] [android-commons] yuvipanda pushed 1 new commit to master: http://git.io/dfbgQQ [11:38:47] android-commons/master b4c1c2a YuviPanda: Change DOWNLOAD to UPLOAD appropriately in constants... [11:39:06] Project Android-Commons (mobile) - Nightly builds build #42: SUCCESS in 23 sec: https://integration.mediawiki.org/ci/job/Android-Commons%20(mobile)%20-%20Nightly%20builds/42/ [11:39:06] yuvipanda: Change DOWNLOAD to UPLOAD appropriately in constants [13:47:34] [android-commons] yuvipanda pushed 1 new commit to master: http://git.io/Mgs-xw [13:47:34] android-commons/master b8dd312 YuviPanda: Save canonical filename of uploaded files... [13:48:04] Project Android-Commons (mobile) - Nightly builds build #43: SUCCESS in 34 sec: https://integration.mediawiki.org/ci/job/Android-Commons%20(mobile)%20-%20Nightly%20builds/43/ [13:48:05] yuvipanda: Save canonical filename of uploaded files [16:30:47] notnarayan: around? [16:30:57] yes RagePanda [16:31:07] back in BLR? [16:31:32] yes back in bhutan. [16:32:04] ah, nice. [16:32:39] RagePanda: be here, i have something to show you. [16:32:45] sure. [16:34:13] RagePanda: a teaser, http://upload.wikimedia.org/wikipedia/commons/9/9d/Commons-teaser.png [16:34:35] nicee! ) [16:34:41] * RagePanda likey [16:34:48] notnarayan: use the split actionbar thouh [16:34:50] *though [16:34:53] with actions at bottom [16:35:01] (of course, search still on top) [16:35:39] RagePanda: well launch gallery/camera no. [16:35:57] well, any actions in general, I think. It'll change according to which activity you are in [16:36:21] RagePanda: thats there [16:36:31] anyway, must get back to it :) [16:36:47] also I think examples for the campaigns should be more specific to make it easier to understand people. Someone will definitely come up and say that the campaigns are too generic ;) [16:37:04] RagePanda: yes [16:37:26] notnarayan: also, there might soon be 100s, 1000s of campaigns [16:37:32] so keep that in mind :) [16:37:50] RagePanda: i hope so. :) theser are top campaigns. the most active ones. [16:38:07] or the ones you're participating in [16:38:09] but yes, quite nice :) [16:39:14] notnarayan: also needed - icon for 'beta' version of commons :) [16:39:19] should go up on play store next week! [16:39:36] RagePanda: it would be interesting to show top campaigns cause if that changes everyday, just as the featured pic of today changes, it gives one a reason to check the app often [16:39:44] why so ragey? [16:39:57] MaxSem: had to interact with government mandated telecom stupidity. [16:39:57] MaxSem: hi. see http://upload.wikimedia.org/wikipedia/commons/9/9d/Commons-teaser.png [16:40:44] notnarayan, looks nice however no WMF wiki uses anything hashtagish [16:41:02] RagePanda: ^ [16:41:08] notnarayan: yeah, let's get rid of the '#' [16:41:15] we'll steal the concept, not the terminology :) [16:41:50] RagePanda, they still want you to participate in standups as a black rectangle? [16:42:30] MaxSem: that is unrelated. I was trying to get a few new sims for my nexus 7 and the other test device [16:43:42] RagePanda: should be RAGEPANDA. [16:44:00] well, people on #wikipedia-en do not like allcaps nicks :P [16:44:09] plus I'm not *that* ragey [16:44:12] didn't have to deal with college [16:44:13] so they want your ID, retina scan, finger- and buttprints? [16:44:14] for example [16:44:52] MaxSem: multiple IDs, can be activated only within normal-people-business hours, and I'll have to be in the same state as where I bought it until it activates (upto 2 days?) [16:45:22] MaxSem: I think I'm more ragey simply because people accept all this in the name of 'anti-terrorism' [16:45:26] than the actuall stuff itself [16:45:31] 'they must have a reason!' [16:45:33] reason my ass. [16:45:40] 'oh, let us go bomb this country!' [16:45:44] 'but... we can not get a sim!' [16:45:48] 'darn, our plan is spoilt!' [16:46:13] People with the IQ of a php array_ function [16:46:29] "OMG if you charge a phone with 220 volts, it will explode" [16:46:39] "let's ban all cellphones" [16:46:42] same idiots who essentially stopped all SMS service in the country because a few people were sending threats via SMS [16:47:38] MaxSem: 'rape happened in a bus with tinted glasses' 'ban all tinted glasses' [16:47:40] MaxSem: in south of india there is a concept that is more ragey than an ID retina scan and a finger print. Its called a "Jadagam" RagePanda [16:47:41] ^ true story. [16:47:45] RagePanda, I'm sure the bureaucratic fucks of our countries have a lot of things to reach each other:) [16:47:51] notnarayan: LALALALALA I CAN NOT HEAR YOU [16:48:08] s/reach/teach/ [16:48:18] indeed. [16:50:21] MaxSem: thank god there is no medium where people of different nationalities could come together to share their 'expertise'! [16:50:56] RagePanda, is the ID check enforced? I mean in Russia if you want to buy a sim but don't have an ID it will be registered for the poor guy who bought a sim before you [16:51:30] MaxSem: that used to happen too, but now 'enforcement' is worse. [16:51:34] (or better?) [16:54:16] wow, your government can actually enforce something? [16:54:41] why do you guys give a fuck what they're telling you? [16:56:53] as we Russians say, "the strictness of our laws is compensated by the lacking enforcement" [17:00:39] RagePanda: two meetings tonight [17:09:02] * MaxSem pokes awjr [17:09:05] * awjr waves [17:09:11] hi MaxSem [17:09:26] hey Arthur - want to chat about LevelUp? [17:09:54] sure MaxSem [17:10:50] so, do you have any ideas how you want us to proceed/what specifically do you want to learn? [17:10:57] heh no not really [17:11:01] otherwise, I have a plan... [17:11:03] i honestly haven't given it much thought yet [17:11:06] let's hear your plan :) [17:13:54] first stage, you read a book or an online tutorial - as you go you report what you're read and I help you if you have any questions and give you training tasks [17:14:09] I can't advice you a book, unfortunately [17:14:32] MaxSem: do you know any good tutorials/sites? [17:14:35] half of my C basics are from Turbo C built-in help anyway:) [17:14:41] heh [17:16:48] MaxSem: i am happy to get started with a book - i learn this kind of stuff best with a good reference book and tasks [17:17:11] MaxSem: maybe you can give me a training task that i try to complete by say, the end of next week? [17:17:26] mmmm [17:17:43] MaxSem: it doesn't have to be right now either - i probably wont focus on any of this til Friday [17:17:53] do you know what **p+++x does? [17:18:04] @_@ [17:18:05] no. [17:18:27] that's why you probably want to read a bit before starting with coding [17:18:32] it's aint no python [17:18:36] heh ok [17:22:36] somebody gets to write some C for varnish? [17:22:55] maybe after MaxSem gets me to levelup [17:23:10] achievement unlocked: double pointer dereference! [17:23:17] hehehe [17:23:55] MaxSem: this appears to be highly recommended: http://www.amazon.com/Programming-Language-2nd-Brian-Kernighan/dp/0131103628 [17:24:14] argh [17:24:28] there should be plenty of free online sources [17:25:00] i trust there are - but i have found i do better with this stuff when i have a physical book [17:27:41] "Publication Date: April 1, 1988" [17:27:43] this looks surprisingly thorough: http://www.iu.hio.no/~mark/CTutorial/CTutorial.html [17:27:53] yes, I've seen it [17:28:02] heh MaxSem yeah, this is another highly recommended one: http://www.amazon.com/exec/obidos/ASIN/0393969452/lynnallain [17:30:37] http://www.iu.hio.no/~mark/CTutorial/CTutorial.html appears pretty ancient [17:30:57] is ancient a bad thing? [17:31:01] i.e. assumed int type and so on [17:33:51] maybe I'm an old fart who have seen too many weird and crappy C compilers, but I'd like to have something that would allow to write a more portable code [17:34:02] MaxSem: **p++ + x or **p + ++x? [17:34:11] * RagePanda forgot how it associates [17:34:20] I suppose LTR, so that should be (1) [17:34:26] for example, modern GCC would output warnings from that tutorial's code [17:34:42] oh i ese [17:35:37] RagePanda, not exactly LTR (longer first, rather) but in principle you're right [17:36:29] longer in terms of? token size? [17:36:50] yes [17:37:08] aah [17:38:18] and stuff like http://lurkmore.so/images/c/c1/KYB-001.jpg [17:39:30] * RagePanda clikcs [17:40:52] MaxSem: is ++i++ + i even valid? [17:41:05] even i+++++i is valid [17:41:22] well that I can see [17:41:34] okay my question should've been ++i++ [17:41:37] without the +1 [17:41:38] err [17:41:39] + i [17:41:46] that is postfix and prefix on the same identifier [17:41:48] at the same time [17:41:55] a True C Programmer(tm) should be able to wrtie a short essay on why this code is UB [17:42:11] UB -> Utter Bonkers? [17:42:21] undefined behaviour [17:42:24] ah [17:51:59] MaxSem: there isn't really much C stuff around here, is there? [17:52:02] (in WMF, that is) [17:52:05] (except for Varnish) [17:52:44] also, there's the dreaded redirector.c [17:52:58] and some analytics pieces [17:53:05] and udp2log [17:53:14] sigh, nothing to just liesurely hack around [17:53:19] and PoolCounter [17:54:44] awjr, in principle http://www.cprogramming.com/tutorial.html looks sane [17:55:11] cool MaxSem [17:55:36] (just don't touch the C++ bits) [17:55:49] MaxSem: but with https://www.gnu.org/software/libc/manual/html_node/index.html C gets a lot... different no? [17:55:53] heh one thing at a time [17:55:58] * RagePanda hasn't actually done any C programming outside of glibc [17:57:01] RagePanda, glibc != ANSI C library [17:57:18] I meant glib, rather [17:57:29] glib is a lot better/worse depending on how you look at it, I guess [17:57:59] awjr: technical difficulties for standup [17:58:07] :( [17:58:12] chrome box won't connect to network [17:58:17] being troubleshooting for last 10 mins [17:58:20] noooooo [17:58:21] >_< [17:58:30] laptop? [17:58:33] network seems to be down [17:58:37] i can do wifi.. [17:59:18] wifi is usually a bust [17:59:31] i gotta log out and back in, webcam is acting up again [17:59:33] wifi works fine for me :P [17:59:50] awjr: that's a nice chair! [17:59:58] thanks, RagePanda :p [18:00:27] Hey, mobile team; quick question, is Shankar Narayan a new employee/contractor? Or a volunteer? Or an intern? [18:00:57] guillom: contractor i believe [18:01:24] hey guillom, Hi! I'm a contractor. :) [18:01:25] notnarayan, who are you?:P [18:01:31] brion: ok, thanks. They don't seem to have been announced on the list; do you think it's an oversight? [18:01:39] Oh, hello notnarayan :) [18:01:46] guillom: yeah, I think tfinc/howief would do that today. [18:01:47] i dunno nothing about announcements i just code ;) [18:01:49] notnarayan, standup!:) [18:01:59] Thanks RagePanda [18:02:02] MaxSem: now? [18:02:05] notnarayan: standup? [18:02:12] 2 mins ago [18:02:23] notnarayan: plz2join. [18:02:24] Alright, then I'll include you in the next monthly report :) Thanks [18:02:39] RagePanda: link [18:02:46] should be in your calendar? [18:02:48] notnarayan: https://plus.google.com/hangouts/_/8bc98160cdf0396821e2ba381099b56fde42cb0c [18:05:00] RagePanda, he's not in calendar [18:05:26] MaxSem: yeah, let's do that to [18:15:59] jdlrobson, did you receive Trevor's blessings on https://gerrit.wikimedia.org/r/#/c/46885/ ? [18:16:06] grrr [18:16:20] liefi [18:16:42] MaxSem: kai just committed to the OSM event :) [18:17:04] awjr, dude! you're awesome! [18:17:22] awjr: http://www.philly.com/philly/blogs/trending/VIDEO-hitchhiker-saves-woman-from-attack-gives-best-NSFW-interview-ever.html is kai? :P (/via jorm) [18:17:31] MaxSem :D [18:17:40] lol [18:17:46] RagePanda: different kai, i think :p [18:19:57] ragepanda, i'm pretty sure i already know the answer to this question, but do we have any way of tossing up banners on the android wikipedia app that specifically target one language project or geographic area? [18:20:28] Maryana: technically very possible. But the code for it does not exist yet :) [18:20:38] gotcha [18:21:01] there was an ask from fundraising - they're traveling the world and trying to reach out & talk to more mobile users [18:21:15] apparently, everybody in indonesia accesses wikipedia via android app :) [18:21:40] brion, do we have a phone which uses IE9? [18:21:59] jgonera: there should be an HTC Torch running Windows Phone 7.5, that has IE9 iirc [18:22:09] ok [18:22:27] Maryana: wah [18:22:33] we should probably pick up a WP8 device at some point too, test mobile IE10 [18:22:43] Maryana: I should really start giving them a better experience soon. [18:22:50] heheh, that was my thought, too [18:22:50] * RagePanda should pick up the full-native one sometime soon [18:23:03] somebody has to think of the indonesians [18:23:17] Maryana: did you see the PDF i mailed you? [18:23:17] :) [18:23:40] ragepanda: yes! [18:23:58] i'm pretty excited about this, post-uploads sprint [18:24:37] Maryana: indeed. me too! [18:24:50] New review: Jdlrobson; "There is a conversation on [WikimediaMobile] Showing .noprint elements on mobile. Let's make a call ..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/43852 [18:24:55] Maryana: I'd want to do this as a 'wikipedia app' proper from day 0, instead of trying to keep it general mediawiki compatible [18:25:18] so much code to write, so little time [18:25:21] yeah, especially since the sister projects all seem to be working on their own apps [18:26:39] can someone poke Jon to return to IRC?:) [18:28:13] MaxSem: poke successful :) [18:28:21] Maryana: well, those are just forks of the wikipedia app [18:28:21] RagePanda: https://test.wikipedia.org/wiki/File:Nexus_10_uploads_screen.png vs https://test.wikipedia.org/wiki/File:IPad_thingy.png :D [18:28:25] with minor modifications [18:28:27] jdlrobson, did you receive Trevor's blessings on https://gerrit.wikimedia.org/r/#/c/46885/ ? [18:28:38] * RagePanda clicks [18:28:41] MaxSem: Trevor was too busy :( [18:29:01] I'd suggest not getting blocked by Trevor provided it works [18:29:11] we can always refactor afterwards - i suspect i will need to do so anyway [18:29:13] brion: that is nice! [18:29:17] grr [18:29:19] okay [18:29:36] brion: needs more scary brion :) [18:29:39] MaxSem: he has helped me with that patch set so i'm sure it is fine [18:29:40] hehe [18:29:57] brion: I also have no padding, while you do. Dunno which is better [18:30:06] yeah i'm undecided on that [18:30:31] I think we've a meeting again now :P [18:30:35] yep [18:30:52] notnarayan: meeting! [18:31:07] RagePanda: I'm there [18:33:08] jgonera: can you rebase https://gerrit.wikimedia.org/r/#/c/47184/ [18:43:17] Change merged: JGonera; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47681 [18:50:37] jdlrobson, I'm having problems understanding getModifiedTime() in https://gerrit.wikimedia.org/r/#/c/46885/9/includes/modules/MFResourceLoaderModule.php [18:51:13] what does filemtime( __FILE__ ) achieve? [18:51:51] particular modules are not defined in this file [18:52:33] so getModifiedTIme is used to determine whether the cache needs to be broken [18:52:58] it's basically checking if the existing MFResourceLoaderModule.php file has been edited [18:53:03] ^ MaxSem [18:53:16] (note this is copied from VisualEditor) [18:54:06] MaxSem: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/VisualEditor.git;a=blob;f=VisualEditorMessagesModule.php;h=62612ae693562a5bd4f7bffe214a8925874a8041;hb=HEAD#l85 [18:54:09] but since that file doesn't gets changed when modules are changed, all this will not work [18:54:22] in VE, the situation is slightly different [18:55:09] VE's getMessageInfo() actually contains message definition [18:55:22] while your code simply uses a global defined elsewhere [18:55:48] thus, that global's changes will not invalidate cache [18:56:02] jgonera: http://jonrobson.me.uk/mobile/ [18:57:58] jdlrobson, ^^ [18:59:11] taking MobileFrontend.php's mtime would improve the situation, but not quite as messages can be changed on-wiki and these changes will not be picked up [18:59:28] (yeah, VE also has this problem, but still...) [19:00:33] brion: right on time, I guess? [19:00:38] yep :D [19:00:46] MaxSem: little confused.. surely if the message in i18n changes that's the only time it needs to get invalidated? [19:01:05] which is what $this->getMsgBlobMtime( $context->getLanguage() ) returns [19:01:13] jdlrobson, ever heard about the MediaWiki: namespace? ;) [19:01:33] brion: no tfinc yet [19:01:39] RagePanda: tfinc is in the hangout... [19:01:43] are we on the same link? [19:01:43] jgonera: http://nicolasgallagher.com/pure-css-speech-bubbles/demo/ [19:02:05] RagePanda: you clicking the hangout link in the invite? [19:02:19] RagePanda: https://plus.google.com/hangouts/_/b923618880a1a39dfed20721008d0395d709f898 [19:02:22] awjr, tfinc - do we need to chat about the OSM event? [19:02:34] do we? [19:02:39] you guys tell me [19:02:40] tfinc: we are in the wrong one i think [19:02:47] RagePanda: and also here's the ether pad: http://etherpad.wikimedia.org/MobileAppRetrospective [19:03:07] MaxSem: the what namespace ;-) [19:03:13] what's the issue there? [19:03:33] someone changes a message locally --> cache is not invalidated [19:03:40] MaxSem: i think we're fine at the moment unless there's something in particular you'd like to discuss [19:03:43] Change merged: Jdlrobson; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47684 [19:04:03] the more messages a module has, the higher a chance of a screwup [19:04:19] MaxSem: can you quickly review https://gerrit.wikimedia.org/r/#/c/47606/ as well [19:05:45] done [19:05:52] Change merged: jenkins-bot; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47606 [19:06:11] thanks MaxSem [19:06:27] MaxSem: so can we live with this screwup or could you make an adjustment that does the job? [19:06:41] Change merged: JGonera; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47685 [19:06:41] (also i'm not quite sure how to write phpunit tests which involve files) [19:06:52] can't think of a sane way... down with it for now [19:07:34] MaxSem: do you want to add a note to the code? [19:07:45] still no sign of trevor alas [19:09:20] New review: MaxSem; "See inline comments" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/46885 [19:09:29] tfinc: you're stuck in time! [19:09:30] and space@! [19:10:23] New review: JGonera; "It actually makes it look less centered." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47686 [19:14:18] greetings jdlrobson [19:14:25] we have a question around the size of edit count [19:14:34] the numbers vibha gave me seem rather big.. [19:14:47] gimme a second to pull up a screen [19:14:51] ok. [19:15:16] New review: awjrichards; "i am concerned about the loading of arbitrary file contents in includes/modules/MFResourceLoaderModu..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47194 [19:16:06] munaf, is there a wireframe for the diff page somewhere? I can't find it on Dropbox and I remember there was one [19:16:25] not that i know of. i'll check dropbox. didn't do that one. [19:16:49] can't find one jgonera. [19:17:03] got it: https://mingle.corp.wikimedia.org/attachments/eb06b1db64417c279a7b481bb0edb7e5/215/Watchlist_UXSpec_Beta_Dec12th-06.png [19:17:25] New patchset: Jdlrobson; "Center header of diff page (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47686 [19:17:39] notnarayan: git pull origin master [19:17:53] munaf: can i grab you on hangout/skype actually? [19:17:57] yup [19:18:00] New review: awjrichards; "Also, the introduction of 'mobiletargets' seems very clunky to me. Can't we achieve the same kind of..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47546 [19:18:01] hangout-ready. [19:18:11] New review: JGonera; "Edit count now looks like the most important element on the page. Probably should be more grey, like..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47687 [19:19:30] RagePanda: am i correct in saying that "Resume uploads appropriately (never have to type in info for an upload twice) " did not get done? i'm moving it into the backlog if thats the case [19:19:32] Change merged: JGonera; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47689 [19:19:57] munaf: git fetch ssh://jdlrobson@gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/87/47687/1 && git checkout FETCH_HEAD [19:20:03] tfinc_: well, it should be done by tomorrow. [19:20:06] munaf: https://plus.google.com/hangouts/_/2d456ad1eb08d43b2d1191594a83a355763558ce?authuser=0&hl=en-GB [19:20:06] that + 2.3 [19:20:13] k [19:28:36] New review: JGonera; "I think we don't use upper case letters in image file names anywhere. Let's keep it consistent." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47692 [19:30:45] brion: RagePanda notnarayan: http://www.mediawiki.org/wiki/Apps/Commons#Iteration_2 [19:31:49] New review: MaxSem; "This change results in the site module being loaded instead of mobile.site, which almost guarantees ..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47546 [19:32:37] ok, RL branch is successfully disqualified - what else? :P [19:33:16] RagePanda: it says I'm not allowed [19:33:26] notnarayan: open incognito [19:33:28] and log in [19:34:23] notnarayan: and i invited you elsewhere too [19:34:54] New review: awjrichards; "i was just thinking about this a little more - a possible way to get around the security issues with..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47194 [19:34:55] notnarayan: ? [19:35:02] RagePanda: joining [19:35:11] notnarayan: come in [19:35:19] New review: MaxSem; "See inline comment." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47683 [19:36:21] awjr_lunch, I don't quite understand how template loading can load arbitrary files... [19:37:40] Change merged: JGonera; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47693 [19:38:02] New review: MaxSem; "Can't review this as the commit this one depends on has a lot of problems." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47608 [19:40:11] New review: JGonera; "It juts for me after applying this patch. It's not a browser hack, it's more of a font hack. Dependi..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47695 [19:41:42] New review: MaxSem; "Needs a rebase." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/46485 [19:43:09] that's all, I think [19:44:02] MaxSem: i suppose the code limits file names to end in .html but there's no restriction placed on template path or any other restrictions around template name. so someone could create a RL module that could potentially load some file that should not be loaded [19:46:28] mhm, in theory you already can create a bogus module that loads an arbitrary file as CSS or JS [19:47:12] awjr, i grabbed jon to work out the centralnotice story & estimate the few other ones that hadn't been estimated - i think the one outstanding thing is the analytics story: https://mingle.corp.wikimedia.org/projects/mobile/cards/410 [19:47:29] im not sure what the code looks like for that, but as what's proposed is written, you could include template base paths that traverse directories and load files from unsuspecting places [19:47:45] great Maryana, thanks! i'll take a look at 410 [19:47:50] Maryana, when we will promote Nearby to beta or stable?:) [19:48:19] awjr_lunch, I don't see a problem here as this stuff has to be hardcoded in PHP [19:49:09] i'm really trying to keep us focused on promoting uploads to stable right now, maxsem, and jon will be gone this next iteration, but i have it slotted for the one after [19:49:50] if we magically run out of work for next iteration, i could definitely be persuaded to move it back :) [19:49:55] booo, my Solr cluster idles! [19:50:03] i know, and it's soooo cool [19:50:46] stupid priorities. always getting in the way of the best features [19:54:37] MaxSem: i think it would be better to more strictly define what templates can be loaded, or at least from where. doing a blind file_exists() followed by file_get_contents() is, i think, bad practice [19:55:08] MaxSem: i'm itching to add 'upload from nearby' or something like that :) [19:55:09] sooon [19:55:27] we could actually remind people when they're nearby something that needs to be photographed. [19:55:29] geofencing [19:55:36] awjr_lunch, so how is this different from vanilla PL? [19:55:50] MaxSem PL? [19:55:54] RL [19:56:56] good question - does RL function the same way? [19:57:24] if there are more precautions in RsourceLoaderFileModule, we should use them, but otherwise this commit does not add any new way to shoot you on the foot [19:59:01] looks like RL does the exact same thing, which i also find unnerving [19:59:33] but i guess that's why we code review [20:00:32] heh http://en.wikipedia.org/wiki/File:Internet_Explorer_1.0.png [20:00:55] MaxSem: will you note that in the comments on that commit? [20:01:32] brion, it doesn't pass hostname properly? [20:01:43] nope [20:01:50] doesn't support tables, css, or javascript either i think :) [20:03:09] brion: wow, that's some complicated licensing there :) [20:03:23] yeah [20:03:33] i'm not sure how much "copyrighted screenshot" is bullshit vs reality [20:03:54] you can take a photo of a car right, and we know that's not a copy of the car? [20:03:56] well, commons deleted all the barnstar tattooes [20:04:03] O_O [20:04:17] someone wanted a written OTRS release from the tattoo artist [20:04:29] work for hire, surely? [20:04:32] MaxSem: did you see asher's comment on the wikitech-l thread ' RFC: Introducing two new HTTP headers to track mobile pageviews' that 'Opting into the mobile beta as it is currently implemented bypasses varnish caching for all future mobile pageviews for the life of the cookie'? is that true? i though the cache was varried on those cookies, not totally bypassed. [20:04:53] grrrrrrrrr [20:05:01] this is so confusing [20:05:15] brion: Ironholds was telling me about it. Apparently someone admin on commons was being a dick, and sortof misunderstanding a precedent legal case. [20:05:23] bluh [20:05:31] people are the worst thing about open source ;) [20:05:38] and best… ironically [20:05:44] heh :D [20:05:50] I've seen it, but I don't fully understand WTF does our caching setup does [20:05:53] brion: I think that's going to be the biggest challenge for the apps [20:06:07] brion: to not have people upload stuff that's going to be deleted [20:06:11] *shudder* [20:06:19] we'll need a nice tutorial probably [20:06:23] indeed [20:06:36] with Puzzly the talking Wikipedia puzzle piece [20:06:48] brion: that's perhaps why I'm happy to release it without account creation at end of next week, and then do a general release only with tutorials [20:06:58] *nod* noooooobs [20:07:06] brion: but we'll reach some fine commons milestones. [20:07:11] first dick picture -> X days [20:07:18] first dick picture that doesn't get deleted -> ? [20:07:18] rofl [20:07:45] first dick picture that's featured media of the day [20:07:55] not unless you're german :P [20:08:13] brion: RagePanda we should add this to the milestones [20:08:25] notnarayan: what, dick pictures? [20:08:30] or the tutorials? :P [20:08:38] RagePanda: ha ha both :) [20:08:56] RagePanda: i would much rather like the tutorial though [20:09:08] notnarayan: :) [20:09:10] yeah, commons has enough dick pictures as it is, I think [20:09:39] we may need design assets for symbols for "no dick pictures" and "no food pictures unless you're going to add them to the article on that kind of food" [20:09:43] this ain't instagram [20:10:32] brion: indeed. I think a lot of the tutorial just needs to be 'this isn't instagram' [20:10:37] brion: a tutorial that explains the license and the idea of an "encyclopedic" image ? [20:10:45] brion: we need to tell a coherent story of a commons-worthy image [20:10:47] notnarayan: indeed [20:10:57] yeah. there's a tutorial they use on UploadWizard, maybe we need to adapt it to small-screen [20:11:01] and localize it? bah [20:11:08] aaah. localization :D [20:11:11] no images for us :P [20:11:28] brion: or we could just build multiple language versions of the images, for multiple screen sizes.... [20:11:28] :P [20:11:29] i was gonna say "use svg" but …. fucking android 2.3 [20:11:50] brion: well..... there are controls that let you easily use svg on 2.3 [20:11:54] oh good [20:11:55] remember we are no longer limited by webkit :) [20:11:58] \o/ [20:12:14] awjr_lunch, are you staying extra days in Europe? [20:12:19] brion: https://code.google.com/p/svg-android/ [20:12:33] dunno yet MaxSem, i might take an extra day or two [20:12:41] sweet [20:12:51] MaxSem: you? [20:12:57] brion: not shackled by web tech now ;) [20:13:06] we can do... whatever we want! No more browser bugs! :) [20:13:16] we could write a -based SVG renderer in JS ;) [20:13:25] awjr_lunch, you'll need to decide this soon:) I'll stay a week in EU, most likely 2-3 days in Copenhagen then go to Sweden [20:13:43] brion: yeah, that should perform wonderfully on any android :P [20:13:49] haha [20:13:56] and that's also the point - we can do what we want, without yak shaving [20:13:57] :) [20:14:08] there's still yak shaving, but the yak is the size of a goat [20:14:26] :P [20:14:26] today's media of the day is a recording of someone snoring. wtf [20:14:36] nice MaxSem :) yeah i know - my wife is also traveling around that weekend and we're waiting for her dates to be finalized. i should know sometime later this week. [20:14:36] hahaha [20:14:36] awww, commons [20:14:48] brion: so with Android at least, we can do audio / video *playback* quite easily :) [20:14:57] but will want to wait till we get campaigns out i guess [20:14:58] yay [20:15:14] brion: have you seen PDBHandler? http://www.mediawiki.org/wiki/Extension:PDBHandler (apropos of canvas tags) very cool project, should work on mobile [20:15:18] normally i wouldn't sweat it so much, but we're getting a dog and want to make sure our travel doesn't overlap in such a way that makes life hard for the pup [20:15:21] yeah i'm still hoping we can get mp4/aac transcode going on [20:15:32] chrismcmahon: oh spiffy [20:15:40] brion: on the server? that'd be cool [20:15:49] brion: I took out the ogg transcoding code from the client since that was causing build issue [20:15:50] s [20:15:56] RagePanda: yeah. otherwise i'll have to do it in the app and it'll be painful for video [20:16:04] brion: User:EMW even wrote some browser tests, I'm going out of my way to support PDBHandler [20:16:12] audio is just a matter of building for android ;) [20:16:28] brion: yup! [20:16:30] brion: also, https://commons.wikimedia.org/wiki/Commons:Undeletion_requests/Current_requests#File:Ironholds_indelible_barnstar.jpg_and_File:Oliver_Tattoo-1.jpg [20:16:35] the barnstar discussion [20:16:50] * brion bookmarks PDBHandler for future reference. such things are shiny and fun :D [20:17:20] Maryana: https://mingle.corp.wikimedia.org/projects/mobile/cards/410 [20:17:58] sweet! [20:18:22] we'll finally know if we've surpassed our alpha quota :) [20:19:05] or, well. i guess we still won't know uniques. but it's a start [20:19:12] :) [20:24:04] New review: awjrichards; "after chatting more with Max in irc, it's clear the approach taken here with loading the template fi..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47194 [20:26:33] brion: also [20:26:48] > Ironholds: also - if a large number of photos by random new people started pouring into commons from mobile phones, and these people do not have any idea of communication inside commons itself - not of talk pages, not of user pages, not of anything - because their only interface is from mobile, would the communtiy hate us? [20:26:59] > YuviPanda: Yes, they will. Until the end of time [20:27:06] hehe [20:27:08] well, you need to read that in reverse. I said the first line, Ironholds said the secodn [20:27:10] *second [20:27:21] and that is true, since there is no way to read talk pages or anything at all from there [20:27:31] WE NEED ECHO AND FLOW FINISHED [20:27:35] idneed! [20:27:39] brion: but, until then? [20:27:48] brion: we at least need the tutorial... [20:27:52] and need to hand monitor those uploads [20:27:54] yeah [20:28:14] brion: I'm wary of putting out sign up without the tutorial in place [20:28:21] i tend to agree [20:28:26] tfinc not here, dang [20:29:04] brion: we should still do the API, but not do it in the client yet. [20:29:48] so here's the UploadWizard tutorial for english - http://commons.wikimedia.org/wiki/File:Licensing_tutorial_en.svg [20:30:08] well no notnarayan [20:30:31] that's pretty complete me thinks [20:30:34] brion: how is it localized? [20:31:02] brion: also, unsure how to do the 'ask the help desk' bit :) [20:31:04] there's a big ol' page at http://meta.wikimedia.org/wiki/Licensing_tutorial [20:33:17] awjr, Tim Adler suddenly decided to come. it's half an hour before the deadline :D [20:33:27] nice, MaxSem! [20:35:02] awjr, also see my email regarding another volunteer who haven't replied yet [20:36:10] brion: it'll be a lot of work before we have that much [20:36:13] localized stuff [20:37:10] RagePanda: sent a quick note to mobile-tech asking for feedback on making a mobile version of the upload tutorial [20:37:15] RagePanda: (on subject of Ironholds) the community has to hate us before theory love us [20:37:40] jdlrobson: unless by 'us' you mean the users. They'll see their photos being deleted with no explanation whatsoever [20:38:01] well they'll hate us for making it no? :P [20:38:20] New patchset: JGonera; "Make Cancel link in PhotoUploader work" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47184 [20:38:21] that too. [20:38:38] jdlrobson: but still, a photo deleted is effort and bits into /dev/null, so... [20:39:04] haters gonna hate [20:39:06] or something like that [20:39:09] brion: also that page is by our own guillaum :) [20:39:23] \o/ [20:39:26] Change merged: JGonera; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47184 [20:39:32] jdlrobson: of course! If that weren't the case we'd never do uploads at all :) [20:40:52] brion: cc'd him [20:43:32] tx [20:43:36] bbiab [20:46:06] New patchset: Jdlrobson; "increase edit count text on diff view (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47687 [20:47:28] New review: Jdlrobson; "any ideas how to fix?" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47695 [20:53:48] brion-lunch: https://commons.wikimedia.org/wiki/Template:Uploaded_from_Mobile [20:55:15] New review: Jdlrobson; "I disagree.. there is no guarantee anyone is using the git hooks anyway. They are there as a suggest..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/45505 [20:55:45] Change abandoned: Jdlrobson; "See previous review message" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/45505 [20:56:44] MaxSem: http://www.geneabloggers.com/wp-content/uploads/2010/12/wikitree-widget.png [20:56:48] (wiki tree) :P [21:00:27] jgonera: review mtg time [21:02:57] New patchset: Jdlrobson; "Add icon to left of bytes added/removed on diff page (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47692 [21:12:44] brion-lunch: ping when back [21:13:03] brion-lunch: do you have OTRS mobile queue access ? [21:17:36] brion-lunch: i sent you new volunteer info [21:20:32] MaxSem: ping? [21:20:39] i see that history says you did bits of https://commons.wikimedia.org/wiki/Template:Uploaded_with_WLM_Mobile [21:20:42] pong from meeting [21:20:45] ah [21:20:46] ok [21:20:48] nevermind then [21:46:53] brion-lunch: template created and posted to mobiletech [21:46:59] whee [21:47:47] let's see if i can get into otrs [21:48:02] tfinc: no i do not appear to have it. lemme see if i can find it [21:48:12] brion: i sent you can email about it [21:48:20] fuck i hate ptrs, can't find anything [21:48:38] tfinc: also me and brion talked about user sign up, and think we should delay it until we have the tutorial up and running [21:48:49] to be clearer, we'll build out the API but not put it in the app [21:49:06] tfinc: ah great, i'll send him an email :D [21:55:02] brion: ^ is that an accurate summary? [21:55:18] hmm, I didn't mention reason. [21:55:26] :) [21:55:51] reasoning being people who signed up via mobile and nothing else will have no context at all over what they're doing and why their stuff suddenly is not there anymore [21:55:58] no way of engaigng or even knowing where to engage [21:57:53] http://i3.kym-cdn.com/photos/images/newsfeed/000/234/765/b7e.jpg [21:59:46] New review: Jdlrobson; "I'll wait for https://gerrit.wikimedia.org/r/#/c/45912/ to get merged." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/46485 [21:59:46] YuviPanda: so i add like {{Uploaded from Mobile|platform=iOS|version=0.1}} ? [21:59:54] brion: yup [22:00:00] spiff [22:00:07] brion: we need a meme of that dog but on a phone :) [22:00:14] :) [22:03:02] gawd code review is messing with my head [22:03:05] so much rebasing needed [22:03:07] complete mess [22:04:13] jdlrobson: you might chat with roan for strategies on coping with that. when i was dealing with a nightmare rebase the other day he gave me some good pointers [22:04:46] awjr: the strategy is to code review faster :-) the main problem with this iteration is there are big architectural changes.. [22:05:28] jdlrobson: there will always be challenges with rebases/merges/etc particularly as long as we keep having changesets with dependencies, etc. speed will not make that problem go away [22:06:16] rebases to me are a fact of life but when you are rebasing one change and then having to rebase it again that's a bad smell that something is wrong [22:06:38] anyway back to rebasing.. :) [22:07:17] New review: Jdlrobson; "Needs a rebase plus lets merge https://gerrit.wikimedia.org/r/#/c/47546/ first to make this similar..." [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47623 [22:07:40] MaxSem: awjr any thoughts on https://gerrit.wikimedia.org/r/#/c/46648/? [22:08:01] jgonera: any idea how to solve https://gerrit.wikimedia.org/r/#/c/47695/ ? also i amended https://gerrit.wikimedia.org/r/#/c/47687/ [22:08:07] (and https://gerrit.wikimedia.org/r/#/c/47686/) [22:08:23] jdlrobson: lots of thoughts. MaxSem and i discussed it last week and had come up with a soluiton that just hasn't been implemented yet [22:08:31] tfinc: also welcome email for notnarayan? [22:08:35] plus he needs to get on mobiletech [22:08:47] YuviPanda: has howie not done that? [22:08:53] no [22:08:55] k MaxSem i'm going to make my change to https://gerrit.wikimedia.org/r/#/c/46885/9 when i've done that could i get a quick code review and merge? [22:09:03] New review: MaxSem; "We usually lowercase resource names, don't we?" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47692 [22:09:04] i'll poke him to do it [22:09:30] tfinc: sweet. [22:09:45] jdlrobson, I'll have a look at it when I finish the salad ;) [22:09:46] jdlrobson, sure [22:10:14] YuviPanda: https://test.wikipedia.org/wiki/File:Testfile_1360188518.jpg <- using the template copied over [22:10:16] [android-commons] yuvipanda pushed 1 new commit to master: http://git.io/Ywdykg [22:10:16] android-commons/master 1986b24 YuviPanda: Do not add duplicate photos when syncing [22:10:39] brion: sweet :) [22:10:50] Project Android-Commons (mobile) - Nightly builds build #44: SUCCESS in 34 sec: https://integration.mediawiki.org/ci/job/Android-Commons%20(mobile)%20-%20Nightly%20builds/44/ [22:10:51] yuvipanda: Do not add duplicate photos when syncing [22:11:19] [Commons-iOS] brion pushed 1 new commit to master: http://git.io/V4Td1w [22:11:19] Commons-iOS/master ce88344 Brion Vibber: Use template for categorization; include version number... [22:12:12] jgonera: is all the code review done for #332? [22:13:24] awjr, will check in a moment [22:13:35] jgonera: thanks - it looks like it has but wanted to make sure [22:14:27] YuviPanda: so add him to mobile-tech [22:14:38] tfinc: I have perms to add people? [22:14:46] * YuviPanda pokes [22:16:31] New patchset: Jdlrobson; "Add icon to left of bytes added/removed on diff page (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47692 [22:17:09] tfinc: done. I didn't know that I could do that. Thanks! [22:17:23] :D [22:18:52] so MaxSem what specifically should i do in https://gerrit.wikimedia.org/r/#/c/46885/9/includes/modules/MFResourceLoaderModule.php ? [22:19:22] i have to say this is outside my comfort zone - you want me to simply return the filemtime of MobileFrontend.php? [22:19:25] brion: https://test.wikipedia.org/wiki/File:Let_us_all_be_mad.png :) [22:19:33] brion: though i should replace *that* icon with an icon for the mobile web :) [22:19:46] scary :D [22:19:59] i stuck up a quick page on Commons about the app, pointing at our dev page: https://commons.wikimedia.org/wiki/Commons:Mobile_app [22:21:09] brion: win [22:21:17] [android-commons] yuvipanda pushed 1 new commit to master: http://git.io/N6lnFA [22:21:17] android-commons/master af73954 YuviPanda: Include tracking template on all uploads [22:21:30] Project Android-Commons (mobile) - Nightly builds build #45: SUCCESS in 24 sec: https://integration.mediawiki.org/ci/job/Android-Commons%20(mobile)%20-%20Nightly%20builds/45/ [22:21:31] yuvipanda: Include tracking template on all uploads [22:22:25] Change merged: awjrichards; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47672 [22:23:18] jdlrobson, yes [22:23:39] but MaxSem i'm confused what if the i18n file changes ? [22:23:55] http://blogs.wsj.com/cio/2013/02/06/ubuntu-smartphone-shipping-in-october/ [22:24:00] or the MFResourceLoaderModule.php file changes but MobileFrontend.php doesn't [22:24:00] brion: --^ [22:24:01] ? [22:24:03] rmoen: --^ [22:24:34] jdlrobson, feel free to check the i18n file mtime too however since they can be customized I don't see the point [22:24:47] "Mr. Shuttleworth declined to identify carrier or handset partners." :P [22:24:51] :P [22:24:58] tfinc: NICE!! [22:25:05] so you think MobileFrontend.php is the only needed one? [22:25:16] rmoen: I'm getting a Firefox OS test device in a month or so :) [22:25:24] New review: awjrichards; "looks ok, minor quibble in i18n file" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/47673 [22:25:29] YuviPanda: Nice boss [22:25:39] YuviPanda: how does one obtain said device? [22:26:09] rmoen: one goes to firefox OS hackathon and builds something that they consider worthy [22:26:27] rmoen: that wasn't too hard. I built a simple Indian language typing tool. Another guy who also 'won' built a simple version of Tic Tac Toe. [22:26:55] YuviPanda: Excellent, nice job fella. [22:27:01] rmoen: I'll poke you once I get it. If you want it, I'll be happy to find a way to send it over :) [22:27:26] YuviPanda: If you have no use for it of course :) [22:28:25] rmoen: I don't think I'll be able to dev for it for the near future, so I'll try to find a way to get it off once I get it. [22:28:33] rmoen: will poke when it reaches my hands boss. [22:28:40] you can pay me in Chicken 65 :P [22:30:16] Change merged: awjrichards; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47692 [22:30:25] New patchset: Jdlrobson; "allow ResourceLoader modules to allow parsed messages (bug 43409)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/46885 [22:30:26] MaxSem: ^ is that what you had in mind? [22:30:44] specifically MaxSem https://gerrit.wikimedia.org/r/#/c/46885/10/includes/modules/MFResourceLoaderModule.php [22:31:43] yes [22:31:57] if awjr doesn't mind, I'd call this resolved [22:32:04] i'll look in a sec [22:33:09] New review: awjrichards; "This looks fine to me but wanted to give jgonera a change to confirm the changes." [mediawiki/extensions/MobileFrontend] (master); V: 2 C: 1; - https://gerrit.wikimedia.org/r/47687 [22:34:23] MaxSem: \o/ [22:35:55] actually sorry jdlrobson one quibble on that [22:36:18] in https://gerrit.wikimedia.org/r/#/c/46885/10/includes/modules/MFResourceLoaderModule.php, in getModifiedTime() you're using $this->localBasePath . '/MobileFrontend.php' [22:36:35] what happens if localBasePath is different than what you are expecting? [22:36:48] you could use $IP/extensions/MobileFrontend/ instead [22:37:13] New patchset: Jdlrobson; "fix whitespace / jshint error on mf-oop test (codehealth)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47801 [22:37:26] afrfgg [22:37:35] have you got the code handy awjr to amend it? [22:37:50] jdlrobson: i don't mind doing it [22:37:55] thank you so much [22:38:01] ywsm [22:41:55] New review: Jdlrobson; "Max could you send me a gist of what we will need to do to load the correct site module?" [mediawiki/extensions/MobileFrontend] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47546 [22:41:59] New patchset: awjrichards; "allow ResourceLoader modules to allow parsed messages (bug 43409)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/46885 [22:42:59] awjr: looks good to me [22:43:28] Change merged: awjrichards; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/46885 [22:44:22] jdlrobson: ^ [22:44:28] \o/ [22:46:38] ok awjr i'm going to focus on https://gerrit.wikimedia.org/r/#/c/47546/3 [22:46:42] i should be able to cherry pick it [22:46:47] we can look at the templatign stuff later [22:47:02] aigh [22:47:03] t [22:47:21] unless we are happy to merge https://gerrit.wikimedia.org/r/#/c/47194/3 now [22:47:35] it seems that jgonera's -1 is very minor (about documentation) and can probably be fixed later [22:47:54] jdlrobson: what about https://gerrit.wikimedia.org/r/#/c/47194/3/MobileFrontend.php ? [22:48:05] oh i need tests actually [22:48:05] scrap that [22:48:05] oh sorry i just saw that you commented [22:48:06] i'll do what i originally said :) [22:49:11] jdlrobson: in the meantime i'll try to properly rebase 47194 [22:49:32] awjr: don't [22:49:43] k [22:49:45] nevermind [22:49:56] i'm going to cherry pick https://gerrit.wikimedia.org/r/#/c/47546/ so we can concentrate on that [22:50:04] we can do the templating later - it's not as urgent [22:50:44] if you can have a quick review of https://gerrit.wikimedia.org/r/#/c/47801/ that would be useful [22:50:52] should be able to +2 straight away [22:52:25] Change merged: awjrichards; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47686 [22:55:24] Change merged: awjrichards; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47801 [22:56:30] [android-commons] yuvipanda pushed 2 new commits to master: http://git.io/lLvRUw [22:56:30] android-commons/master d53a8e6 YuviPanda: Visual fixes for GridView in 2.3 [22:56:30] android-commons/master ba76b5f YuviPanda: Remove dead code [22:56:52] Project Android-Commons (mobile) - Nightly builds build #46: SUCCESS in 25 sec: https://integration.mediawiki.org/ci/job/Android-Commons%20(mobile)%20-%20Nightly%20builds/46/ [22:56:52] * yuvipanda: Visual fixes for GridView in 2.3 [22:56:53] * yuvipanda: Remove dead code [23:03:35] New patchset: JGonera; "increase edit count text on diff view (376)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47687 [23:04:05] brion: can you get Maryana screenshots? [23:04:21] i'm taking a screen recording now :D [23:04:21] (for both Android and iOS) [23:04:31] sweeeet! [23:04:31] sweeet [23:04:35] haha jinx [23:04:48] :D [23:05:06] hmm, 2.3 fixes being more than i thought [23:05:08] * YuviPanda shakes fist [23:07:48] so MaxSem you there? [23:07:56] yup [23:07:58] awjr, moved #332 to ready for testing [23:08:24] so if i'm not mistaken MediaWiki:Common.css will _not_ get loaded as it doesn't set targets mobile [23:08:49] New patchset: Jdlrobson; "RL or nothing (story 393 - stable)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47546 [23:08:52] ^ and MaxSem this patch set should therefore be good to go? [23:08:53] awesome jgonera, thanks [23:09:13] lemme check [23:11:37] Change merged: JGonera; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47687 [23:12:20] jdlrobson, I still see [23:12:26] New patchset: Jdlrobson; "special case the first upload through this page (beta)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47673 [23:12:36] but is it empty? [23:13:19] okay off to sleep [23:13:21] flight tomorrow [23:13:23] good night everyone [23:13:25] * YuviPanda heads to bed [23:13:28] mm MaxSem i see what you mean.. weird [23:13:36] hmm, mw.org Common.js doesn't explode indeed [23:14:05] my bad, it still explodes [23:14:11] so it's still a -1 [23:14:42] jdlrobson, try copying it to your dev wiki [23:14:50] what explodes? [23:14:57] MaxSem: which was the hotel being suggested for the open source days conference? i think i may have been looking at the wrong one but want to confirm before i respond to doreen [23:15:07] oh I see [23:15:09] Cabinn [23:15:22] MaxSem: there are two different Cabinn hotels in copenhagen [23:16:00] MaxSem: cabinn scandinavia and cabinn metro [23:16:37] awjr, https://www.cabinn.com/hotel/sca-hotel-koebenhavn-copenhagen - if booked through the organisers we might get a 5% discount [23:16:41] MaxSem: doesn't seem to explode for me [23:17:00] I added document.write( 'Cornify' ); to MediaWiki:Common.js [23:17:04] jdlrobson, ReferenceError: addOnloadHook is not defined [23:17:04] addOnloadHook( createCollapseButtons ); [23:17:06] only runs on desktop [23:17:14] desktop has unicorns mobile doesn't [23:17:57] ookk now i do [23:17:58] caching issue [23:17:59] eek [23:18:02] remove the unicorns! [23:18:09] any idea how to stop this MaxSem ? [23:18:25] YuviPanda: where was the app that mirrors your android screen? [23:18:31] brion: asm [23:18:34] i ain't running no emulator :) [23:18:37] android screen monitor [23:18:45] http://code.google.com/p/android-screen-monitor/ there it is thanks [23:18:52] yup [23:18:55] that is it [23:18:56] is java [23:19:17] jdlrobson, I'll take a look tomorrow [23:19:42] think i've worked it out.. [23:20:18] i tried taking a video of the screen but it sucked too bad. :) using quicktime player to do screen recordings instead [23:21:15] brion: :) [23:21:36] brion: and, well - can you switch it to use commons instead of test for the demo recordings? :) [23:21:57] public static final String API_URL = "https://test.wikipedia.org/w/api.php"; [23:21:57] public static final String IMAGE_URL_BASE = "https://upload.wikimedia.org/wikipedia/test"; [23:22:00] brion: change appropriately? [23:22:01] nah too lazy [23:22:19] heh [23:22:20] ok [23:22:24] crap screen mirror of galaxy nexus is taller than my 1080p screen [23:22:31] hahahahaha [23:22:32] :P [23:22:38] brion: 50% [23:22:39] ok MaxSem i've worked it out [23:22:41] ctrl-5 [23:22:45] or 25 [23:22:49] ahhhh good right-click menu [23:22:51] *phew* [23:22:52] ctrl 2 i think [23:22:55] or something like that [23:23:03] it's documented in the project page [23:23:25] okay, going to sleep. for real. bye [23:24:10] nighty night [23:24:18] YuviPanda: brion: just sync'd up with Maryana about logging . i'll type it and send today/tomorrow [23:24:24] ok [23:27:17] brion: Hey, just checking on your timing for the Botswana launch. Would Thursday afternoon work or should we set it up for Friday? [23:28:49] dfoy: better make it friday if you can [23:29:13] brion: okay, I'll verify with Amit, I think it should work. [23:40:58] awjr: jgonera https://gerrit.wikimedia.org/r/#/c/47673/ [23:42:43] awjr: I found out why the site module needs loaded... [23:42:54] we're going to need a core change :( [23:43:07] ugh upload wizard does NOT like these videos [23:43:54] jdlrobson: a scary one? [23:45:29] New review: awjrichards; "i'm having problems testing due to my local setup, but this looks good to me." [mediawiki/extensions/MobileFrontend] (master); V: 2 C: 1; - https://gerrit.wikimedia.org/r/47673 [23:45:32] yeh :/ [23:45:37] site module is a 'default mode' :( [23:45:48] what does that mean? [23:45:52] also awjr i can't seem to add to the engineering calendar [23:46:01] awjr: basically it means Common.js loads [23:46:18] MaxSem caught it .. [23:46:30] and trevor is awol again :( [23:46:30] jdlrobson: oh, i think i forgot to hit 'save' :| [23:46:36] well he's at the js thing [23:46:56] grrr [23:47:13] okay, I'll look at adding a hook [23:47:19] awjr: is there a way to set a global to false? [23:47:28] (just for mobile..?) [23:47:29] $var = false [23:47:33] oh [23:47:35] er [23:47:36] jdlrobson, global $foo; $foo = false; [23:47:45] brion: okay can we set 10:30 on Friday to launch Botswana? [23:47:46] jdlrobson: can you give me more context? [23:47:49] $wgUseSiteJs [23:47:54] if false it doesn't load Common.js [23:47:58] oof [23:48:06] dfoy: sure [23:48:07] that sounds like it will be a bad hack. [23:48:22] brion: ok great [23:48:22] jdlrobson, this thingie is dangerous [23:48:24] jdlrobson: in principle it's doable, but… that sounds no bueno [23:48:24] New patchset: JGonera; "Add on and emit methods to mobileFrontend (bug 44128)" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/45912 [23:48:24] New patchset: JGonera; "Move require()/define() to modules.js file" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/47623 [23:48:33] different pieces of code make assumptions based on it [23:48:38] mmm [23:48:48] but that's the thing that's causing headaches [23:49:04] jdlrobson, I'll look at how it can be done in a sane way [23:49:08] OutputPage.php getScriptsForBottomQueue [23:49:19] jdlrobson: try adding to the engineering calendar now? [23:49:20] it also adds legacy scripts [23:49:23] awjr: will do [23:49:45] \o/ [23:50:05] ok awjr done [23:50:09] yay thanks jdlrobson [23:51:01] jdlrobson: is it possible to override the site module to be for desktop target only [23:51:29] then we could create a site.mobile module or something that just loads what we want? [23:51:59] nope it looks target agnostic.. :-S [23:52:10] hmmm [23:52:16] are trevor or roan in the office? [23:52:26] no they are upstairs at this js level up thing [23:52:36] judging on the last 2 days i won't be able to grab them [23:52:41] Maryana: i added the demo screencasts also to https://commons.wikimedia.org/wiki/Commons:Mobile_app :) [23:53:05] awjr, there's mobile.site already [23:53:07] that's perfect - i have no idea what file formats erik's crazy ubuntu machine supports [23:53:11] jdlrobson: this may be worth a wikitech-l email to discuss how we can untangle some of that [23:53:21] thanks, brion! [23:53:27] :D [23:53:28] sure [23:53:34] i'll take some screenshots on the tablets too [23:53:52] awjr: i was hoping to avoid this :-S [23:54:10] let me poke around again and see if there is another way [23:54:17] oh Solr the great... "isMaster":"true","isSlave":"false" on a slave node [23:54:19] jdlrobson: well, at least an email to roan and trevor, but it sounds like this could be an impactful change that's worth broader convo [23:54:20] WTF [23:54:31] o_O [23:55:19] mind you, it's still pulling data from the real master... [23:59:49] jdlrobson: poke