[06:10:24] how can I make mediawiki display the mobile version default for users with user agent strings that suggest a mobile device - without using Varnish or Squid as reverse proxy? [07:30:02] hi [08:22:54] [WLMMobile] yuvipanda pushed 1 new commit to master: http://git.io/HMD3lA [08:22:54] [WLMMobile/master] move monument name out of heading - jrobson [08:29:36] [WLMMobile] yuvipanda pushed 1 new commit to master: http://git.io/s5adPg [08:29:36] [WLMMobile/master] Update Cordova 2.0.0 FileTransfer patch - Brion Vibber [08:43:50] yuvipanda: hi :) Tomasz asked me to setup a jenkins jobs for WMLMobile [08:44:04] yuvipanda: it is at https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/ [08:44:15] if that works, it will publish the debug .apk at https://integration.mediawiki.org/WLMMobile/nightly/ [08:44:28] I have no idea if the job work though [08:44:34] * hashar tries [08:44:36] Project WLMMobile - Nightly builds build #1: FAILURE in 4.7 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/1/ [08:46:01] Project WLMMobile - Nightly builds build #2: STILL FAILING in 9.2 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/2/ [08:55:54] Yippie, build fixed! [08:55:55] Project WLMMobile - Nightly builds build #3: FIXED in 6.8 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/3/ [08:56:14] Project WLMMobile - Nightly builds build #4: SUCCESS in 6.8 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/4/ [08:56:16] apparently just the touch2 branch we got an issue :) [08:56:33] Project WLMMobile - Nightly builds build #5: SUCCESS in 7 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/5/ [08:56:42] Project WLMMobile - Nightly builds build #6: SUCCESS in 7.1 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/6/ [08:56:51] Project WLMMobile - Nightly builds build #7: SUCCESS in 6.7 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/7/ [08:56:52] that is me building all the branches [08:57:09] Project WLMMobile - Nightly builds build #8: SUCCESS in 7.2 sec: https://integration.mediawiki.org/ci/job/WLMMobile%20-%20Nightly%20builds/8/ [09:15:38] hashar: thanks! [09:15:48] hashar: can we build just master? [09:15:58] automatically, that is [09:16:04] if you want :-) [09:16:23] or fix your branch ? :-]]]]] [09:16:28] that would be nice! :) [09:16:57] hashar: we do have a few 'defunct' branches on the wikimedia repo [09:17:11] hmm, they should go actually [09:17:13] * yuvipanda goes to kill them [09:18:22] i'm unsure why they even got there [09:18:37] hashar: cleaned up :) [09:18:40] you don't need to make changes [12:33:23] MaxSem: HI. [12:33:34] For quite a while already the questions on the Mobile Feedback mailing list are repeating themselves. This very literally calls for an FAQ page. I somehow thought that there is one already, but I couldn't find it. [12:33:42] Are you aware of such a page? [12:48:59] mmm [12:50:07] aharoni, there's https://meta.wikimedia.org/wiki/Mobile_Projects/Mobile_Gateway [13:11:54] MaxSem: That's a page for project admins. [13:12:09] I'm talking about a FAQ for end users. [13:12:31] With questions like "How do I search in another language." [13:12:44] Hi yuvipanda . [13:13:06] I just asked MaxSem whether he's aware of a FAQ page for end users of the mobile site and the mobile app. [13:13:31] Are you aware of something like this? [13:35:12] hi aharoni [13:35:26] no, not that I'm aware of. Mobile app documentation is scarce [13:50:31] yuvipanda, MaxSem , http://etherpad.wikimedia.org/mobile-users-faq [14:24:46] Thehelpfulone: Hi. [14:25:00] Maybe you can help here: http://etherpad.wikimedia.org/mobile-users-faq [14:28:41] aharoni, hey, sure [14:29:49] what is the latest iOS version btw? [14:29:59] I have 3.2beta2 on my phone [14:38:34] so actually from a usability point of view (on the iOS app), if I've set the language of the app to be Spanish through the settings [14:38:43] and then I go to read a page in, German for example [14:38:54] then if I search for another page, would you expect for it to be german or spanish? [15:03:17] aharoni: sorry, bad interent [15:03:28] no problem. [15:03:34] i have to leave soon. [15:03:39] aharoni: can you give me the etherpad link again? [15:03:39] but i started something :) [15:03:45] I'll fill in what I can [15:03:48] http://etherpad.wikimedia.org/mobile-users-faq [15:04:03] srikanthlogic: hi. you're welcome to help writing the mobile app FAQ. [15:09:55] aharoni: added a few, i need to write docs for one answer [15:10:25] aharoni: and https://bugzilla.wikimedia.org/show_bug.cgi?id=31808 has more context about apps for wiki source, etc [15:15:43] * yuvipanda just discovered to his horror that api.js contains DOM manipulating code [16:57:43] hangout is up https://plus.google.com/hangouts/_/2314a00a8a6c29134896f63baeb84f80309159b9?authuser=1&hl=en [16:57:45] MaxSem: --^ [16:57:49] yo [16:58:09] * tfinc wonders if he can just use the same hangout link each time [16:58:14] i wonder if google recycles them [17:06:23] Google, Inc. denies all liability in the matter of user expectations about all kinds of links being permanent or not, and the extent of permanence blah legalese blah blah [17:18:38] MaxSem: we're still not ready to run puppet on the new box it seems - the necessary change i made to the manifest has not been reviewed/merged yet (https://gerrit.wikimedia.org/r/#/c/16858) [17:19:06] owch [17:19:59] awjr: I just asked notpeter to review and approve that chagne [17:20:05] thanks preilly [17:20:13] awjr: np [17:23:14] awjr: https://gerrit.wikimedia.org/r/#/c/16858/1 has been merged [17:23:47] yup thanks [17:23:48] awjr: Faidon successfully merged it into the git repository. [17:27:32] awjr: jon and i chatted about the current backlog at https://bugzilla.wikimedia.org/buglist.cgi?list_id=133890&resolution=---&resolution=LATER&resolution=DUPLICATE&query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=WikiLoves%20Monuments%20Mobile and he's going to pick up easy items today and wait for your chat with MaxSem tomorrow to move on anything else [17:27:57] my chat with MaxSem = discussion about admin zones? [17:27:59] tfinc ^ [17:28:18] awjr: do you think we could use that meeting tomorrow as a basic planning meeting or are you thinking of keeping it to just admin zones ? [17:28:24] i'm just thinking aloud here [17:29:01] tfinc i think we could turn it into something a little more general purpose, perhaps get a sanity check on stories philinje is preparing [17:32:44] awjr: that way we avoid all the side discussions that are happening to unblock various issues and to check status [17:32:52] more so the latter [17:33:02] yes [17:33:18] awjr: lets chat in the afternoon how we can balance this between the two of us so that i don't suddenly put too much on you [17:33:24] about* [17:39:23] preilly: since you couldn't speak much at the stand up. what are you working on today ? [17:39:51] tfinc: today I'm working on the varnish config and creating a vmod for it [17:40:18] tfinc: so that we can remove the inline c and isolate potential segmentation faults on the CP boxes [17:40:57] tfinc: I was also working on getting GeoData in dark launch state and getting those cordova changes upstreamed [17:41:11] philinje: did we resolve the issue with having an incorrect license on wikinews ? [17:41:20] tfinc: I'm also going to try to support MaxSem and awjr as much as possible with the puppet part of WLM [17:41:38] preilly: what are our blockers for GeoData ? [17:41:42] yes, I changed most of them manually and notified Philippe that some pages were locked [17:42:09] tfinc: the only blocker at this point is operations [17:42:27] tfinc: this should be resolved by tomorrow at the latest [17:42:39] tfinc: we had our puppet change reverted by mark b and are now working to get it re-implemented so we can get an initial puppet run done on the new box [17:43:18] tfinc: binasher and I are satisfied with the current state it's just a matter of getting the DB tables created and populated [17:43:43] MaxSem: do you have a current cron job to run on that box? [17:43:55] MaxSem: for WLM I mean (just to be clear) [17:44:19] not yet - but it's just wget + cat | mysql [17:44:40] preilly, not yet - but it's just wget + cat | mysql [17:45:20] MaxSem: okay so it's probably worth creating a dummy file in puppet and referencing that one [17:45:42] MaxSem: just so that we meet the requirements put forth by Mark Bergsma [17:46:08] preilly, as of GeoData schema, I wanted an advice regarding its work in replicated environments [17:46:14] okay [17:46:44] MaxSem: okay let's talk about replication later in the day when Asher is around [17:47:08] cool, thanks [18:00:37] jdlrobson: were upstairs waiting on you [18:00:43] R66 [18:04:35] MaxSem: https://gerrit.wikimedia.org/r/#/c/16985/1 [18:10:41] MaxSem: Patch Set 2 — https://gerrit.wikimedia.org/r/#/c/16985/1 [18:14:13] preilly, https://gerrit.wikimedia.org/r/#/c/16985/2/GeoDataHooks.php line 188 - is it really supposed to look like that? [18:14:24] i.e. "} ," [18:15:21] MaxSem: well it's a parameter to array_map for strictly probably yes don't you think? [18:16:34] we call f( 1, 2, 3 ) not f( 1 , 2 , 3 ) [18:16:43] MaxSem: hmm actually probably not [18:16:58] MaxSem: I think http://svn.wikimedia.org/svnroot/mediawiki/trunk/tools/code-utils/stylize.php just made a mistake [18:17:48] yeah I usually preview its changes because it can't be as insane as we humans are [18:17:53] MaxSem: fixed in gerrit-wm: New patchset: preilly; "keeping up with the MediaWiki spacey site style" [mediawiki/extensions/GeoData] (master) - https://gerrit.wikimedia.org/r/16985 [18:18:34] MaxSem: it's fixed in Patch Set 3 [18:18:49] merged [18:19:47] MaxSem: thanks and thanks for reviewing that commit as well [18:21:37] awjr: you saw this change right https://gerrit.wikimedia.org/r/#/c/16984/1/manifests/site.pp [18:23:41] yeah - thanks [18:35:20] MaxSem did you get that change committed for the puppet manifest? [18:35:29] working on it [18:35:38] cool thanks [18:35:38] I'm slow with command line [18:59:34] oooo, my extension has been deployed to cluster! [18:59:35] * yuvipanda does a little dance [19:01:47] Which one yuvipanda? [19:02:09] multichill: Extension:ShortUrl [19:02:29] multichill: first extension I wrote when I was writing mediawiki related code, live on a few indian wikis :) [19:02:36] *indic [19:02:42] first commit on May 25 2005 [19:03:06] Haha, nice :-) [19:03:15] multichill: very :) [19:07:29] MaxSem: I think you should look at puppet/manifests/misc/blogs.pp and bugzilla.pp for an example of how to do https://gerrit.wikimedia.org/r/#/c/16990/1/manifests/misc/wlm.pp correctly [19:13:09] MaxSem: use alias, not the docroot [19:23:35] https://integration.mediawiki.org/WLMMobile/nightly/ :D [19:23:40] yuvipanda: --^ [19:24:01] philinje: fresh builds for you whenever you need them [19:24:18] preilly, I wanted to make everything but api.php inaccessible [19:25:40] tfinc: indeed, I cleaned up our branches after hashar pointed them out to me :) [19:25:45] MaxSem: I understand that [19:26:03] so what's the difference? [19:26:32] tfinc: awesome [19:26:41] yuvipanda: what did we have to do in order to jenkins to notify us in channel of the builds? [19:26:54] tfinc: spent 2 days at a conference manning a wiki stall. 2 people specified interest in working for us - i shall pass on shortly [19:27:00] tfinc: nothing? We just need to push [19:27:21] philinje: after andy flagged that you didn't have any builds of the app i quickly contact hashar and got it in place [19:27:24] jdlrobson: see comment on latest pull req. -1 for buttons on actionbar [19:27:41] yuvipanda: so next commit for wlm will show up in channel ? [19:27:49] or rather, -1 for background-image [19:27:51] tfinc: yes [19:28:27] preilly, so what's the difference? [19:28:44] MaxSem: I'd also use this syntax: file {"/var/www/api/api.php": [19:28:45] ensure => symlink, [19:28:46] target => "/var/wlm/erfgoed/api/api.php" [19:28:46] yo yuvipanda [19:28:47] } [19:28:55] yuvipanda: ? [19:29:06] okay [19:29:16] jdlrobson: left comment on the pull req :) [19:29:37] your comment has confused me yuvipanda [19:29:43] [WLMMobile] flyingclimber pushed 1 new commit to master: http://git.io/dJtB-g [19:29:43] [WLMMobile/master] Update README - Tomasz Finc [19:29:44] you talk about image urls which i'm not doing anything with.. [19:29:46] tfinc: yes, saw that, thanks [19:30:03] yuvipanda: theres the github notificaiton. now lets see if jenkins picks it up [19:30:05] all I'm doing is absolutely positioning the about button which is borked on android 2.2 [19:30:07] jdlrobson: true, but that's an update to a rule whichinvolves them [19:30:16] which line? [19:30:22] yuvipanda: actually. isn't it a nightly not per commit [19:30:26] MaxSem: I've asked Faidon to look at it too [19:30:34] * tfinc is going to step out and pick up food at specialities [19:30:35] and the other action bar items don't have this problem, no? [19:30:37] thanks [19:30:46] tfinc: weird, last time I pushed it built. hashar was around then [19:31:26] no matter. we still have nightlies [19:31:34] MaxSem: I've also asked mark to look at it as he reverted the last change [19:32:06] jdlrobson: hmm, true that it has nothing to do with that particular commit. I just didn't like that it has specific styling for button#about instead of just relying on .page header.actionbar img { [19:32:10] styling [19:34:41] ah yuvipanda i see [19:35:44] jdlrobson: i'll take care of that, am there now anyway [19:35:46] good catch yuvipanda [19:35:54] ahh I'm doing it too yuvipanda [19:36:08] since i can test it as well [19:36:14] i guess you don't have a 2.2 [19:36:28] i've the emu :P [19:36:30] but i'll go back to photo.js [19:36:32] go ahead [19:37:59] tfinc: look at https://www.mediawiki.org/wiki/File:Signpost_Android_app_mockups.png [19:38:32] k [19:38:53] mm yuvipanda seems it's a little more complex [19:39:18] jdlrobson: ? [19:39:38] reusing css definitions and still have issues with it rendering correctly [19:39:55] * yuvipanda checks [19:40:55] button needs display block as well from the look of it [19:41:48] jdlrobson: make it an a [19:41:54] NEVER! [19:41:56] :P [19:42:01] oh come on [19:42:07] consistency! :P [19:42:09] haha [19:42:24] plus i'm yet to hear why exactly it is wrong [19:42:26] it is a link to the about page! [19:42:30] it doesn't 'do' anything [19:42:46] i'd agree with buttons on the first page content [19:42:48] and even on the 'my location' button [19:42:52] but not with action bar ones [19:43:26] jdlrobson: ^ [19:44:07] yuvipanda: actually changing to a link makes it even more confusing [19:44:11] jdlrobson: looks right to me with an [19:44:13] it's not the right height [19:44:21] yuvipanda: you fix that then i'll test on my phone [19:44:25] ok [19:44:26] as i just seem to be in a state [19:45:04] yuvipanda: awesome. who's working on it? [19:45:36] https://www.mediawiki.org/wiki/User:Notnarayan i see [19:45:41] were you invovled in this? [19:45:57] yuvipanda: it's wrong imo as it has no href - even though it doesn't need one links without href's make me uncomfortable [19:46:14] tfinc: my idea of doing the app, and we spent majority of sunday iterating on it + I wrote the backend (signpost content) [19:46:29] tfinc: am writing it in Java as and when I get the time [19:46:39] jdlrobson: data-page is href in disguise [19:46:50] yeh but that doesn't make it ok :P [19:46:52] we're essentially using our own mechanism of linking, that is all [19:47:03] we're being smarter than the w3c :P [19:47:11] it's not semantically correct [19:47:15] of course, no reason we can't use # instead of data-page [19:47:17] yuvipanda: native, phonegap, other ? [19:47:21] tfinc: native [19:47:33] cool. i'm eager to hear what you find about it [19:47:54] tfinc: indeed, that's the primary reason I want to do it native [19:48:16] tfinc: getting the backend ready was a total pain, since it was essentially html scraping. Dirty too [19:48:46] this is interesting yuvipanda > http://webdesignfan.com/yslow-tutorial-part-2-of-3-reducing-server-calls/ [19:48:53] (Avoid empty src or href) [19:48:58] tfinc: i've spent majority of last 2 weeks with the phone as my primary internet access device than my laptop, and it is driving my needs :) [19:49:28] jdlrobson: sent pull req [19:50:02] tfinc: i've also been using the wikipedia beta app a lot and it is wonderful. I *really* want to make a release soon (Ideally on an IST friday night, so i've 3 days free to monitor) [19:50:57] thanks yuvipanda [19:51:44] jdlrobson: i see nothing wrong with empty href there, since we're handling them all and handling them generically :) [19:51:56] we don't do empty src [19:52:07] (which i agree is weird) [19:52:16] we do an empty src I think [19:52:25] i might be wrong but i'm sure i've seen one in html - [19:52:43] no i just checked [19:52:46] no empty src [19:52:51] i guess it's just if we ever want in future to build the app for the web (e.g. firefox just made it possible to access a camera from the browser) [19:52:55] then we're creating work for us [19:53:40] with what, empty hrefs? [19:53:51] not really - since we're handling them all generically [19:55:01] yuvipanda: pushed [19:55:13] no github bot? :( [19:55:19] wait for it.. [19:55:21] [WLMMobile] jdlrobson pushed 3 new commits to master: http://git.io/bZNxrA [19:55:21] [WLMMobile/master] Use an for about icon instead of