[xwiki-devs] [Discussion] Designing the new Rendering/Parsing component/API
Jean-Vincent Drean
jv at xwiki.com
Wed Sep 12 11:04:53 CEST 2007
> I think I prefer the option suggested by JV, i.e. have a
> configuration option at the level of the wiki to decide what syntax a
> wiki is using. Imports are required too but since WikiModel supports
> several syntaxes why not offer this feature to users. That would help
> a lot for people who come from an existing wiki and want to switch to
> xwiki.
The wiki pages importer will need to know from which syntax he is
importing, so we still have 2 choices :
1) Have the syntax set at the wiki level and exported at the XAR level
(package.xml)
2) Have a default syntax set at the wiki level and a mandatory meta in
the documents (set at the creation, not assignable from the interface)
:
- we could write a new edit panel which would appear in the case
were currentDocument is not using the default syntax, this panel would
allow to switch the document to the current syntax.
- it allows to change the default syntax (wiki level) without an
automatic wiki-wide syntax transformation.
WDYT ?
More information about the devs
mailing list