According to
http://xwiki.475771.n2.nabble.com/Include-Macro-Usage-tp7597998.html and
http://jira.xwiki.org/browse/XWIKI-13148
Is there any switch to make non-existent links create sibling pages rather
then children?
We are trying to use xwiki as a wiki. Meaning we have many terms that
interlinks between each other. Atm. it hits "almost unusable" barrier :/
Using Ecaterina Moraru (Valica) example:
[[TestMain]]
[[TestMain1]]
[[TestMain2]] - new link
results in:
http://localhost:8080/xwiki/bin/view/Main/TestMain/
http://localhost:8080/xwiki/bin/view/Main/TestMain1/
http://localhost:8080/xwiki/bin/view/Main/TestMain1/TestMain2/
In this case TestMain2 cannot use [[TestMain]] nor [[TestMain1]] links
(another great inconvenient for "wiki", but let's put that one aside).
Given
there is no parent linking, we need to use absolute path for any and all
links that actually goes to other branches, which is inconvenient on its
own. But with unrestricted "create new links as children by default" it
means hell.
Even worse, creating new page from link doesn't offer any choice of
correcting parent, so atm. non-existent links are liability because they
must not be under no circumstances clicked or they create unwanted children
where no links will work.
And to extend the bad things.. we use templates. There are more of them so
we need to restrict templates just to specific departments they are meant
for. But template provider's visibility restriction seems absolute. It
doesn't extend to children of checked parent. Which is also bad, because we
cannot even create children easily as they won't see templates they need to.
But it also means [[TestMain2]] from above example cannot even be created
using template because with "always child link" it doesn't see templates
defined for [[Main]].
I tried to make [[TestMain1]] terminal page even if it's not recommended
(nor wanted really) but it didn't help. [[TestMain2]] is still offered as
[[TestMain1/TestMain2/WebHome]]. And since it's a child it won't see
templates defined for [[Main]] even when it should because we need templates
for entire branch, without the need to manually administrate every new
nested page created so its pages can use templates as well.
Any way out of it? Config param to make new links siblings and
[[.TestPage1]] for explicit child would solve the worst problems. Offering
the same dialog as for new pages so parent could be fixed manually each time
would at least help. But links are already pretty hard to use (again, for a
wiki; namely anchors and pages from other branches) to make it even harder
(with something like mandatory [[..link]] added to every link there is)
Using v.8.0
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Wanted-pages-as-siblings-tp7601368.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.