[00:01:47] alright, heading out. have a good evening/morning/day... [00:02:35] gnight! [00:06:02] New patchset: Jdlrobson; "banner fixup" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/58995 [00:07:02] New patchset: Jdlrobson; "Make the universe explode by making a desktop AND mobile skin called Minerva" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/58997 [00:07:02] New patchset: Jdlrobson; "Code move: Lift and shift html rendering to MinervaTemplate" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/58996 [00:07:09] New patchset: Jdlrobson; "Promote addToBodyAttributes to desktop skin" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/58257 [00:08:38] New review: Jdlrobson; "recheck" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59512 [00:16:53] Maryana: hey sorry was in a mtg [00:17:00] deployment's all done! [00:17:08] doh [00:20:55] mhurd: leaving in 10min [00:21:04] tfinc: ah! [00:21:14] tfinc: sounds good! [00:36:03] hi, about http://www.mediawiki.org/wiki/Mobile_QA/DeviceType_Changes I will do the promotion tomorrow morning [00:36:39] now we have Asia and Europe basically sleeping, and this is where most of the non-iOS/Android devices you are looking for can be found [00:39:25] thanks qgil, that sounds great :) jcmish ^ [12:26:12] New review: Siebrand; "L10n LGTM" [mediawiki/extensions/MobileFrontend] (master) C: 1; - https://gerrit.wikimedia.org/r/59559 [14:15:01] New review: MaxSem; "max@vmubuntu:~/Projects/MediaWiki/extensions/MobileFrontend$ make phpunit" [mediawiki/extensions/MobileFrontend] (master) C: -1; - https://gerrit.wikimedia.org/r/59338 [14:18:13] New review: MaxSem; "(1 comment)" [mediawiki/extensions/MobileFrontend] (master) C: -1; - https://gerrit.wikimedia.org/r/56613 [14:24:58] Change merged: MaxSem; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59538 [15:59:38] New patchset: Jdlrobson; "Alpha: Allow searching from special page" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59636 [16:30:31] Status Waiting For Review [16:30:35] dum dee dum [16:31:01] is it good or bad?:) [16:53:08] New patchset: Jdlrobson; "Add protection for bug" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59647 [16:56:45] New patchset: Jdlrobson; "Bug 47320: Make proximity right value consistent with watchlist page star" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59648 [16:58:23] jdlrobson, so what's wrong with http://en.m.wikipedia.org/w/api.php?callback=jQuery183024442400317639112_1366214103812&format=jsonfm&action=query&colimit=max&prop=pageimages%7Ccoordinates&pithumbsize=180&pilimit=50&generator=geosearch&ggscoord=37.7739738%7C-122.44422600000001&ggsradius=10000&ggsnamespace=0&ggslimit=50&_=1366214105344 ? [17:03:59] awjr, standup? [17:04:12] oh jeez thanks [17:04:26] :) [17:04:26] totally lost track of time :p [17:13:05] * brion rearranges cards on trello [17:13:07] wheeeee! [17:14:19] MaxSem: point me to the bug again? [17:14:38] New review: Jdlrobson; "recheck" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59647 [17:14:56] https://bugzilla.wikimedia.org/show_bug.cgi?id=47133 [17:15:04] MaxSem: so grep for "title": "Sunset Tunnel", [17:15:08] no coordinates in it [17:15:27] mhurd: do you have more tweaks you're already working on? let's make sure they're on the trello board [17:15:41] i've got a couple more things you can take from the 'to do' column if you like :) [17:16:08] jdlrobson, so nearby does appear to be logging correctly - just tested on a nexus [17:16:22] Maryana: sweet move over that card! :) [17:16:27] will do! [17:16:42] gawd.. bugzilla.. is there no easy way to find bugs i recently opened? [17:17:05] jdlrobson, "my bugs" in the sidebar [17:17:15] ahh yeh [17:17:42] brion: ah, good point - still on the open-from-extenal-app issue. got keynote for testing [17:17:52] awesome [17:18:02] brion: yes please on the to-do column [17:18:19] New review: Jdlrobson; "recheck" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59647 [17:18:24] opt-out for logging and make external browser selectable as pref shouldn't be too hard [17:18:51] if you're brave, try 'detect and log upload cancellations' :) [17:19:03] something's dropping the ball and not sending through an error response iirc [17:19:07] ergg MaxSem doesn't show what i want though.. [17:19:12] what crazy ordering system is this?! :) [17:19:23] jdlrobson, so it's possible to generate a list that has no coordinates for a lot of entries eg http://en.m.wikipedia.org/w/api.php?callback=jQuery183024442400317639112_1366214103812&format=jsonfm&action=query&coprimary=secondary&colimit=max&prop=pageimages%7Ccoordinates&pithumbsize=180&pilimit=50&generator=geosearch&ggscoord=37.7739738%7C-122.44422600000001&ggsradius=10000&ggsnamespace=0&ggslimit= [17:19:27] oh forgot to mention at stand up - i met w/vibha yesterday to start picking her brain about design goodness [17:19:37] ah great [17:20:03] MaxSem: if there are no coordinates then the api is doing the wrong thing - i only want things nearby not things that are nearby or might be nearby... [17:20:11] nah [17:20:14] brion: sounds good on those to-do's [17:20:48] mwahaha… i'll start planning the category additions and keep an eye out for review updates [17:21:00] e.g. it's possible to search for points with primary coordinates, but request secondary coordinates like in my example [17:21:02] that's billion percent legitimate [17:23:02] jdlrobson, ^^. that your particular instance with Sunset Tunnel is a manifestation of a known bug with updates but still the point that it's legitimate not to return coordinates in a lot of cases [17:23:50] MaxSem: i can't see a legitimate case. I'm a developer who wants things nearby and you can imply for that I want to know where they are [17:23:57] example: coordinates removed from an article: they disappear from DB immediately but will vanish from Solr only after the next cron update [17:23:58] if you can't give me both these things i'm not interested in the result :) [17:24:15] so yeah - I can't [17:24:28] MaxSem: yes i can understand that but you should protect me against this [17:24:38] how? [17:24:41] it's completely unreasonable to expect an api consumer to deal with this [17:25:04] MaxSem: i don't know the code well enough to tell you how to deal with this - i'm just saying we need to deal with this [17:25:32] if i've asked for a coordinates property and it's not there then it shouldn't be returned [17:26:06] Maryana: can you reprioritise the code review column? i've added some bug fixes [17:26:11] it's not there and it's not returned [17:26:19] jdlrobson, roger [17:26:30] thanks Maryana :) [17:26:34] property modules don't work the way you want them to [17:26:52] if you requested a title, it must be present in pageset [17:27:01] * brion coffees [17:27:10] if a property is available, it will be returned [17:27:23] but you haz no guarantee [17:27:52] jdlrobson, btw, i did try logging out/logging back in to see the upload button. no luck :( [17:28:41] ALL prop modules work this way. they DON'T filter [17:28:59] yurik_ can confirm [17:29:28] YuviPanda: how are you feeling today? [17:29:57] mm [17:29:59] tfinc: had a bout of intense pain a while back, so went and got more meds [17:30:03] tfinc: so... worse than yesterday [17:30:15] YuviPanda|Meds: :( [17:30:16] are we sure your pain meds do anything ? [17:30:18] tfinc: tomorrow evening is the procedure, so hopefully things get better from there [17:30:25] YuviPanda|Meds: oh man :( [17:30:27] perhaps its whiskey time [17:30:38] Stuck in Chennai == No Alcohol [17:30:43] well, no alcohol worth having, at least [17:30:58] ori-l: sucks. THe last time I had to go to a dentist was almost 15 years ago :( [17:31:26] tfinc: they're kicking in slowly, and I think it's back to where it was a couple of days back. [17:32:35] MaxSem: yurik_ i'm not saying that's not how it's working i'm just saying this is another dumb thing the api does. If I wasn't a foundation member employee and just a normal frontend developer i would have given up with the api by now out of frustration. It shouldn't work that way from a frontend perspective. [17:32:52] YuviPanda|Meds: :( [17:33:05] jdlrobson: sucks. [17:33:06] YuviPanda|Meds: have they got you on morphine at least [17:33:18] or some other fun indian pharmacy approved drug? [17:33:21] jdlrobson: so far I only have had oral painkillers. [17:33:28] hopefully I'll get something else tomorrow [17:33:34] Maryana: is https://docs.google.com/a/wikimedia.org/spreadsheet/ccc?key=0Aoizbfxc5g6KdEkza0xkQnJlM0o0TXlwQXhDOUFvYnc#gid=0 up to date ? [17:33:35] jdlrobson, so create a FR for filters in API 2.0;) [17:33:48] MaxSem: i have too many battles to fight [17:34:02] i need someone else to fight this battle for me right now [17:36:57] oh man [17:37:02] Commons has some crazy people https://commons.wikimedia.org/wiki/Commons:Deletion_requests/Template:Gods_Work [17:37:07] sane ones too, yes. [17:40:02] tfinc: now it should be :) [17:47:49] jdlrobson, another example: you have another module in that query, prop=pageimages. bang! all pages without images suddenly disappear [17:53:10] thanks [18:27:49] Maryana: you got mail [18:28:30] * Maryana reads [18:28:47] i checked w/vibha yesterday; she said she'd have design assets by the story review today [18:30:07] Maryana: what did vibha say about the tutorial ? [18:30:20] she said she'd have that ready, too :) [18:31:04] woot! [18:32:47] oohh loving the wikivoyage homepage [18:33:27] with a few tweaks it could be mobile friendly.. [18:38:49] has anyone heard anything from juliusz today? [18:40:31] he's supposed to be back in SF today, but i dunno if that meant he was supposed to be back working today, or his flight was arriving sometime today [18:42:53] YuviPanda|Meds: haha i didn't know it was a work in progress! [18:42:54] mhurd: YuviPanda|Meds: how's something like this sound for add-category UI on iOS? https://brionv.com/misc/cats-ui.png [18:42:59] that was only 7 months ago [18:43:42] brion: neato :) [18:43:46] moogsi: what was? [18:44:05] Creation [18:44:22] hmm? [18:44:34] the template [18:44:44] i'm entirely super confused [18:44:46] God's Work [18:45:09] yes, that [18:45:23] aah [18:45:24] :D [18:46:01] i saw it on VP/C and i thought, this person is crazy but it's kind of interesting so i'll be nice... [18:46:04] brion: nice! [18:46:16] maybe they think everyone has forgotten [18:53:35] moogsi: God never forgets :) [18:53:57] brion: pretty neat! I like it better than the Android version [18:54:06] :D [18:54:22] well so far it's just the UI layout, i haven't coded any of the behavior up yet ;) [18:54:54] but i'm glad it sounds right to you guys :D [18:55:06] sure, but I've been super unproductive this week and that doesn't seem to be improving, so I bet when I come back in June I'll have a lot of catching up to do :) [18:56:15] brion: I think we'll have to overhaul UploadCampaigns' data storage before we'd want to use it. Thoughts? [18:56:22] not right now, of course. But still.. [18:56:29] brion: quick update: i found some complications with the "open-from-external-app" issue, such as the user being already authenticated vs not, app suspended vs not running and the myuploads position in nav stack. i think i've almost got a pretty simple solution though [18:57:28] mhurd: ooh good point, i never actually tested the 'not yet authed' case [18:57:40] there's always something else eh [18:57:56] YuviPanda|Meds: yes… probably :) [18:58:00] brion: keeps things interesting :) [18:58:07] brion: and I want to work on that :D [18:58:29] brion: I want to spend some time next week to bring you up on the Android app. [18:58:48] brion: or rather at least document it more [18:59:01] YuviPanda|Meds: yeah [18:59:15] when's your dental work? [18:59:19] brion: tomorrow [18:59:26] funnn [18:59:39] hopefully you'll be lucid by monday :D [18:59:45] hopefully, yeah [18:59:55] i'm trying to not think of it too much :) [19:00:58] i won't tell you stories about my wisdom tooth extraction then :) [19:02:54] brion: don't! I haven't gone to a dentist in 15 years, so I don't remember anything. ALso have not looked at the wiki article either [19:03:09] hehe [19:09:08] MaxSem: re https://gerrit.wikimedia.org/r/#/c/59338/2 - it's hard for me to decipher the error you got since i don't know your directory structure. was it looking for tests/phpunit/bootstrap.php in one directory too high? [19:10:02] my dir structure is classic: extensions in $IP/extensions [19:10:31] and it tried to open /home/max/Projects/tests/phpunit/bootstrap.php [19:10:43] should be /home/max/Projects/MediaWiki/tests/phpunit/bootstrap.php [19:11:27] yeah ok one dir too far [19:15:27] New patchset: awjrichards; "Ensures phpunit run from the makefile respects MW_INSTALL_PATH" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59338 [19:15:34] does that work, MaxSem? ^ [19:38:41] Change merged: MaxSem; [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59338 [19:39:05] brion: this is sooooo useful: http://stackoverflow.com/q/7954905/135557 [19:40:25] mhurd: oh that sounds like WONDERFUL for debugging [19:40:31] brion: put it in application:didFinishLaunchingWithOptions: then set a break point on the NSLog line - super cool! [19:40:40] nice [19:41:14] brion: not only see 'em but see *when* they occur and step from one to next w/continue… :) [19:42:43] brion: used to track down UINavigationControllerDidShowViewControllerNotification, which while being descriptively named was nonetheless not something i'd committed to memory [19:43:06] \o/ [19:46:21] damn it i've been trying to submit a patchset and when i 'git review' it's trying to submit 16 previous patchsets - even though i've made this local branch off of current head of master [19:46:22] wtf [19:46:31] git fetch gerrit [19:46:36] maybe you have two remotes, origin and gerrit [19:46:47] and only one is up-to-date [19:46:55] o_O [19:46:57] oh yeah that bug is back [19:47:00] \o/ [19:47:19] New patchset: awjrichards; "Renames MobileContext::getMobileHost() to getMobileHostToken()" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59710 [19:47:25] ori-l: you were right [19:47:31] wtf [19:48:40] ori-l: should i remove one of the dupe remotes? is one preferable over the other? [19:49:41] i confess that i have been intending to sort this out for my own local clones for some months now, but haven't [19:49:41] git review needs a 'gerrit' remote [19:49:48] by default master tracks origin if you git-cloned it the usual way [19:49:58] i think you should be able to drop origin and set master to track gerrit [19:50:02] and live happily ever after [19:50:04] but i haven't tried it [19:50:12] interesting - ok thanks [19:51:09] awjr: I think Roan or Chad mailed to wikitech-l about this a while back [19:51:43] must've missed it :( i think this might be symptomatic of an update i did to git-review last night [19:52:01] yup [19:55:31] bbiab [20:00:02] jdlrobson, story review! [20:00:29] grr [20:14:17] Warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /usr/local/apache/common-local/php-1.22wmf1/extensions/MobileFrontend/includes/specials/SpecialMobileFeedback.php on line 49 [20:18:06] I thought we disabled that crap [20:49:51] this sounds like a useful app: http://www.newsoficeland.com/home/technology/innovation/item/1124-new-app-prevents-icelanders-from-sleeping-with-their-relatives [20:50:21] New patchset: Jdlrobson; "Don't special case homepage in alpha" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59722 [20:50:21] New patchset: Jdlrobson; "Make homepage module run outside alpha" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59723 [20:50:23] awjr: yeah, I wonder if they track 'success'rates [20:50:36] hehe [20:51:15] MaxSem, Reedy we just made it impossible to find the feedback page, i think it's still otherwise active [20:51:46] http://en.m.wikipedia.org/wiki/Special:MobileFeedback [20:52:20] we could set $wgMFFeedbacLinks = array() which would essentially render that page useless [20:53:14] awjr, like in https://gerrit.wikimedia.org/r/#/c/59553/ ?;) [20:55:44] actually im not sure that would totally do it. [20:56:16] nukenukenukeit [20:56:35] maybe we should actually just get rid of the special page altogether [21:12:43] tfinc: mhurd Maryana commons watchlist notice on https://commons.wikimedia.org/wiki/Special:Watchlist [21:12:56] tfinc: mhurd Maryana requesting for enwiki now. [21:13:27] Maryana: I think a direct link (what is there now) is okay for watchlist notice since it's going to experienced users. We can push to heather's page when we're targetting new users. [21:18:07] MaxSem awjr care to review any more of minerva? Most of the changes are PHP and code review is going very slow on it - killing my momentum :( [21:19:45] yes but not right now jdlrobson [21:25:35] YuviPanda|Meds: i'm going to share the raw meeting notes with you and then i'll mail out a summary. the notes will likely confuse you as they were pretty ad hoc [21:25:47] tfinc: heh, okay! [21:25:53] New patchset: Jdlrobson; "Alpha: Allow users to start conversations on talk page" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59560 [21:30:22] tfinc: yup, very ad hoc ;) I'll wait for the summary. [21:38:07] **super** early iteration of mobile editing UI. http://i.imgur.com/JQsHVvu.png [21:38:22] preview/save workflow forthcoming. [21:38:25] MaxSem: is there a MW way to fetch hostname? or should i just derive that from something like the URL fetched from title? [21:38:51] $wgServer [21:38:58] ah [21:39:00] grrr [21:39:29] munaf: any news on the app icons? :) [21:39:37] awjr, php_uname( 'n' ) [21:40:12] ios is done, android got held up by higher priority stuff but i haz not forgotten YuviPanda|Meds :-) [21:40:16] 2 answers, depending on what you mean [21:40:23] :) okay munaf :) [21:40:52] MaxSem: $wgServer could be more than just hostname right? [21:41:01] this is kind of freaky: http://kgajos.eecs.harvard.edu/ag/ [21:41:03] i think php_uname('n') is good [21:41:14] so what do you want? [21:41:32] the hostname! [21:42:24] i guess the equivalent of $_SERVER['SERVER_NAME'] [21:43:52] it said i was 29 jdlrobson [21:44:01] munaf: me 30.. :( [21:44:02] it lies [21:44:04] ultimately MaxSem i want to see if a user is currently using a mobile domain [21:44:10] jdlrobson: it said i'm 31 [21:44:14] although it did say 'close to 30' :) [21:44:17] uname won't help [21:44:21] haha YuviPanda|Meds but did you say you were on meds? [21:44:27] haha :P [21:44:31] that might've affected it, yeah [21:44:38] haters gonna hate - https://twitter.com/Wudinstoun/status/324639488510918656 [21:44:39] guess we don't play enough video games [21:44:40] man i should sleep [21:44:44] munaf: +1 [21:44:46] who wants to reply "get rid of your blackberry? : [21:44:57] oh i see php_uname() is basically just like running uname [21:45:08] awjr, mobile host header gets rewritten to desktop one [21:45:15] that is a good point [21:45:24] use MobileCOntext::shouldDisplayMobileView() [21:45:26] i should run wfParseUrl() on $title->getFullUrl( [21:45:36] no MaxSem, i need to do this inside of shouldDisplaymobileView() :p [21:45:39] Maryana: btw - how would you feel about promoting dynamic sections but NOT link hijacking to beta ? [21:45:45] loooooooooooooooooooooooooooooooooooooooo [21:45:46] l [21:45:54] that's a high lol [21:45:59] lulz [21:56:53] YuviPanda|Meds: https://twitter.com/rakugojon/status/324640194114514945 [22:08:34] jdlrobson, +1:) [22:10:37] jdlrobson, is there a better technical term for "link hijacking"? [22:11:03] https://mingle.corp.wikimedia.org/projects/mobile/cards/498 [22:13:57] ok, i'm going to work w/vibha on copy for the copyvio messaging module - might be sporadically offline for a bit [22:14:24] email if you need anything - my mobile is always connected :) [22:28:43] New patchset: Dr0ptp4kt; "Stopping Wikipedia Zero X close button from overlaying elements." [mediawiki/extensions/ZeroRatedMobileAccess] (master) - https://gerrit.wikimedia.org/r/59748 [22:33:54] Change abandoned: Dr0ptp4kt; "Oops, submitted to wrong remote. Will fix that in a jiffy." [mediawiki/extensions/ZeroRatedMobileAccess] (master) - https://gerrit.wikimedia.org/r/59748 [22:36:34] MaxSem: it seems that within the phpunit tests, MobileContext::singleton()->getTitle() will return null… im having a hard time figuring out how to make it return an actual title object. do you have any ideas [22:36:35] ? [22:39:11] create a DerivativeContext, it has setTitle(0 [22:40:59] oh cool [22:41:09] actually it looks like that's already being done in MobileContextTest::setUp [22:41:11] hanks! [22:41:12] er [22:41:13] thanks! [22:43:23] oh but i can't use that since it's using FauxRequest [22:43:40] derive from it! [22:45:27] im actually surprised that you get setTitle() from FauxRequest... [22:45:35] s/get/can't [22:47:18] heyyyy. you can provide a title as a URL parameter! [22:47:24] oneoneone [22:47:27] that's a good idea [22:47:38] setVal( 'title', 'whatever' ) [22:47:47] who said that context made things easier? [22:47:53] heh [22:49:59] mmm, no response to our request for testers [22:50:26] :( [22:50:37] it might take a coupla days [22:50:39] i guess [22:51:31] if people will not test the first evening after they heard about it, they will not test at all [22:52:05] you are assuming all potntial testers have heard about it :) [22:52:59] michelle mentioned to me it would likely take a few days [22:53:07] meh [22:53:15] but i dont really know [22:53:34] I wanted to flip it on a few more wikis [22:53:53] you will have your chance [22:56:45] but i agree, the wait is … hard to tolerate. im very eager to watch our cache hit ratio finally improve [22:59:16] phpunit is weird. [23:00:33] hey, is there any way that we could create a way so images aren't uploaded twice from the mobile app? [23:01:03] o_O [23:01:18] it happened last night :( [23:01:26] does it always happen? [23:01:51] we shouldn't ignore warnings then [23:03:21] no, i only remember pressing it once [23:03:34] i mean, uploading crashes periodically, so it could be that [23:04:07] jdlrobson: ^ [23:04:26] mobile app or mobile web app? [23:05:07] mobile commons app [23:05:21] ahha [23:06:00] mhurd: where are you guys tracking bugs/issues for the apps - particularly the commons app? [23:07:09] New patchset: Dr0ptp4kt; "Stopping Wikipedia Zero X close button from overlaying elements." [mediawiki/extensions/ZeroRatedMobileAccess] (migrate-mfe-to-zrma) - https://gerrit.wikimedia.org/r/59757 [23:07:51] Maryana: do you know where app issues are currently being reported - particularly mobile commons app? [23:08:00] Ktr101: iOS or android app? [23:08:12] iOS: https://bugzilla.wikimedia.org/buglist.cgi?product=Commons%20App [23:08:15] iOS [23:08:19] i believe yuvi added a link to mobile-feedback-l@lists.wikimedia.org [23:08:28] Ktr101: can you file a bug in bugzilla? ^^ [23:08:43] additionally, mhurd might have some ideas :) [23:09:01] rawr [23:10:23] ya occasionally seeing crashes as well… will try to nail down [23:11:41] i forgot my password [23:11:45] this is sad [23:16:14] dinner, be back later [23:16:20] i'll try to file a report then [23:18:15] gah [23:18:17] i hate php globals [23:19:32] we've overwritten globals all over the place in some of the unit tests :( [23:21:49] save in setUp(), restorein tearDown() [23:23:03] mhurd: any word from the apple store? [23:23:29] Maryana: not that i've heard [23:24:12] ok. just checking :) [23:26:22] MaxSem: i thought vary resources was set on mediawiki? [23:26:28] (mediawiki.org) [23:26:30] it is [23:26:36] I WANT MoAR [23:26:48] MaxSem: mm.. for some reason the script module doesn't seem to be running there [23:26:52] works fine on test wiki [23:27:00] mw.config.get( 'wgMobileDeviceName' ) > android (on test wiki) [23:27:05] mw.config.get( 'wgMobileDeviceName' ) > '' (on mediawiki.org) [23:27:14] old cache? [23:27:38] maybe.. *shrug* [23:28:59] did you try a force refresh [23:29:14] awjr: of course [23:30:35] im seeing the same behavior as you jdlrobson, however i am also seeing the css resourves being varied by X-Device [23:30:47] maxsem@fenari:~$ mwscript eval.php mediawikiwiki [23:30:47] > var_dump($wgMFVaryResources); [23:30:47] bool(true) [23:30:50] so, $wgMFVaryResources is indeed set on mediawiki [23:32:16] mm awjr doesn't get set in output here - https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerController.mobile%7Cjquery.client%2Ccookie%2CmwExtension%7Cmediawiki.notify%2Cutil%7Cmediawiki.page.startup%7Cmobile.xdevice.detect.scripts&skin=vector&version=20130417T025000Z&* [23:32:29] (grep for mw.config.set("wgMobileDeviceName","")) [23:33:13] jdlrobson, it's a wrong URL [23:33:28] MaxSem: well that's the url that's being outputted on mediawiki.org :) [23:33:32] should be https://bits.wikimedia.org/m/www.mediawiki.org [23:33:36] grrr [23:33:40] jdlrobson: i see mw.config.set("wgMobileDeviceName","") [23:33:45] in https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerController.mobile%7Cjquery.client,cookie,mwExtension%7Cmediawiki.notify,util%7Cmediawiki.page.startup%7Cmobile.xdevice.detect.scripts&skin=vector&version=20130417T025000Z&* [23:33:57] cuz it has no X-Device [23:36:41] New patchset: awjrichards; "Make sure globals are not overwritten in MobileContextTest" [mediawiki/extensions/MobileFrontend] (master) - https://gerrit.wikimedia.org/r/59765 [23:39:14] grr [23:53:27] awjr, jdlrobson: https://gerrit.wikimedia.org/r/59767 [23:53:53] MaxSem: earlier you said 'mobile host header gets rewritten to desktop one' - does that mean $this->getTitle()->getFullUrl() on en.m.wikipedia.org/wiki/Main_Page would actually be en.wikipedia.org/wiki/Main_Page? [23:54:20] yes, that's why we have getMobileUrl() everywhere [23:54:28] shit [23:54:58] i just wasted a bunch of time then [23:55:01] gah [23:55:16] thoughts on ^^? [23:55:32] so, is there anyway to know that we're on a mobile-specific domain in production (aside from looking at headers set by varnish, since i want to keep this as generic as possible)? [23:55:37] looking MaxSem [23:56:12] well, we rely on varnish... [23:56:42] bah i dont want this to be a WMF-specific hack [23:57:42] MaxSem: why run wfAdjustLoadScript() twice? [23:57:52] not twice [23:58:00] once for HTML views [23:58:06] once for load.php [23:58:53] awjr, for non-WMF usage there's $wgMFAutodetectMobileView [23:59:20] no that doesn't help either [23:59:48] i want to make it so that if someone goes to a mobile-specific domain, then they *always* get the mobile view, no matter what [23:59:56] allowing different domains to reach Apache = you've polluted your parser cache