Hi,
I'd like to make sure I'm understanding things correctly before commenting
further. Please see below.
On Wed, Jul 29, 2015 at 5:09 PM, vincent(a)massol.net <vincent(a)massol.net>
wrote:
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).
Let's take an example. Say I'm on page .../A/B/C/ (so that's
"A.B.C.WebHome") and I want to create "D". What would happen with
your
proposal is this:
- In WYSIWYG mode, I'll create a link to a new page called "D" and it
will automatically create a link to "A.B.C.D.WebHome"
- In Wiki mode, several possibilities:
- I create a link to [[D]] => it becomes a link to [[A.B.C.D]] (new
terminal document)
- I create a link to [[A.B.C.D]] (new terminal document)
- I create a link to [[A.B.C.D.WebHome]] (new nested space)
Is my understanding correct?
Thanks,
Guillaume
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
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs