Hi,
I'd like to add:
public interface ModelConfiguration
{
…
Syntax getDefaultSyntax();
}
And the configuration key would be:
model.defaultSyntax=xwiki/2.1
This also means deprecating CoreConfiguration.getDefaultDocumentSyntax() in oldcore
The goal is to have a clean way for getting the default syntax for documents for example
without having to use oldcore.
I need this to fix
http://jira.xwiki.org/browse/XWIKI-9074 for example.
WDYT?
Thanks
-Vincent