Hi,
On Wed, Sep 9, 2009 at 9:18 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> 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
This is sort of a convention:
http://en.wikibooks.org/wiki/MediaWiki_User_Guide/Sections_and_Headings
"Do not use headings of level 1, such as "=Title="; start with level 2
instead. The heading at level 1 is used for the title of the page."
just fyi.
- Asiri
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.
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?
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.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs