[00:03:42] mhurd: hey are you free? [00:03:55] we're at the big table if youre free to chitchat [00:04:51] violetto: ya [00:05:00] mhurd: come over! [00:10:39] chrismcmahon: is it possible to use sub directories in step_definitions folder? I'm noticing a pattern of file disorganization and I think having folders would help this problem. For instance we have things in common_article_steps that should be in editor_steps [00:12:04] jdlrobson: this is pretty close to what i had http://www.amazon.com/ACE-Deluxe-Wrist-Brace-Right/dp/B005YU8VBQ [00:12:11] YuviPanda has mine now [00:14:26] jdlrobson: better to refactor the files themselves I think [00:14:50] jdlrobson, jgonera: looks like something recently merged broke redlinks from working in master. Debugging now. [00:14:59] jdlrobson: message the QA mail list? I know Zeljko has definite opinions about that sort of thing [00:15:03] chrismcmahon: i want to avoid this happening in future rather than reacting to it. chrismcmahon: we had the same issue in our JavaScript and reorganizing files helped a lot with this [00:15:09] chrismcmahon: ok will do [00:15:18] kaldari, I'm not sure if I understand [00:15:21] at moment though i was just curious if it was possible off the top of your head [00:15:32] kaldari, oh, I see [00:15:44] jgonera: If you click on a redlink on beta labs, it just says redirecting to editor forever [00:15:52] I see [00:27:19] kaldari, thanks, will have a look in a moment if jdlrobson doesn't before me [16:55:19] hi mobilefolk, I'd like to ask for some eyes for this one: https://bugzilla.wikimedia.org/show_bug.cgi?id=62004 [17:04:57] web guys are probably not at the office yet but lemme take a peek :) [17:08:06] chrismcmahon: works for me as a user on current master [17:08:25] did the html structure change from what the test expects maybe? [17:09:51] brion: not sure what's going on, I was just about to attach a screen shot [17:10:53] chrismcmahon: whoa it's definitely broken on en.m.wikipedia.beta.wmflabs.org [17:11:03] brion: ok, good :-) [17:11:04] http://en.m.wikipedia.beta.wmflabs.org/wiki/0.160069379996449#editor/0 <- just shows "Starting a new page using the URL" [17:11:38] on another page, it shows content text but all the UI is still missing [17:11:44] brion: that is the correct text for that page, but I see no way to edit the page [17:11:54] yeah it's broke [17:12:04] works fine on my local on master, maybe it's outdated [17:12:20] brion: fwiw, no fatal errors on beta from MF [17:12:55] brion: I'll ask hashar, but the 3-minute update on beta labs for master branch has been pretty reliable [17:15:14] actually, I am pretty sure it is correct because this is a new issue as of what went to master and beta labs late yesterday, the overnight test build failed [17:20:44] hi brion! [17:20:50] pandaaaaa [17:20:51] I sent up a couple of patches [17:21:19] excellent. lemme coffee up and i'll look over em [17:21:52] brion: :) [17:30:25] yuvipanda: your patches seem to need rebasing :( https://gerrit.wikimedia.org/r/#/c/115871/ [17:32:03] brion: did we get a build for android out last night ? i only saw an iOS email [17:32:35] ah no lemme finish that up before we pile on more patches [17:32:54] * brion syncs up git [17:33:29] brion: gaah [17:33:51] brion: wait for a couple of minutes, let's send it out with these? [17:34:07] ok :) [17:35:16] ah yeah the logs-you-in-on-create fix will be nice [17:36:13] hmm i wonder if samsung will ever actually ship these tizen phones: http://arstechnica.com/gadgets/2014/02/hands-on-with-samsungs-tizen-os-a-impressively-capable-android-clone/ [17:38:37] (03PS2) 10Yuvipanda: Make sure dir attribute is set on RTL pages [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115871 [17:38:39] (03PS2) 10Yuvipanda: Hide softkeyboard when exiting create account [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115874 [17:38:41] (03PS2) 10Yuvipanda: Login the user right after they create an account [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115872 [17:38:43] (03PS2) 10Yuvipanda: Make sure sidebar says log in only if user is logged out [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115873 [17:39:13] brion: ^ [17:39:31] whee [17:45:53] yuvipanda: payload.toString(4) ? [17:45:56] whats the 4 mean [17:46:22] ah indent factor [17:46:31] in obj-c you wouldn't have this problem ;) [17:46:43] because the method name would be toStringWithIntentFactor: :P [17:46:47] brion: heh, just debug :) [17:46:47] *Indent [17:46:52] lol [17:47:51] brion: :) [17:49:14] i'm really practicing my hebrew typing with these rtl tests [17:49:17] brion: I'll talk to may today about how to surface errors in the login-after-acct-creation patch [17:49:18] brion: heh :) [17:49:27] only thing i know how to type is 'jerusalem' though [17:49:31] and that only by repetition :P [17:49:31] yuvipanda: okay :D [17:49:56] violetto: :P [17:51:11] (03CR) 10Brion VIBBER: [C: 032 V: 032] "hebrew article & preview appears RTL yay" [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115871 (owner: 10Yuvipanda) [17:51:16] hi violetto [17:51:32] yuvipanda: sup [17:53:04] violetto: so, question. [17:53:15] violetto: in create account, when you create an account, we need to make some more requests to log you in [17:53:28] violetto: and those can have errors - like 'too many attempts' or 'network'. Where should we display those? [17:53:52] yuvipanda: remember the top banner you showed us? [17:54:09] the thin banner at the top of the screen [17:54:40] violetto: yeah [17:54:56] violetto: but then what action can the user take? his account creation was successful, but just the login isn't [17:54:57] yuvipanda: last we said we're using that [17:55:06] yuvipanda: hmm [17:55:20] well you can retry if it was a network error [17:55:41] brion: how many times? at some point we need to give up [17:55:49] brion: long spinners that seem to keep spinning make the app look broken [17:55:52] well *we* give up [17:55:54] the user doesn't have to [17:56:41] brion: yeah, agree, but we just need to indicate that something's wrong. [17:56:44] what kind of actions we want the user to take? [17:56:50] after seeing an error [17:56:52] (03CR) 10Brion VIBBER: [C: 04-1] "java: /Users/brion/src/wiki/apps-android-wikipedia/wikipedia/src/main/java/org/wikipedia/createaccount/CreateAccountActivity.java:178: can" [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115872 (owner: 10Yuvipanda) [17:59:50] brion: updated [17:59:52] (03PS3) 10Yuvipanda: Hide softkeyboard when exiting create account [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115874 [17:59:54] (03PS3) 10Yuvipanda: Login the user right after they create an account [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115872 [17:59:56] (03PS3) 10Yuvipanda: Make sure sidebar says log in only if user is logged out [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115873 [18:00:14] violetto: 'retry logging in' and 'try again later (you can log in from the sidebar menu)' [18:00:17] tx [18:00:37] awjr: heads up for https://bugzilla.wikimedia.org/show_bug.cgi?id=62004 . I think MF gets deployed today [18:01:23] thanks for the head's up chrismcmahon [18:01:30] yuvipanda: that would mean they successfully created account, but just cannot log in at that time [18:01:34] correct? [18:01:40] violetto: yup! [18:01:48] yuvipanda: lemme think.. [18:02:08] jdlrobson: have you seen this? https://bugzilla.wikimedia.org/show_bug.cgi?id=62004 [18:02:35] awjr: of course - i'm the all seeing bug eye ;-) [18:02:43] :) [18:03:14] our very own sauron [18:03:35] awjr: i think it's related to jgonera's iOS fix [18:04:06] are you able to reproduce locally? brion said he couldn't, i haven't quite gotten to testing it yet [18:04:30] i coulnd't on master [18:04:38] don't know if beta labs is running master or a branch tho [18:04:44] check Special:Version [18:04:47] it should be running master [18:04:48] should be master [18:04:51] though it may be out of sync [18:05:03] yuvipanda: i imagine our message will be somewhere along the lines of "your account has been created, but we are experiencing errors logging you in. Try again or you can log in on the left menu" [18:05:13] violetto: yeah, that sounds about right [18:05:14] awjr: I thought of that, this bug got introduced overnight so master update is likely working properly [18:05:18] violetto: I just don't know where to put that [18:05:37] violetto: since your account creation is done, so you don't want to put that on top of the account creation form. [18:05:48] and im imagining we can bring them to another screen that says "account creation successful" with a big successful icon [18:05:53] yuvipanda: yeah [18:06:16] no still unable to replicate on master [18:06:18] this is what is weird [18:06:19] yuvipanda: let me draw something up [18:06:23] violetto: sweet [18:06:36] yeah i wonder if there's something else interfering [18:06:44] although now betalabs seems totally unresponsive to me right now [18:06:46] ah there we go [18:07:07] yeah, betalabs is indeed at current head of master [18:07:22] jdlrobson: why do you suspect jgonera's ios fix? [18:07:30] jgonera: https://bugzilla.wikimedia.org/show_bug.cgi?id=62004 [18:07:32] as that was the last thing to touch the header awjr [18:07:52] chrismcmahon: is it possible to git bisect on betalabs? [18:07:54] MF seems to be at master per Special:Version https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FMobileFrontend.git/d735ff615a19949fac3311879e28cf18f87ebdaf [18:08:15] brion: think you can merge? :D [18:08:27] 01:03, 27 February 2014 [18:08:41] isn't it again a caching issue with beta labs? [18:09:44] jgonera: does seem so [18:09:50] jgonera: with debug=true it works [18:10:00] (03CR) 10Brion VIBBER: [C: 04-1] "After creating the account I got a progress indicator saying "Logging in..." but the menu still shows "Log in" as though it hasn't updated" [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115872 (owner: 10Yuvipanda) [18:10:03] chrismcmahon: ^^ [18:10:12] the css doesn't seem to be loading [18:10:28] brion: we'll probably be killing the entire 'logging in' thing once violetto draws up a UX, so I think that's ok [18:10:49] yuvipanda: ....? [18:10:52] you mean it won't log you in? [18:10:54] that sounds bad [18:11:07] plus then we can just discard this rev instead of merging it? [18:11:10] brion: no, we'll have a small screen/dialog saysing 'account creation sucscess! logging you in now...' and we can put errors there also [18:11:20] brion: this actually logs you in, just the way of notifying the user would change [18:11:29] ok well that doesn't seem to be related to it failing to update the menu does it? [18:11:50] debug=true does not solve the problem for me [18:11:53] i can't for instance create an account and then immediately log out [18:11:57] awjr: it doesn't? mm [18:12:02] brion: oh wait [18:12:04] brion: aaah, I got confused [18:12:05] in fact i may be seeing something different than what's described [18:12:07] brion: that's fixed in the next patch [18:12:21] brion: it's in the series :) [18:12:21] when i tap the pencil icon, i see a screen that just says 'Starting a new page using the URL' [18:12:23] why's that not in the same patchhhhhhhhhh :) [18:12:38] "break stuff" followed by "unbreak stuff" is always painful to review [18:12:53] jgonera: jdlrobson are you guys in stable? [18:13:00] awjr: yup [18:13:07] (03CR) 10Brion VIBBER: [C: 032 V: 032] "Ok apparently that's fixed in the next commit. Sigh." [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115872 (owner: 10Yuvipanda) [18:13:09] brion: smaller commits are better :) plus they are logically unrelated :) [18:13:16] brion: I'll make sure to mention it in the commit message next time [18:13:45] (03PS5) 10Kaldari: Story 1685: Improve red links support in Beta [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115326 [18:13:57] awjr: opacity: 0; is the reason [18:14:02] yuvipanda: something like that https://www.dropbox.com/s/npwqg1evuwbj025/Screenshot%202014-02-27%2010.13.51.png [18:14:04] jgonera: jdlrobson chrismcmahon this is what im seeing: http://imgur.com/saFyzgP,SBy1GTm [18:14:08] i'm currently debugging why that doesn't get overriden [18:14:14] awjr: yeh i'm seeing that without debug=true [18:14:23] jdlrobson: the second image in that set has debug=true [18:14:29] and its the same issue [18:14:33] awjr: gimme 10 minutes i almost have the fix [18:14:37] cool [18:14:42] violetto: that's good! But I think we can use this for showing progress too [18:15:04] that's a great idea [18:15:15] (03PS6) 10Kaldari: Story 1685: Improve red links support in Beta [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115326 [18:15:16] when user taps retry? turns into progress [18:15:19] yuvipanda: [18:15:33] awjr: it is jgonera's patch [18:15:39] maybe we should just revert for now? [18:15:41] violetto: there's a progress bar now, says 'loggging in'. we can instead have this say 'account createion scucess! logging you in now...' [18:15:48] i'm just not sure why [18:15:48] unless there's an obvious fix [18:15:53] violetto: and then if it fails we change the message and icons [18:15:53] (03CR) 10Brion VIBBER: [C: 032 V: 032] Make sure sidebar says log in only if user is logged out [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115873 (owner: 10Yuvipanda) [18:16:00] awjr can you type in there? Is it a text area? [18:16:09] jgonera: yes [18:16:15] yuvipanda: can you show me how that looks [18:16:17] but it is not a new page :p [18:16:28] violetto: let me send you a build [18:16:29] oh [18:16:29] lol [18:16:29] huh [18:16:35] but the actual text of the page is 'Starting a new page…' [18:16:38] http://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=0.9345566971473819&campaign=random [18:16:42] >_< [18:16:43] okay [18:17:04] violetto: wait, you probably can't create account on office wifi, mhurd's got it blocked again :P [18:17:08] violetto: want to hangout? [18:17:08] just fyi... (11:09:10 AM) logmsgbot: !log bd808 Started scap: testwiki to php-1.23wmf16 and rebuild l10n cache [18:17:35] Reedy: we've got an issue with MobileFrontend on betalabs - can you hold off on pushing changes for a few minutes? i think we're close to a fix [18:17:38] yuvipanda: yeah [18:17:45] violetto: ok moment [18:17:54] oh actually that's bryan davis [18:18:03] awjr: Reedy is not around, greg-g either. it's bd808 deploying today [18:18:29] chrismcmahon: aye, just realized that thanks [18:18:32] violetto: I'm calling [18:19:21] awjr: are you 100% sure it doesn't work without debug = true? http://en.m.wikipedia.beta.wmflabs.org/wiki/Forty-seven_Ronin?debug=true#editor/0 [18:19:25] violetto: says you aren't available :( [18:19:26] (03CR) 10Brion VIBBER: [C: 032 V: 032] Hide softkeyboard when exiting create account [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115874 (owner: 10Yuvipanda) [18:19:34] brion: \o/ build tiem :) [18:19:43] awjr browser cache disabled? [18:19:43] brion: can you also poke kenanwang about getting the stories signed off [18:19:44] yuvipanda: was lookginf ro headphones [18:19:46] woo [18:19:54] ok, i got bryan to hold off on deploying beyond test2 [18:19:55] awjr: it's definitely cache related [18:20:18] jdlrobson: debug=true still does not work for me [18:20:23] wtf [18:20:50] jdlrobson: http://imgur.com/Pzsvb17 [18:21:33] awjr: try localStorage.clear() [18:21:42] jdlrobson: wait im an idiot [18:21:47] i was putting the query after the hash [18:21:49] awjr: i figured ;-) [18:21:52] :p [18:21:58] putting ?debug=true before the hash works [18:22:17] brion: gonna put together a patch for the bugs u found [18:22:24] haha [18:23:27] i have no idea how cache stuff works with betalabs; whats the TTL for RL caching? [18:23:34] ok [18:24:00] awjr: maybe merging a new patch will fix it :) [18:24:00] so should we assume we're good if we touch the files after deploy? [18:24:22] (03CR) 10Jdlrobson: [C: 032] Story 1629: AbuseFilter support in lead photo uploads [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/114908 (owner: 10JGonera) [18:24:58] (03Merged) 10jenkins-bot: Story 1629: AbuseFilter support in lead photo uploads [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/114908 (owner: 10JGonera) [18:25:07] jgonera: anyway to summarize what i discovered - it seems the visible class never gets added to overlay-header-container [18:25:07] jgonera: it's your call [18:25:13] (or it gets removed) [18:25:24] jgonera: as tech lead :) [18:26:12] violetto: woo! [18:26:14] jdlrobson what do you mean by never? Even with debug=true? [18:26:20] jgonera: without debug=true [18:26:24] this is why the header is invisible [18:26:47] oh yeah, sure, new CSS, old template [18:27:07] him maybe our templates mess up RL cache [18:27:29] jgonera: i'm not sure why it would be removed [18:27:32] I say we're good and in the worst case we touch the files [18:27:33] if you inspect the template it is still there [18:27:49] jgonera: let bd808 know in #wikimedia-operations [18:27:51] it is? [18:27:56] let me see [18:28:15] :( [18:28:27] actually no [18:28:28] that's a lie [18:28:32] mw.template.get( 'modules/editor/EditorOverlayBase' ).text > no visible class jgonera [18:28:43] so yeh there's probably an issue in template RL caching [18:28:49] which wouldn't surprise me [18:28:49] well, that's what I'm saying [18:28:51] ok build announce mail to mobile-tech [18:28:54] brion: \o/ [18:28:55] tfinc: https://releases.wikimedia.org/mobile/android/apps-android-wikipedia-sprint25.apk [18:29:13] jdlrobson: jgonera do you think touching or changing the template file would work? [18:29:14] wait.. wtf [18:29:28] force an update to last modified [18:30:05] getModifiedTime for MFResourceLoaderModule.php is totally wrong! [18:30:15] yuvipanda: https://www.dropbox.com/s/xz50l8rsv5ftaj2/Screenshot%202014-02-27%2010.29.51.png [18:30:17] it seems to check i18n file to check for updates [18:30:25] yuvipanda: that's what we talked about right [18:30:41] violetto: yeah, pretty much [18:30:41] huh [18:30:58] violetto: although we can't say '40%' - we can't give any percentages so we'll just have to put an indeterminate spinner there or somesuch [18:31:17] yuvipanda: i see. ok [18:31:42] We've had this code since july erggg [18:31:58] jgonera: basically MFResourceLoaderModule.php::getModifiedTime is used for RL caching [18:32:16] ours updates only every time there is an i18n or MobileFrontend.php change [18:32:20] this is extremely hacky [18:32:27] it pays no attention to file changes or template changes [18:32:34] i'm on it [18:33:53] violetto: we might also want to emphasize that it failed in some way. [18:34:09] jdlrobson, earlier than July, in July MaxSem only fixed paths for those files [18:34:13] yuvipanda: do you have examples? [18:34:22] ergg [18:35:10] jdlrobson, ergg indeed, but at least we know what's going on ;) [18:35:16] jgonera: i'm fixing it now [18:35:31] in mean time if you can find when that was introduced that would be useful [18:35:41] it would explain a lot of our caching issues [18:35:55] violetto: of what? [18:36:04] violetto: i meant, adding an icon or somesuch? [18:36:35] yuvipanda: you said emphasize it failed in some way, did you mean a different error message? [18:36:45] oh changing check to soemthing else? [18:36:46] violetto: no, I meat not have the tick for both of them? [18:36:48] violetto: yeah [18:37:44] jdlrobson, are you getting inspiration from ResourceLoaderFileModule's version of this method? [18:37:51] jgonera: exactly [18:38:32] yeah, if anything we could show them a graphic like this https://www.dropbox.com/s/gn66mfgsevbt0is/Screenshot%202014-02-27%2010.38.12.png to show them where left nav to log in [18:38:49] i dont want to show anything negative for something small [18:38:59] violetto: hmm, ok [18:39:05] violetto: fine, this is good enough :) [18:39:09] yuvipanda: yeah showing solution instead of problem [18:39:26] violetto: I'll just animate the text out and then animate the error message in, and I think that should be enough [18:39:34] violetto: can you make a card and put it on the design board? [18:40:03] yuvipanda: yip yip [18:40:11] violetto: \o/ sweet! [18:40:25] violetto: brion would've sent out a build now, do try it for the rest of the stuff :) [18:40:37] jdlrobson, potentially b016ce10 but I'm still checking [18:41:11] yuvipanda: i weel! [18:42:08] violetto: I've no shoes on :P [18:42:33] yuvipanda: me neither! [18:42:43] violetto: wooo for having neither fancy nor unfancy shoes! :) [18:43:12] jdlrobson, yeah, it's b016ce10, it's been like that since January 2013, i.e. since we had MFResourceLoaderModule [18:43:24] yuvipanda: lol! [18:43:30] argggh how did that go unnoticed for so long [18:43:32] yuvipanda: can't wait for you to be here [18:43:45] violetto: college still is fumbling with the goddamned certificate :( [18:44:02] yuvipanda: do you need me to kick down some doors? [18:44:13] vbamba: hey! You should poke Oliver for stats about how many people have the gadget on [18:44:30] violetto: I wish. if I kick an actual door down they will probably want to talk about that to me for 2 weeks and delay the cert [18:44:43] yuvipanda: i'll kick em [18:44:58] violetto: I'll send you an address [18:45:15] yuvipanda: i'll send a broken door postcard [18:45:51] violetto: :D can you also poke vibha to try out the new build? [18:46:10] vbamba: !! ;P [18:46:18] yuvipanda: when i get to work i'll ask her [18:46:24] violetto: ok! [18:48:27] brion: have a sec to review crash fix? [18:49:07] (03PS1) 10Mhurd: Fix for iOS 6 account creation crash. [apps/ios/wikipedia] - 10https://gerrit.wikimedia.org/r/115950 [18:49:15] brion: ^ [18:53:03] jgonera: jdlrobson i am not seeing the problem on test2wiki - did you guys do anything special there, or did it just work? [18:53:33] awjr: it's probably because i18n changes happen there [18:53:41] in beta labs changes are pushed straight away [18:53:44] jdlrobson: i dont follow [18:53:57] awjr: https://bugzilla.wikimedia.org/show_bug.cgi?id=62010 [18:54:13] mhurd: lemme look [18:54:16] ahha [18:54:32] ok jdlrobson jgonera can one of you follow up to the email i sent to mobile-tech about the issue? [18:54:51] awjr: it's all in the bug report [18:54:57] https://bugzilla.wikimedia.org/show_bug.cgi?id=62010 < i just added a comment [18:55:15] jdlrobson: i don't think everyone on mobile-tech is glued to the bug report or necessarily getting updates [18:55:20] just respond quickly to the email to close the loop [18:55:24] awjr: well they should be :) [18:56:06] MaxSem: any reason you did it the hacky way (looking at https://gerrit.wikimedia.org/r/#/c/46885/9/includes/modules/MFResourceLoaderModule.php now and you say Per IRC discussion, please use ../../MobileFrontend.php here) [18:56:32] what a nice bug to have found [18:56:59] (03PS1) 10Jdlrobson: Update last modified time when a template or file changes in MFResourceLoaderModule [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115952 [18:57:09] ^ fix there awjr chrismcmalunch MaxSem jgonera [18:57:10] chrismcmalunch, thanks again [18:57:16] brion: having trouble reproducing the ios 6 search bug you were seeing... hmmm... [18:57:29] jgonera: i saw you gave bryan the go-ahead on deploy - can you keep an eye out for when changes get pushed to mediawiki.org so we can ensure things are OK there? i think he's waiting to do that til after lunch [18:57:44] (03CR) 10Brion VIBBER: Fix for iOS 6 account creation crash. (032 comments) [apps/ios/wikipedia] - 10https://gerrit.wikimedia.org/r/115950 (owner: 10Mhurd) [18:58:40] awjr, I see, ok [18:58:46] brion: updating based on your comment no keychain error [18:58:56] "on" [18:59:01] jdlrobson: not everyone on the team is in a position to be glued to bugzilla and as a team we agreed a long time ago that the mailing list is the definitive place of communication [18:59:17] jdlrobson, hmm. __FILE__ in that context is the code file which is not directly related to module content [18:59:25] thanks jgonera [18:59:35] awjr: i still think they should be but i've sent a mail linking to the bug report [18:59:52] mhurd: ok confirmed it fixes the crash \o/ [18:59:53] mhurd: you got the preview API stuff right? [18:59:55] thanks jdlrobson [18:59:58] RL timestamps are supposed to change when content changes, not some code related to them [19:00:11] YuviPanda: yes! thank you again!!! [19:00:14] MaxSem: https://gerrit.wikimedia.org/r/115952 is how it should have been implemented [19:00:23] brion: yay! [19:00:34] mhurd: :) [19:00:34] search bug still totally there tho :( [19:00:47] brion: hmmm on en wiki? [19:00:51] Originally the timestamp only needed to change when a template file or a message changed but now it inherits from ResourceLoaderFileModule it also needs to pay attention to file changes [19:01:08] aharoni: I just reused your hack from the old app :) [19:01:10] some how we were paying attention to nothing directly related to the module (relying on i18n message changes) [19:01:11] mhurd: i'm on test atm.... it seems to happen when i type too fast [19:01:16] if i type real slow i don't get the bug [19:01:17] makes sense [19:01:24] maybe something's failing to pass a cancel through [19:01:28] brion: ah. i'll try that [19:02:34] brion: can you send the new release to mobile-l as well ? [19:02:42] i'd like to see some volunteers on it [19:02:44] sure moment [19:02:55] jdlrobson, http://bots.wmflabs.org/~wm-bot/logs/%23wikimedia-mobile/20130206.txt [19:04:05] [19:06:27] MaxSem: so can we live with this screwup or could you make an adjustment that does the job? [19:04:05] [19:06:52] can't think of a sane way... down with it for now [19:04:06] lol [19:04:12] famous last words [19:04:34] "I'll cut the red wire..." [19:04:39] lol [19:05:09] "This bear is tame..." [19:05:34] "Don't worry, this gun is not loaded..." [19:05:37] brion: looks like search ops are being cancelled properly... [19:05:51] "Yeah, that water is clean" [19:06:32] (03PS2) 10Mhurd: Fix for iOS 6 account creation crash. [apps/ios/wikipedia] - 10https://gerrit.wikimedia.org/r/115950 [19:07:12] brion: ^ i uncommented that one keychain NSLog [19:08:12] tfinc: sent [19:08:35] (03CR) 10Brion VIBBER: [C: 032 V: 032] Fix for iOS 6 account creation crash. [apps/ios/wikipedia] - 10https://gerrit.wikimedia.org/r/115950 (owner: 10Mhurd) [19:08:46] brion: was the ios6 behavior you're seeing in the simulator or on device? [19:09:37] mhurd: device [19:09:46] lemme test in sim and see if it does it [19:10:34] interesting. i'm not seeing it on simulator [19:10:43] lemme try another device [19:10:50] brion: ooooh! cool! i will test on device.... [19:11:28] brion: brb [19:13:48] mhurd: yeah i see it on both my 3Gs and my iPod touch [19:13:54] running 61 [19:15:57] kaldari: can you +2 https://gerrit.wikimedia.org/r/115836 srsly minor change [19:16:12] brion: can you confirm https://gerrit.wikimedia.org/r/112921 works? [19:16:18] feel free to +2 it [19:17:05] looking [19:18:25] (03CR) 10Kaldari: [C: 032] Hygiene: README for browser tests [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115836 (owner: 10Jdlrobson) [19:19:47] (03PS12) 10Denny Vrandecic: (bug 60537) Adds a deep link to a mobile app if so configured [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/112921 [19:20:21] jdlrobson: lemme check [19:20:45] yes i just needed to test that :D [19:20:47] (03Merged) 10jenkins-bot: Hygiene: README for browser tests [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115836 (owner: 10Jdlrobson) [19:20:50] ah and it's been rebased [19:21:24] kenanwang: can you check out the build brion sent and do signoffs? [19:21:33] kenanwang: I'll be off in a bit but you can probably poke brion [19:22:12] brion: thanks [19:22:32] * yuvipanda pokes kenanwang [19:22:56] yuvipanda: brion I'm out today actually but I'll see if I can take a look [19:23:02] ok [19:28:04] (03PS13) 10Brion VIBBER: Adds a deep link to a mobile app if so configured [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/112921 (owner: 10Denny Vrandecic) [19:28:38] kenanwang: ok [19:28:47] (03CR) 10Brion VIBBER: [C: 032] "This appears to work as expected on my test wiki when I configure it, and doesn't add anything when left unconfigured. Yay!" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/112921 (owner: 10Denny Vrandecic) [19:28:59] lemme add a config patch to match it [19:29:05] brion: my 3gs is at home - gonna grab lunch and the 3gs in a bit then test [19:29:10] ok [19:29:24] good catch! [19:29:25] (03Merged) 10jenkins-bot: Adds a deep link to a mobile app if so configured [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/112921 (owner: 10Denny Vrandecic) [19:32:24] (03PS1) 10Jdlrobson: Make special pages always have a route from desktop to mobile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115955 [19:33:01] (03CR) 10jenkins-bot: [V: 04-1] Make special pages always have a route from desktop to mobile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115955 (owner: 10Jdlrobson) [19:34:13] mmmm lunch sounds good [19:34:15] i'll bbiab [19:34:36] awjr: Just started working on https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1724. Looks like this should actually be a story rather than a bug, as it's essentially adding a new (albeit simple) feature (and equivalent functionality also needs to be added to the uploading interface). Is it too late for me to replace it with a story card? [19:37:07] kaldari: yeah, for this iteration. go ahead and create a story card though, put it in the next iteration for now and we can talk about it at kickoff. mention in the bug that it's an enhancement that we'll prioritize accordingly. you may also want to flag this for kenanwang so he knows what's going on [19:37:24] awjr: in fact, I think implementing this correctly will also require us to allow customizing the terms of use link as well. [19:37:36] for some reason i thought we had done that [19:38:12] but maybe i am confusing that with something else [19:39:41] awjr: looks like you're right actually, although it's a bit hacky :P [19:40:14] sounds about right [19:40:37] kaldari: so had we updated some of those things to be customizable, but not the license? [19:40:58] YuviPanda: hey [19:41:04] hi mhurd [19:41:08] 'sup [19:41:28] awjr: The copyright statement for readers is now customizable, but not for editors/uploaders (which is significantly different) [19:42:26] ah right [19:42:28] and includes the Terms of Use [19:42:36] ok but not site license [19:42:41] right [19:42:43] yeah, we should create a story for that [19:43:15] (03PS2) 10Jdlrobson: Make special pages always have a route from desktop to mobile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115955 [19:44:10] MaxSem: what is the status of https://bugzilla.wikimedia.org/show_bug.cgi?id=40678 ? [19:44:58] jdlrobson, https://gerrit.wikimedia.org/r/115809 + filed a bug against MF at https://bugzilla.wikimedia.org/show_bug.cgi?id=61966 [19:45:21] MaxSem: i thought zero didn't have any issues now? [19:45:35] awjr: we also show a hard-coded license graphic/logo currently, so we need to make that switch as well [19:45:36] awjr: we don't show the language overaly ever [19:45:37] jdlrobson, still minor problems [19:46:05] MaxSem: i closed that bug as a dupe - it doesn't seem like a blocker [19:46:06] unless i'm misunderstanding.. [19:46:38] also that bug is near impossible to fix [19:46:48] kaldari: aye [19:46:57] jdlrobson: eh? [19:46:59] jdlrobson, yep not a blocker but is it really a dupe? [19:47:16] MaxSem: jdlrobson: unless i'm misunderstanding.. [19:47:45] jdlrobson: what do you mean 'we don't show the language overaly ever'? [19:47:55] i am looking at a language overlay right now :) [19:47:56] awjr: in zero the language overlay is disabled [19:48:00] ok [19:48:06] jdlrobson: context? [19:48:13] my bug is not necessarily related to going back and forth [19:48:25] MaxSem: can you clarify that on the bug report then? It wasn't clear to me [19:48:35] awjr: context is MaxSem: what is the status of https://bugzilla.wikimedia.org/show_bug.cgi?id=40678 ? [19:49:01] jdlrobson, the bug contains a full reproduction - what's unclear about it? [19:49:23] MaxSem: https://en.m.wikipedia.org/wiki/Golden_Venture?mobileaction=beta#/languages if i go there (ensuring i'm in beta where the new overlay is) everything looks as inspected [19:49:26] *expected [19:49:31] so i am unclear what you are on about :) [19:49:52] hmm, it didn't when I reported it:P [19:50:03] yay to deployment train! [19:50:12] it doesn't work in stable if that's what you mean - but that code doesn't matter we are throwing it away :) [19:50:27] wee [19:50:51] so can someone take a look at https://gerrit.wikimedia.org/r/115809 ? [19:50:53] so it seems like we can finish up the work there and close up that bug? [19:51:01] MaxSem: it seems unrelated? [19:51:19] as stated language overlay should never open in zero mode [19:51:22] dr0ptp4kt can confirm [19:51:59] well it opened for me and I thought it would make sense for zero to handle it:) [19:54:31] MaxSem: if you follow the link it will but Zero should be preventing that link from running [19:55:24] AndyRussG: http://www.youtube.com/watch?v=CwlZmT1CjYc < in case you didn't see :) [19:55:31] well, zero did mangle the link but this patch makes it display that message in JS [19:59:42] (03PS1) 10Yuvipanda: Don't crash when a reference is clicked [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115958 [19:59:55] brion: ^ last patch for the day, I think :) [20:00:37] jdlrobson: wow, we're all teary with laughter here! [20:00:41] Thanks! [20:00:48] AndyRussG: ehehe was lots of fun :) [20:01:06] I can see! Fantastic [20:02:23] MaxSem, jdlrobson, what's this you're speaking of? [20:02:44] dr0ptp4kt, https://gerrit.wikimedia.org/r/115809 [20:04:26] https://www.google.com/search?q=dale+dale+dale%2C+no+pierdas+el+tino#q=dale+dale+dale,+no+pierdas+el+tino&tbm=vid [20:04:37] okay, I'm off then [20:04:40] YuviPanda: brion: heading out for foods & to retrieve 3gs for testing... [20:04:51] mhurd: :) I'm heading out for zzzz :D [20:04:53] night! [20:04:59] yuvipanda: have a good sleep! [20:05:05] will do! [20:05:06] bye [20:05:06] i love patches that say 'don't crash' :D [20:05:10] brion: haha :D [20:05:19] brion: ok, I'll be around till you test/merge it then :) [20:05:24] hehe [20:05:41] brion: we will have references redone later anyway. but still :) [20:05:41] MaxSem, oh, i see. so you'll guarantee that onClick is bound on first load, and on any subsequent hashchange. does it work on your local box? i know yurik is going to ask to unindent stuff and make indentation a separate patch, so you'll want to do that. feel free to add me and yurik to the patch once you're ready for review. [20:05:57] MaxSem, are therey any particular concerns you need addressed with regard to that patch? [20:06:30] regarding langlinks, they can go to stable if that's the question. it direct links at the moment by .off()'ing the lang link button and using the href as a direct link [20:07:09] yuvipanda: nite! [20:08:08] brion: ok too sleepy :( off now [20:08:27] jdlrobson kaldari jgonera kaity nom nom [20:08:29] jdlrobson: brion: wohoo, thanks! [20:08:29] ? [20:08:39] violetto: yes [20:08:39] (for the merge) [20:08:41] :D [20:08:54] dr0ptp4kt, yes - on my system it helped display JS warnings instead of Special:Zero [20:09:13] violetto: I brought lunch but I'll eat with yall [20:09:19] as of indentation, it's not an indentation fix, it's a move of code into a function [20:09:22] https://chinese.yabla.com/chinese-english-pinyin-dictionary.php?define=%E8%B5%B0! [20:09:36] wrong link [20:09:39] for both langlinks and for Special:ZeroRatedMobileAccess?from=x&to=y links? [20:10:03] (03CR) 10Brion VIBBER: [C: 032 V: 032] Don't crash when a reference is clicked [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/115958 (owner: 10Yuvipanda) [20:10:19] MaxSem, i should say that it's tabs (correct) instead of the current spaces (incorrect, yes). yurik politely asked me to not do that in a recent patchset, and he'll probably ask you to do the same. [20:10:43] dr0ptp4kt, wanna screen share?:) [20:11:20] MaxSem, i trust you, just wanted to know ahead of time before testing. i can do some testing with it, no problem, just give me the nod when it's time to get me on the patch [20:11:22] arrgh, spaces bethemdamned [20:11:51] si [20:11:58] the patch is ready, I'll fix the tabs shortly [20:12:10] *ready for testing [20:13:03] violetto: wheres when way nom nom nom [20:14:14] (03PS2) 10MaxSem: Intercept new links in MF overlays [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/115809 [20:14:19] jdlrobson: where is this guy [20:14:30] at my desk.. [20:14:38] dr0ptp4kt, [20:14:40] ^ [20:16:01] MaxSem, yes? [20:16:16] fixed indentation:) [20:16:50] violetto I'm on my way to the office so I'll eat around 1 [20:17:40] MaxSem, okay, you want me to test? [20:18:02] yes, I'd appreciate a review [20:18:24] MaxSem, k [20:28:39] dr0ptp4kt, MaxSem - does that patch work in case like "click a link, cancel navigation, click it again, cancel again [20:28:52] do you ever "double wrap" links? [20:29:27] and MaxSem, i like your approach in general - js is fun this way [20:31:36] yurikR, i'm trying it on my local system. MaxSem, are you setting a cookie manually to get the Beta stuff turned on? i did that from a non-zero context, but it doesn't seem to stick on save. [20:32:03] so the thing barks at me that i need to be in beta when i click on the langlist....on the upside, i see that it's attaching on hashchange [20:32:36] so this fix is actually helpful even regardless of langlinks:) [20:32:51] MaxSem, well, hang on a sec, maybe it isn't...hang on [20:34:15] MaxSem, are you just adding ?mobileaction=beta to get features to show, or is there a way to make the beta setting stick easily? [20:34:51] dr0ptp4kt, I test in stable - the whole point of this cahnge is that we can use dynamic lang list now [20:35:53] k, so MobileFrontend master has it in stable? it doesn't show the A and squiggly character to me in stable. LOL, oh i see what's going on here. dangit js minification! // no good, gotta /* */ comment out the off() [20:36:19] ...so that it will actually call the right javascript instead of suppressing it. [20:37:50] MaxSem, which commit are you at on MobileFrontend? [20:38:04] dr0ptp4kt: double check that it wont barf if user moves in/out of zero network before loading langs [20:38:16] yurikR, will look at that, yeah [20:38:38] master [20:39:06] MaxSem, e524927a9c8ab261d744f997928cd7019fea838c ? [20:39:32] dr0ptp4kt: thx :) and the double escaping/wrapping [20:39:41] dr0ptp4kt, yes [20:40:03] hash would change if the user goes to a site but than cancels the confirmation [20:45:35] MaxSem, using stable (i.e., non-dynamic langlist) instead of beta, when i click on 'read in another language', then click on a langlink, then click accept on the interstitial and go to the other language, then click browser back twice, the X (vertical separator) Languages still shows at the top of the page (no languages below it, incidentally) [20:46:20] whereas with tip of master for ZeroRatedMobileAccess obviously it's hitting the server redirector because of non-JS interception, so that symptom isn't present in the tip of master for ZRMA [20:46:55] dr0ptp4kt, I'm confused - I see a dynamic one in stable [20:46:56] is there a way to attach to "click" event without specifying the target? Like "catch all clicks", and than check if its on the target, etc [20:47:18] just a thought [20:47:47] yurikR, I think there is but wouldn't it degrade performance? sounds very windows style:) [20:48:30] yurikR, yeah, i think that is $( document).on( 'click' ) or just $( document).click()...interception of all clicks does place a handler on every dom element as i recall. not sure of client side perf impact [20:49:30] MaxSem, yeah, i'm confused, too. try clearing your cache and cookies, then have core at tip of master, mf at tip of master, and zrma at your patchset [20:50:10] yurikR, MaxSem, i gotta recycle my conn. i'm not seeing my messages going through, even if you're actually getting them. [20:51:11] yurikR, MaxSem i'm back [20:51:15] dr0ptp4kt, I was receiving all your messages btw [20:51:18] MaxSem, cool [20:52:17] dr0ptp4kt, still seeing dynamic UI:) is there some zero config option? [20:55:51] MaxSem, the UI is dynamic looking alright, but what i'm seeing is that it is /not/ polling the server for the langlist, but instead it already has the info baked in. with tarmper data on, what urls do you see loaded upon clicking on 'read in another language'? i only see cancel.png?, i presume for eventlogging or something [20:56:20] aaaargh [20:56:24] (even if i don't comment out the .off() toward the top of interstitial.js) [20:56:37] MaxSem, hangout time? [20:56:53] nope, I just realised I'm an idiot [20:57:17] MaxSem, no, you smart guy. but what's up? [20:58:29] s/you/you are/ [21:04:06] MaxSem, you there? [21:04:12] yep [21:04:33] do i need to git checkout something different? [21:07:22] nope [21:07:31] stable has old code [21:08:20] (03Abandoned) 10MaxSem: Intercept new links in MF overlays [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/115809 (owner: 10MaxSem) [21:08:52] I'll just promote new lang links to stable [21:09:23] MaxSem, sounds good. no harm there [21:17:14] brion, where should the testers in africa report bugs and such for the android app? [21:17:45] dr0ptp4kt: bugzilla ideally [21:18:04] if that's too scary for testers, have them email you or us i guess and we'll bug-ize them :) [21:19:45] brion, cool. under "Wikipedia App", version Unspecified with something in the summary to indicate the apk level or something like that? [21:20:03] yeah that sounds good [21:20:10] i should add a 'beta' to the versions maybe [21:20:20] right on [21:21:02] dr0ptp4kt: ok i added 'Beta (Android)' and 'Beta (iOS)' versions [21:21:25] thx brion! [21:23:26] MaxSem, i forgot to eat again. gonna go do that. lemme know if/when you're ready for me to go back in and retest. you'll want to check on that double back button behavior i mentioned [21:23:35] if not, i'll just note it in the feedback [21:23:39] which is fine, too [21:35:16] (03PS1) 10MaxSem: [Card 703] Promote lazy languages to stable [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115978 [21:48:01] (03PS1) 10Jdlrobson: Hygiene: Merge identical $wgMFEnableMinervaBetaFeature and $wgMFDesktopMinerva [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115982 [21:52:12] awjr: i'm gonna probably end up missing standup tomorrow.. need to see doctor about my hands [21:52:24] jdlrobson: oh no! what happened to you rhands? [21:53:33] awjr: death road accident https://scontent-b.xx.fbcdn.net/hphotos-prn1/t1/1622120_10100176741382874_1385786923_n.jpg [21:54:19] oh damn :( [21:54:38] dont worry about standup, just send your notes if you wind up missing [21:57:40] (03CR) 10JGonera: [C: 04-1] "Can I haz test?" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115952 (owner: 10Jdlrobson) [22:01:29] (03CR) 10JGonera: [C: 032] Hygiene: Merge identical $wgMFEnableMinervaBetaFeature and $wgMFDesktopMinerva [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115982 (owner: 10Jdlrobson) [22:02:05] (03Merged) 10jenkins-bot: Hygiene: Merge identical $wgMFEnableMinervaBetaFeature and $wgMFDesktopMinerva [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115982 (owner: 10Jdlrobson) [22:04:57] (03CR) 10Jdlrobson: "^ MaxSem can you help me with mocking the files in the module? I'm not sure how best to cover this change with tests.... sadly the Resourc" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115952 (owner: 10Jdlrobson) [22:07:05] (03CR) 10Jdlrobson: "Ping - please see my comments above." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/103845 (owner: 10Pcc) [22:08:01] (03CR) 10MaxSem: "I'm not sure this kind of things is testable. Yes, we could theoretically create a couple of files, set TS for them and test if output is " [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115952 (owner: 10Jdlrobson) [22:13:38] (03CR) 10Jdlrobson: "If I don't hear back from you so someone else can work on this bug I will abandon this patchset for the time being and unassign the bug fr" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/104324 (owner: 10Jcf2000) [22:15:47] jgonera: https://gerrit.wikimedia.org/r/#/c/114093/ [22:18:42] awjr: any idea about this bug ? https://bugzilla.wikimedia.org/show_bug.cgi?id=61358 [22:18:55] and https://bugzilla.wikimedia.org/show_bug.cgi?id=54885 [22:22:33] jdlrobson: the first one sounds to me like it's probably a server configuration issue rather than a MW/MF issue though i cant be sure, the report is not very clear [22:22:50] awjr: can you poke the bug report so we can get it wrapped up? [22:23:58] MaxSem, i'm back. lemme know when you want me to resume testing... [22:24:01] per the second, the patch will not work for us (at quick glance) but i'd rather manage that via gerrit which is why i asked for him to publish the patch that way, though it hasn't happened yet [22:24:05] jdlrobson: sure [22:24:56] dr0ptp4kt, I went ahead and did https://gerrit.wikimedia.org/r/115978 - can you verify that it does not break Zero? [22:25:32] MaxSem, reading... [22:28:31] (03CR) 10Dr0ptp4kt: [C: 031] "Works fine with ZeroRatedMobileAccess." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115978 (owner: 10MaxSem) [22:28:35] ^MaxSem [22:28:41] thanks a bunch! [22:29:11] MaxSem, sure thing. thank you, actually. lemme know once you want more testing...i sound like a broken record! [22:30:53] jdlrobson, http://phpunit.de/manual/3.7/en/test-doubles.html#test-doubles.mocking-the-filesystem.examples.ExampleTest2.php [22:34:53] funniest thing ever https://plus.google.com/photos/+GoogleMaps/albums/5943215427176305713?sort=1 [22:35:20] huh? what is it? [22:39:36] kaldari: & Co in the left part of the office =] [22:39:50] Is K Wang around? [22:39:54] nope [22:40:08] ….Hiding somewhere? [22:52:10] MaxSem: were you able to get anywhere with the s60 bug? [22:52:56] awjr, will make another attempt tomorrow. main problem here appears to be the wait [22:53:07] wait for too little and you're screwed [22:54:06] ok, like i mentioned yesterday, if you can't get anywhere with just a little more time, let kenan know and see if this is something we should wontfix. i dont think it's worth spending much more time on [22:59:35] (03PS1) 10MaxSem: Suppress edit links from a remote repository on file pages [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115995 [23:06:17] (03PS1) 10MaxSem: Regression: remove edit section links from action=mobileview&mobileformat [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115997 [23:07:01] (03PS2) 10MaxSem: Regression: remove edit section links from action=mobileview&mobileformat [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115997 [23:26:26] (03PS2) 10Jdlrobson: Update last modified time when a template or file changes in MFResourceLoaderModule [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115952 [23:26:37] ^ kaldari awjr MaxSem i need some help doing mocks in php unit tets.. [23:26:50] $mock::staticExpects($this->any())->method( 'safeFilemtime' )->will($this->returnValue(42)); < why does that not work? [23:31:23] i dont really know anything about mocks [23:33:02] :-( [23:33:05] MaxSem or jgonera may know more [23:33:08] im reading up on it now [23:33:29] from the look of our existing code i'm not hopeful [23:35:03] mmmm [23:36:40] $mock = $this->getMock( 'MFResourceLoaderModule', array( 'getTemplateLastModifiedTime' ), $module ); [23:36:43] jgonera: reference http://sebastian-bergmann.de/archives/883-Stubbing-and-Mocking-Static-Methods.html [23:36:44] it doesn't look like we really use test doubles anywhere [23:36:59] (03CR) 10MaxSem: Update last modified time when a template or file changes in MFResourceLoaderModule (031 comment) [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/115952 (owner: 10Jdlrobson) [23:41:49] hmm im not wild about the concept of these 'test doubles' [23:46:28] MaxSem: any ideas? [23:46:59] jdlrobson: i cant find any methods in MFResourceLoaderModule or its parents called getTemplateLastModifiedTime [23:47:00] which may be why it's not working [23:54:20] (03CR) 10Jcf2000: "Hi," [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/104324 (owner: 10Jcf2000) [23:55:25] jdlrobson: i just tried running the MF test suite with $mock::staticExpects($this->any())->method( 'safeFilemtime' )->will($this->returnValue(42)); uncommented, and all tests pass for me [23:55:42] oh i see why though [23:58:41] why..?