Hi devs,
I propose to add a new application called "core-functionality" that
would contain a collection of XWiki.* pages used by the core and some
components.
The use cases I can think of are:
- Some functionality of the old core that used a template from
web/standard/src/main/webapp/templates is replaced by a new component
- A new component that is supposed to be used everywhere needs to
display 1-2 custom pages (a confirmation message, warning etc.)
- There are several templates in web/standard/src/main/webapp/templates
that are currently used in a somewhat strange way, they are injected
into other pages using xpage=template parameter. This parameter
completely replaces the original page content by the content of the
template (e.g. copy, create or rename page work in this way).
These templates should also be slowly migrated to corresponding XWiki.*
pages.
I have created this application in sandbox:
https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/core-functionality
It currently contains one page used by the CSRF token component I'm
currently working on
(
https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-csrftoken).
WDYT?
Alex