Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-15 Thread Asher Feldman
On Wed, Mar 14, 2012 at 5:08 PM, Arthur Richards aricha...@wikimedia.orgwrote: To follow up on this, I actually made some additional changes to how useformat works to simplify manually switching between mobile and desktop views which had been suggested by Brion Vibber. Take a look at:

Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-15 Thread Brion Vibber
On Thu, Mar 15, 2012 at 12:05 PM, Asher Feldman afeld...@wikimedia.orgwrote: Replacing this with a desktop view that leaves users permanently accessing the desktop site via m. isn't suitable for our environment. It may make sense for smaller sites without a dedicated mobile namespace but

Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-15 Thread Asher Feldman
On Thu, Mar 15, 2012 at 12:10 PM, Brion Vibber br...@pobox.com wrote: Let's please kill the m. domain. IMO desktop and mobile users should use the same URLs; there should be sane device detection; and an easy override in both directions available at all times. This is blocked on migrating

Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-15 Thread Arthur Richards
This is blocked on migrating text from squid to varnish which is likely at least a few months off. Until then, MobileFrontend needs to continue supporting the current production reality. Asher, thanks for the response. I didn't realize the functionality was so crucial. I'll go ahead and add

Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-15 Thread Arthur Richards
On second thought - Asher, shouldn't setting the 'Vary' header to 'Cookie' be sufficient to prevent cache pollution/fragmentation? MobileFrontend already does this. If, however, that is it not the case, would it be possible to configure the squids to respond to the 'mf_useformat=desktop' cookie in

Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-15 Thread Arthur Richards
Asher and I just had a chat in #wikimedia-mobile. We agreed to have the Squids handle the new cookie in the same way they handle the old 'stopMobileRedirect' cookie (rather than add back the old 'permanently disable mobile view' functionality). I'm going to also make some minor tweaks to how

Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-15 Thread Brion Vibber
On Thu, Mar 15, 2012 at 2:29 PM, Arthur Richards aricha...@wikimedia.orgwrote: Asher and I just had a chat in #wikimedia-mobile. We agreed to have the Squids handle the new cookie in the same way they handle the old 'stopMobileRedirect' cookie (rather than add back the old 'permanently

Re: [Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-14 Thread Arthur Richards
To follow up on this, I actually made some additional changes to how useformat works to simplify manually switching between mobile and desktop views which had been suggested by Brion Vibber. Take a look at: https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113865 This removes the Permanently

[Wikitech-l] First steps at making MobileFrontend usable beyond the WMF infrastructure

2012-03-12 Thread Arthur Richards
Over the last couple of weeks, I've taken a few steps to remove some of the WMF-specific bits of the MobileFrontend code base: https://bugzilla.wikimedia.org/show_bug.cgi?id=34144 https://bugzilla.wikimedia.org/show_bug.cgi?id=34145 Also, now if you view an article with useformat=mobile in the