On 12/20/2011 05:44 AM, Hamster wrote:
vmassol wrote
Indeed this is a current limitation. When a wikiword is recognized the
link that is automatically created points to the current space. There's no
searching in the whole wiki for links that would exist with the same name.
Hi Vincent,
That's a serious limitation. I can see my users creating the 'same' Wiki
page in different spaces, each page holding different information. That will
be a nightmare to administer!
There's no flag in XWiki which forces "Uniquely Named Wiki Pages", so that
a
WikiPage must have a unique name throughout the entire XWiki (regardless in
which space the wiki-page has been created)?
Using the XWiki Syntax to point to the correct Wiki Page undermines the
power of WikiWords. The user must know in which space the wiki-page has been
created. The power of WikiWords is that the user should NOT know where the
page is located, the WikiWords does all the redirecting for the user.
I will open a jira issue, I bet there are more users which want to use
WikiWords like this.
Well, spaces are created exactly so that multiple documents with the
same name can exist with different purposes in different spaces. They
totally separate documents into distinct "places". If a document wishes
to reference a document from another space, then it must explicitly
mention the other space. At least this is the way spaces behave in the
original philosophy of XWiki.
What you're trying to achieve looks more like a flat list of documents
with tags separating them into different categories. One alternative
that would work right away is to use only one space for holding
documents, and use tags to separate them into pseudo-spaces. This means
that you'll lose many other advantages of real spaces, like distinct
access rights for each space, per-space statistics, a clear separation
of documents... And you'll probably have to work a bit to get an
equivalent space dashboard that works based on tags, not on the
containing space of documents.
Anyway, a setting that would allow to enforce unique cross-space names
would be a useful feature, so feel free to make a feature request for that.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/