As some of you know I'm working on Heather's designs for MobileFrontend (see http://www.mediawiki.org/wiki/Mobile_design) - a webkit preview version of which you can view here - http://jonrobson.me.uk/wikipedia/#
I'm keen to make the finishing touches to the footer, expandable sections and full screen search and spend some time looking at older mobile browsers to make sure they look and function acceptably and get this all checked into svn - I can then plan to move on to the reference reveal and contact form which I'm sure I'll need some help on.
There are 3 things I'm not sure about how to deal with so would appreciate your thoughts...
#1: Copyright text One of the things that's causing me headaches is Heather quite rightly in her designs throws away a lot of the links from the footer and tidies up the copyright/license text (See the footer in http://www.mediawiki.org/wiki/File:Mobile_end_expand.png). As you can see this basically rearranges the text in http://en.wikipedia.org/wiki/MediaWiki:Wikimedia-copyright Can anyone see an easy way to do this? Ideally I'd want a way to access the copyright notice and the license from within the MobileFrontend to allow other non-Wikipedia sites to customise this text.
#2: Missing footer links The links 'View this page on regular Wikipedia', 'Disable images on mobile site' and 'Permanently disable mobile site' disappear from the footer. The last 2 I think can be lived without, and I would imagine these would be better places in a settings page anyhow however view this page on regular wikipedia is. I think the best place for this in the time being is to move it into the navigation menu (revealed when you click the mediawiki logo) and to shorten the text to 'desktop' site. Does anyone have objections to this?
#3: New footer links http://www.mediawiki.org/wiki/File:Mobile_end_expand.png Could someone tell me how I can generate the footer from php Do Contact, Privacy, About, Disclaimer always point to the same pages? How can I generate the correct urls and labels for these pages and check for their existance?
Thanks for your help!
Jon Robson http://jonrobson.me.uk @rakugojon
On Wed, Mar 14, 2012 at 8:59 AM, Jon Robson jrobson@wikimedia.org wrote: [...]
#1: Copyright text One of the things that's causing me headaches is Heather quite rightly in her designs throws away a lot of the links from the footer and tidies up the copyright/license text (See the footer in http://www.mediawiki.org/wiki/File:Mobile_end_expand.png). As you can see this basically rearranges the text in http://en.wikipedia.org/wiki/MediaWiki:Wikimedia-copyright Can anyone see an easy way to do this? Ideally I'd want a way to access the copyright notice and the license from within the MobileFrontend to allow other non-Wikipedia sites to customise this text.
Patrick, Max, Arthur .. thoughts ?
#2: Missing footer links The links 'View this page on regular Wikipedia', 'Disable images on mobile site' and 'Permanently disable mobile site' disappear from the footer. The last 2 I think can be lived without, and I would imagine these would be better places in a settings page anyhow however view this page on regular wikipedia is. I think the best place for this in the time being is to move it into the navigation menu (revealed when you click the mediawiki logo) and to shorten the text to 'desktop' site. Does anyone have objections to this?
+1 on the rename. We've been wanting to do change it to desktop for a while. In the future I can see us having
'Desktop | Tablet | Mobile' across all sites.
Now for the other functionality. Thats tough as while I agree that it should not be there anymore ... but we don't have enough of the nav design nor do we want to do it just yet. Thus we have three options
1) Just delete it and add it back later
2) Delete it and hold on pushing the change till the temp nav is in place
3) Put it somewhere else
#3: New footer links http://www.mediawiki.org/wiki/File:Mobile_end_expand.png Could someone tell me how I can generate the footer from php Do Contact, Privacy, About, Disclaimer always point to the same pages? How can I generate the correct urls and labels for these pages and check for their existence?
Patrick, Max, Arthur .. thoughts ?
--tomasz
On Wed, Mar 14, 2012 at 1:02 PM, Tomasz Finc tfinc@wikimedia.org wrote:
On Wed, Mar 14, 2012 at 8:59 AM, Jon Robson jrobson@wikimedia.org wrote: [...]
#1: Copyright text One of the things that's causing me headaches is Heather quite rightly in her designs throws away a lot of the links from the footer and tidies up the copyright/license text (See the footer in http://www.mediawiki.org/wiki/File:Mobile_end_expand.png). As you can see this basically rearranges the text in http://en.wikipedia.org/wiki/MediaWiki:Wikimedia-copyright Can anyone see an easy way to do this? Ideally I'd want a way to access the copyright notice and the license from within the MobileFrontend to allow other non-Wikipedia sites to customise this text.
Patrick, Max, Arthur .. thoughts ?
Well, currently we use the SkinTemplateOutputPageBeforeExec hook and the addMobileFooter method to customize the footer. We get this copyright with: $skin = RequestContext::getMain()->getSkin(); $copyright = $skin->getCopyright();
#2: Missing footer links The links 'View this page on regular Wikipedia', 'Disable images on mobile site' and 'Permanently disable mobile site' disappear from the footer. The last 2 I think can be lived without, and I would imagine these would be better places in a settings page anyhow however view this page on regular wikipedia is. I think the best place for this in the time being is to move it into the navigation menu (revealed when you click the mediawiki logo) and to shorten the text to 'desktop' site. Does anyone have objections to this?
+1 on the rename. We've been wanting to do change it to desktop for a while. In the future I can see us having
'Desktop | Tablet | Mobile' across all sites.
Now for the other functionality. Thats tough as while I agree that it should not be there anymore ... but we don't have enough of the nav design nor do we want to do it just yet. Thus we have three options
Just delete it and add it back later
Delete it and hold on pushing the change till the temp nav is in place
Put it somewhere else
#3: New footer links http://www.mediawiki.org/wiki/File:Mobile_end_expand.png Could someone tell me how I can generate the footer from php Do Contact, Privacy, About, Disclaimer always point to the same pages? How can I generate the correct urls and labels for these pages and check for their existence?
Patrick, Max, Arthur .. thoughts ?
--tomasz
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
And some more thoughts -
#2: Missing footer links The links 'View this page on regular Wikipedia', 'Disable images on mobile site' and 'Permanently disable mobile site' disappear from the footer. The last 2 I think can be lived without, and I would imagine these would be better places in a settings page anyhow however view this page on regular wikipedia is. I think the best place for this in the time being is to move it into the navigation menu (revealed when you click the mediawiki logo) and to shorten the text to 'desktop' site. Does anyone have objections to this?
+1 on the rename. We've been wanting to do change it to desktop for a while. In the future I can see us having
'Desktop | Tablet | Mobile' across all sites.
Now for the other functionality. Thats tough as while I agree that it should not be there anymore ... but we don't have enough of the nav design nor do we want to do it just yet. Thus we have three options
Per discussion in IRC yesterday, I'm currently working on changing how switching between desktop/mobile view is handled when the switch is manually requested, in order to keep things simple and intuitive.
When on the desktop view, you will continue to see the 'Mobile view' link at the bottom of a page. Clicking on it will send you to the URL you're currently viewing with 'useformat=mobile' in the query string. MobileFrontend will then set a cookie that will keep you on the mobile site until you elect to no longer be on the mobile site by clicking 'Desktop view' (instead of 'View this page on regular {{sitname}}).
Clicking 'Desktop view' will send you to the URL you're currently viewing with 'useformat=desktop' in the query string. MobileFrontend with then set a cookie that will keep you on the desktop site until you elect to no longer be on the desktop site by clicking 'Mobile view'.
As for 'disable images' - I'm ambivalent about this. I imagine this is useful functionality - do we have any metrics about it?
And as for link placement - I actually think it's best to keep the links in question in the footer. It's not entirely intuitive (at least to me) that clicking the logo will reveal a menu. The footer is where we have the desktop -> mobile link and I think it is valuable to keep that consistent with the mobile view -> desktop view link. If someone wants to switch from mobile -> desktop, they probably want to do it quickly and painlessly, so providing them the easiest, obvious-est way to do so seems the best solution.
r 14, 2012 at 2:01 PM, Arthur Richards arichards@wikimedia.org wrote: [..]
As for 'disable images' - I'm ambivalent about this. I imagine this is useful functionality - do we have any metrics about it?
We commonly get asked about this in areas that have poor connectivity and expensive data plans.
We need to keep the functionality as not all browsers support this natively.
We don't have to keep it where it currently is though.
--tomasz