On Apr 16, 2010, at 9:41 AM, Denis Gervalle wrote:
+1, with 2 remarks:
- do you allow setting locally in XWikiPreferences, so that XWiki farm are
not globally constrained ?
No. This is a backward compat thing since we don't want to manager titles this way in
the near future. We'll need to revive this thread BTW. The latest discussion I had
with Jean-Vincent and Thomas (AFAIR) was to make the title field a textarea (but only 1
line displayed by default) so that we could put scripts in it. And to make it evaluated
like the content, not just by old Rendering Interpreters.
- do you allow 0 to disable searching title in content
?
I hadn't thought about this but yes, that should work fine actually (since H0
doesn't exist) :)
Thanks
-VincentDenis
On Fri, Apr 16, 2010 at 07:47, Asiri Rathnayake
<asiri.rathnayake(a)gmail.com>wrote;wrote:
+1
On Thu, Apr 15, 2010 at 9:16 PM, Vincent Massol <vincent(a)massol.net>
wrote:
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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs