Hi,
Yes, "this is not a bug, it's a feature!" :) I had documented it in a small
paragraph [1] (see the note) but did not feel it was worthy to be mentioned
in the release notes. Please feel free to rephrase if needed.
It's not specifically about "Main", but about the current wiki's
homepage
(and "Main.WebHome" is the default homepage that can be changed from
administration).
The effort is to try to avoid the situation where a regular user lands on
the homepage of the wiki (just accessed the wiki or maybe he clicked the
logo) and wants to create a document. He enters the title and presses
"create". Obviously his intention was to create a page, and, more often
than not (IMO at least), his actual intention was to create a top level
document and not a child document of the wiki's current homepage.
Image the homepage gets changed to "Some.Deep.Document.As.Homepage".
Without this "trick", a regular user would end up, by mistake IMO (and by
using the "next-next-next" mindset), creating the document
"Some.Deep.Document.As.Homepage.NewDocument".
Even if the homepage remains the default one, I see no logical reason in
spamming all the new documents with the "Main" prefix, the result being an
artificially deeper hierarchy and longer URL.
If a user really intended to create a document as a child of the homepage
(rare usecase IMO), he has all the tools in the UI to simply do so.
I agree that it's a minor consistency dent, but IMO the benefit justifies
it.
WDYT? (interested in more opinions on this since I`ve already had 2
eyebrows raised on this topic :) )
Thanks,
Eduard
---------
[1]
http://platform.xwiki.org/xwiki/bin/view/Features/DocumentLifecycle#HByusin…
On Fri, Sep 11, 2015 at 4:42 PM, Guillaume Lerouge <guillaume(a)xwiki.com>
wrote:
Hi Devs,
I started trying out XE 7.2 (SNAPSHOT from around 12:30 today) and I was
very impressed, the changes look quite good!
While playing with it, I had a question about how the "Main" space is
handled. Here's what I did: from .../xwiki/bin/view/Main/, I clicked the
"create" button and created a sub page, then a sub-sub page. Here's what I
got:
- .../xwiki/bin/view/SubPage/SubSubPage
Although I was expecting this:
- .../xwiki/bin/view/Main/SubPage/SubSubPage
So I was wondering whether this was the expected behavior, and whether it
had been discussed before?
Congrats & Thanks,
Guillaume
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs