Hi devs,
I had created JIRA issue
http://jira.xwiki.org/browse/XWIKI-12304 entitled "Make
wanted wiki links create Nested Documents” but I’ve brainstormed with Edy and we don’t
agree about it anymore :)
We’d like to propose that when the user edits a document using the wiki editor then he’s
using the Nested Spaces paradigm (and thus uses “WebHome” to create links to Space homes)
and when he edits using the WYSIWYG editor he uses the Nested Document paradigm (no Space
concept, only create WebHome documents unless he’s an advanced user).
The rationale for this is that a lot of macros accept a reference parameter and I don’t
think we should change them to support hiding “WebHome” and do an automatic redirect. That
would be too complex. In addition, if you use a script macro, then you’ll also see WebHome
mentions.
Note that when editing a macro in WYSIWYG editor we’ll need to have a macro parameter
displayer for Reference-type parameters to display a tree, so that the non-technical
doesn’t have to enter “WebHome”.
WDYT?
Thanks
-Vincent