Hi devs,
Sergiu implemented
http://jira.xwiki.org/browse/XWIKI-8988 a while ago and I didn’t agree
with it (see my comment there).
I have 2 arguments:
1) Lots of code snippets on e.x.o are still in syntax 1.0 and if you need to test them you
still need to be able to create pages in 1.0 syntax
2) We shouldn’t hardcode anything and right now we have hardcoded the knowledge of the
xwiki/1.0 syntax in DocumentInformation.xml:
#foreach ($syntax in $availableParserSyntaxes)
#if ($configuredSyntaxes.contains($syntax.toIdString()) &&
!$syntax.toIdString().equalsIgnoreCase('xwiki/1.0'))
The important part for me is that the xwiki/1.0 syntax is NOT enabled by default in
xwiki.cfg and thus users won’t use it by mistake. Only those who really need to use it
would be able to use it.
I’d like to reinstate the ability to use xwiki/1.0 syntax in XWiki 5.x by removing the
hardcoded check.
WDYT?
Thanks
-Vincent