Following the move of the Tour Application to
xwiki-platform, I think it makes sense to do the same with the Templates Application which is also bundled in XWiki Standard by default (although it is maintained as a contributed extension).
The Template Application is currently providing 4 templates: Article, Encyclopedia, Meeting and SimplePage. The big question is where to move these templates inside
- In separate modules: @tmortagne suggested that ideally these templates should be organized by domain, e.g. put the Meeting template in a module for the “meeting” domain. The issue is that we don’t have modules dedicated to these domains in platform (Article, Encyclopedia, Meeting) and I’m not sure if it’s worth creating these modules just to put there a single template.
- In the same module. I see a couple of options here:
- Move them to
xwiki-platform-administration-ui, the reason being that there we have the
TemplateProvider*pages that the Templates Application relies on
xwiki-platform-template-ui; we already have
xwiki-platform-template-apibut it’s about Velocity templates, not wiki page templates, so it can be misleading, as @tmortagne noted. One advantage could be that if we create this module then we could move the
xwiki-platform-administration-ui(which is definitely not the right place for them).
xwiki-platform-template, making it more clear from the name that this is about page templates. Of course, if we do this, we should move here all
- Create a new top level module
xwiki-platform-templateprovideror something like that.
- Move them to the flavor, e.g.
- Move them to
To me the best option is 2.2, seconded by 2.3. WDYT?