Hi,

We've had a user request (Ludovic as a user ;)) to have a config option to 
decide the header level to consider for a title.

Right now we consider only levels 1 and 2 when computing a title from the doc 
content.

Thus I'm going to add a config option named xwiki.title.headerdepth and with a 
default value of 2 (to have the same behavior as now) and use it in 
XWikiDocument.getRenderedContentTitle().

Note that this is only for the 2.0 syntax (since it's too hard to do for syntax 
1.0 and we're not supposed to bring changes to the 1.0 syntax).

Please shout quickly if you're against this.

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to