Vincent Massol wrote:
Hi,
I'm committing the following change to make it easier for users to try
the new syntax:
* There's a property in xwiki.cfg to enable different syntaxes:
# [Since 1.6RC1] Defines the list of supported syntaxes
# Available syntaxes are:
# xwiki/1.0, xwiki/2.0, confluence/1.0, jspwiki/1.0, creole/1.0,
# mediawiki/1.0, xhtml/1.0, twiki/1.0
xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0
* It defaults to XWiki Syntax 1.0 and 2.0 (because the other syntaxes
are not quite ready)
* I'm adding a new XWiki API: XWiki.getConfiguredSyntaxes()
I don't quite agree with adding new methods to the XWiki class, I'd
rather use the configuration component.
* Any user will be able to see the list of configured
syntaxes in wiki
edit mode
Please shout quickly if you don't think this is a good idea.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/