On Wed, Sep 9, 2009 at 09:06, Vincent
Massol<vincent(a)massol.net>
wrote:
On Sep 8, 2009, at 7:31 PM, Thomas Mortagne wrote:
> On Tue, Sep 8, 2009 at 15:06, Thomas Mortagne<thomas.mortagne(a)xwiki.com
>> wrote:
>> On Tue, Sep 8, 2009 at 14:48, Vincent Massol<vincent(a)massol.net>
>> wrote:
>>> Hi everyone,
>>>
>>> With Colibri we've started to display the doc title as the
>>> document's
>>> rendered title. This is a big change that not only affects
>>> Colibri
>>> but
>>> in general the way people write documents.
>>>
>>> Here's what I suggest:
>>>
>>> 1) Display doc titles with <div>
>>> 2) Display document content headers using <h1>-<h6>
>>> 3) Display doc titles with a larger font size than h1 (or h1
>>> with a
>>> smaller font size)
>>
>> +1 for all (i'm not sure for div since i'm not an html expert but
>> the
>> important point is that the page title and first level headers
>> should
>> have different style for sure)
>>
>>> 4) Force cursor to be in the title field when editing a new
>>> document.
>>> Force cursor in the content field when editing an existing
>>> document.
>>> This is to make it easy using the keyboard only to enter doc
>>> titles
>>> (since it's currently dead easy, we need something close in
>>> easiness)
>>> 5) Modify all our existing skins: Toucan, Albatross, Finch and
>>> Dodo so
>>> that they use they display the doc title, similarly to Colibri
>>
>> +1, as you says it's a totally new way of seeing document content
>> so
>> it should be applied to all skins.
>>
>>> 6) Have a title compatibility flag in xwiki.cfg. When active,
>>> use a
>>> Javascript to do this: if there's no title specified for a page
>>> and if
>>> the first content is a H1 then use it as the page's title.
>
> Also this should be off by default since it's backward
> compatibility
> and a wrong behavior in a normal new wiki.
There's one remaining problem Thomas with this: the default XAR
will
not display properly. We would need to have 2 XARs for this to
work:
one for backward compat and a new one, using titles. And this is a
pain to do IMO.
We don't want a new user to start XE and find that all titles are
duplicated by default with a clean wiki he hasn't touched.
WDYT?
We are not supposed to do backward compatibility on what we are
releasing... if XE is wrong for 2.0 it should be fixed.
I don't agree. This would mean someone using 2.0 with Toucan couldn't
upgrade their XAR with the new stuff.