Yes the title is optional. Thanks for pointing this out I have updated the docs!
On Mon, Jan 14, 2013 at 12:21 PM, roger@rogerchrisman.com wrote:
James, are you an admin? Maybe you could do the photo swap? I'm not an admin so can't.
Roger
On Mon, Jan 14, 2013 at 11:29 AM, James Heilman jmh649@gmail.com wrote:
We should probably keep the main page and the subpages that make it up uneditable for a bit after the launch. Thanks for fixing this.
James
On Mon, Jan 14, 2013 at 11:26 AM, roger@rogerchrisman.com wrote:
I did some tests on test.wikipedia.org Main Page, where I have admin flag and can edit Main Page, and found the title="....." attribute is optional. What it does is add a title to the section.
We don't want those extra section titles on Wikivoyage Main Page because we currently use Main Page section titles that link to stuff.
Mobile looks good now: http://en.m.wikivoyage.org/wiki/Main_Page
(drag your browser window to a phone sized width to see)
However, the Discover section has a problem. The Baden Baden photo (from last month) should be replaced with a Western Australia photo (our newest "Discover" item). Could an admin take care of this please. The [[Template:Discover]] is not editable by normal users at this time. Say, why don't we fix that? Hint hint...
The problem is the Baden Baden photo ends up, in the narrow window of a phone, above the Western Australia item which makes it look like a photo of Western Australia. Not good. But replacing it with a Western Australia photo would be logical and would fix this.
Roger
On Sun, Jan 13, 2013 at 6:03 PM, roger@rogerchrisman.com wrote:
Is a title="Section name" attribute required for the id="mf-..." div, eg: <div id="mf-..." title="Section...">. Can someone confirm, or try, that?
See: http://meta.wikimedia.org/wiki/Mobile_projects/Mobile_Gateway#Global_Prefix
Roger
On Sun, Jan 13, 2013 at 5:34 PM, Jon Robson jrobson@wikimedia.org wrote:
Thanks TheHelpfulOne!
Another tip: Adding the class nomobile to elements will remove those from the mobile view. This might be useful for elements you don't want to show on the mobile view.
I'd also suggest making the width of "Welcome to Wikivoyage" 100% with on mobile by replacing the style with a class (mobile does not load MediaWiki:Common.css)
On Sun, Jan 13, 2013 at 5:28 PM, Thehelpfulone thehelpfulonewiki@gmail.com wrote:
Thanks Jon - I noticed that Kaldari's edit in early December seemed to be the culprit for the missing sections. I've restored those headers and tried out the mf-content and mf-content2 stuff as you suggested, it's looking better but not quite there yet. If anyone else wants to have a poke at it to see if they can fix it, please go ahead and do so.
On 14 January 2013 01:22, Jon Robson jrobson@wikimedia.org wrote: > > Luckily this is nice and easy to fix. > There is a long running bug - > https://bugzilla.wikimedia.org/show_bug.cgi?id=30405 - which exists > due to many mediawiki homepages making use of 2 column layouts which > are not adaptable. As a result of this bug only html elements with > and > id prefixed with mp- will be shown. > > Anything without this that node will be scrubbed. > There seems to be a div wrapping the table containing Destination of > the month and Off the beaten path this will need an id with prefix > 'mf-' > > Try renaming instances of mp-content with mf-content > Also bear in mind an id should be unique and there are 2 mf-content > elements - make the 2nd one mf-content2 > > FWIW I hate the Main Page special casing and want to kill it with > fire. A great way to help with this is to remove dependencies on the > style attribute in your wikitext markup and use classes defined in > MediaWiki:Common.css > > For instance instead of > <div id="mf-welcome" style="width:40%; text-align:center;"> > > Please use > <div id="mf-welcome" class="portal-column-left"> > > where > > .portal-column-left { > width: 40%; > text-align:center; > } > > If you can remove all instances of style=".*" you will have a much > friendly mobile site. > > Grab me on irc.freenode.org #wikimediamobile Monday if you need any > help and want to talk more about the Wikivoyage mobile experience in > general ... I think there are some great opportunities to help drive > the development of all mediawiki mobile sites and I'm very excited! > > Jon > > On Sun, Jan 13, 2013 at 4:57 PM, James Heilman jmh649@gmail.com > wrote: > > So what do we need to do about this? We need to have it working for > > the > > launch. > > > > James > > > > On Sat, Jan 12, 2013 at 12:24 PM, Powers > > LtPowers_Wiki@rochester.rr.com > > wrote: > >> > >> Our mobile site was working fine a few weeks ago. I suspect one > >> of the > >> recent Main Page changes disrupted the display of the mobile site. > >> > >> > >> > >> > >> > >> Powers &8^] > >> > >> > >> > >> > >> > >> > >> > >> -----Original Message----- > >> From: James Heilman [mailto:jmh649@gmail.com] > >> Sent: Saturday 12 January 2013 15:05 > >> To: Wikivoyage Mailing List > >> Subject: Re: [Wikivoyage-l] Mobile site > >> > >> > >> > >> The mobile site is here http://en.m.wikivoyage.org/wiki/Main_Page > >> > >> > >> > >> Take a look at it > >> > >> > >> > >> James > >> > >> On Sat, Jan 12, 2013 at 11:27 AM, Peter Coombe > >> thewub.wiki@googlemail.com wrote: > >> > >> On 12 January 2013 17:58, carlb carlb613@hotmail.com wrote: > >> > On 12/01/13 12:51, James Heilman wrote: > >> > > >> > Hey All > >> > > >> > Currently our mobile site show no content when we go to it. Who > >> > is > >> > leading > >> > the mobile effort? > >> > > >> > I would propose that the mobile site should show the article at > >> > the > >> > persons > >> > IP address. Thoughts. > >> > > >> > > >> > The mobile site should show the main page in a small-screen > >> > compatible > >> > format. > >> > > >> > Trying to guess the user's location from an IP wouldn't be > >> > possible > >> > without > >> > installing additional executable code on the servers. > >> > > >> > >> > _______________________________________________ > >> > Wikivoyage-l mailing list > >> > Wikivoyage-l@lists.wikimedia.org > >> > https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l > >> > > >> > >> The instructions for setting up a mobile main page are here: > >> > >> > >> > >> https://meta.wikimedia.org/wiki/Mobile_Projects/Mobile_Gateway/Mobile_homepa... > >> > >> On desktop Wikimedia sites, it is possible to determine the user's > >> country - and to some extent city, latitude and longitude, but > >> these > >> are often inaccurate. They are stored in the javascript variables > >> "Geo.country", "Geo.city", "Geo.lat" and "Geo.lon" respectively. > >> Unfortunately this hasn't been implemented on the mobile sites yet > >> (https://bugzilla.wikimedia.org/show_bug.cgi?id=19920) > >> > >> Pete / the wub > >> > >> _______________________________________________ > >> Wikivoyage-l mailing list > >> Wikivoyage-l@lists.wikimedia.org > >> https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l > >> > >> > >> > >> > >> > >> -- > >> James Heilman > >> MD, CCFP-EM, Wikipedian > >> > >> > >> > >> The Wikipedia Open Textbook of Medicine > >> > >> www.opentextbookofmedicine.com > >> > >> > >> _______________________________________________ > >> Wikivoyage-l mailing list > >> Wikivoyage-l@lists.wikimedia.org > >> https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l > >> > > > > > > > > -- > > James Heilman > > MD, CCFP-EM, Wikipedian > > > > The Wikipedia Open Textbook of Medicine > > www.opentextbookofmedicine.com > > > > > > _______________________________________________ > > Wikivoyage-l mailing list > > Wikivoyage-l@lists.wikimedia.org > > https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l > > > > _______________________________________________ > Wikivoyage-l mailing list > Wikivoyage-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l
-- Thehelpfulone http://meta.wikimedia.org/wiki/User:Thehelpfulone
Wikivoyage-l mailing list Wikivoyage-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l
Wikivoyage-l mailing list Wikivoyage-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l
Wikivoyage-l mailing list Wikivoyage-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l
-- James Heilman MD, CCFP-EM, Wikipedian
The Wikipedia Open Textbook of Medicine www.opentextbookofmedicine.com
Wikivoyage-l mailing list Wikivoyage-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l
Wikivoyage-l mailing list Wikivoyage-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikivoyage-l