Vincent Massol wrote: > On Sep 9, 2009, at 5:48 PM, Sergiu Dumitriu wrote: > >> Vincent Massol wrote: >>> Hi, >>> >>> Let's vote on how to handle the title behavior for the 2.0 final >>> release so that we're all on the same page. >> Here's what Mediawiki (on Wikipedia) does: >> >> - the document title is displayed using a h1 id=firstHeading >> - the content allows using =titles=, which generate h1 >> - by a natural process, contributors rarely use =titles= in documents >> >> So I continue to think that we should allow users to enter = titles, >> and >> they should generate h1. There is no rule against a document having >> more >> than one h1. Again, the document title is in the <title> element, >> not in >> the <h1> element. > > How does that contradict any of the 4 points below?
It doesn't, it is mostly a reply to Anca and the others that don't want to have more than one H1 in the page. > >>> After talking to several people here's what I propose: >>> >>> 1) We remove the top level H1 only if the title compat flag is on and >>> the title H1 is the same as the top level H1 >>> 2) The compat flag is off by default in our distributions >>> 3) We modify the Toucan and Albatross skins to display the title >>> (same >>> as Colibri) >>> 4) We modify the Default XE XAR to have titles for all its pages (and >>> remove the header 1 in page content) >> What happens with dynamic titles? > > They'll get generated from the content since the title would be empty > for pages with dynamic titles. > > See Denis's proposal and my answer to it. > > It doesn't change any of the 4 points mentioned above AFAICS. Indeed. +1 for these changes. > Thanks > -Vincent > >>> This should cover both user upgrades and new behavior. Note that user >>> custom skin will still work in most cases since they're not normally >>> touching the contentview.vm file. > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

