[xwiki-users] Link to page on a sub-wiki
Hi, I have an XWiki 7.0.1 instance over here where I want to link to a page on another Wiki: Main Wiki |-- Sub-Wiki "Products" |-- Space "A Product" |-- Page "The Page" I created a new page on "Main Wiki" where I entered the link as follows: [[Label>>Products:A Product.The Page]] When I save the link shows up as if the target page doesn't exist, clicking it opens the create screen. I already double checked the wiki/space/page names in the link but everything is correct. Can somebody tell me why the link doesn't lead to the existing page? Regards, Dennis
Just a quick thought, maybe it helps: You can try: [[Label>>doc:Products:A Product.The Page]] the "doc" prefix should make sure the rest is interpreted as a path to a wiki page, not something else. Oh, and to which non-existing page does the link lead, if it is not the already existing page? Maybe there is yet another whitespace missing, or the like? Clemens
Hi,
I have an XWiki 7.0.1 instance over here where I want to link to a page on another Wiki:
Main Wiki |-- Sub-Wiki "Products" |-- Space "A Product" |-- Page "The Page"
I created a new page on "Main Wiki" where I entered the link as follows:
[[Label>>Products:A Product.The Page]]
When I save the link shows up as if the target page doesn't exist, clicking it opens the create screen. I already double checked the wiki/space/page names in the link but everything is correct.
Can somebody tell me why the link doesn't lead to the existing page?
Regards, Dennis _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I first thought so, too, but this feature did not exist in XWiki 7.0.1 so it is unlikely to be the problem here Paul Libbrecht wrote:
I've been encountering frequent missing "WebHome" by inadvertently creating pages which end up being non-terminal. Maybe that helps?
paul
Clemens Klein-Robbenhaar wrote:
Maybe there is yet another whitespace missing, or the like?
Hi, thanks for the answers. I prefixed the link with "doc:" but the problem persists. The link to the "not existing page" is: http://wiki/xwiki/wiki/products/create/A+Product/The+Page?parent=Doku.Page+w... To verify the correctness of my link I copied the above to the address bar of my browser and replaced "/create/" with "/view/" and voila, the page is shown. So my link is indeed correct which makes the problem even stranger ... Any further ideas? Otherwise it seems I need to hard-link :-[ Regards, Dennis 2016-06-28 17:19 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
I first thought so, too, but this feature did not exist in XWiki 7.0.1 so it is unlikely to be the problem here
Paul Libbrecht wrote:
I've been encountering frequent missing "WebHome" by inadvertently creating pages which end up being non-terminal. Maybe that helps?
paul
Clemens Klein-Robbenhaar wrote:
Maybe there is yet another whitespace missing, or the like?
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
This looks totally strange to me. I just tried to reproduce with an old 7.0.1 installation I had lying around, and I cannot reproduce it there; the link works without problems my last try: as I tested with HSQL-DB (which is not case sensitive with database names) but you likely have a production ready DB which does: does it help to use the lowercase "products:" (i.e. the name of the DB = id of the wiki, instead of the name of the wiki)? i.e. something like: [[Label>>products:A Product.The Page]] or: [[Label>>doc:products:A Product.The Page]] D R wrote:
Hi,
thanks for the answers. I prefixed the link with "doc:" but the problem persists. The link to the "not existing page" is:
http://wiki/xwiki/wiki/products/create/A+Product/The+Page?parent=Doku.Page+w...
To verify the correctness of my link I copied the above to the address bar of my browser and replaced "/create/" with "/view/" and voila, the page is shown. So my link is indeed correct which makes the problem even stranger ...
Any further ideas? Otherwise it seems I need to hard-link :-[
Regards, Dennis
2016-06-28 17:19 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
I first thought so, too, but this feature did not exist in XWiki 7.0.1 so it is unlikely to be the problem here
Paul Libbrecht wrote:
I've been encountering frequent missing "WebHome" by inadvertently creating pages which end up being non-terminal. Maybe that helps?
paul
Clemens Klein-Robbenhaar wrote:
Maybe there is yet another whitespace missing, or the like?
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
mit freundlichen Grüßen Clemens Klein-Robbenhaar -- Clemens Klein-Robbenhaar Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.763 Fax: +49.(0)30.90 226.760 [email protected] www.espresto.de HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008
OMG, writing the wiki in lowercase solved the issue. Sometimes it's the most simple things ... and now I feel even dumber. Thanks for the help! 2016-06-29 14:45 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
This looks totally strange to me. I just tried to reproduce with an old 7.0.1 installation I had lying around, and I cannot reproduce it there; the link works without problems
my last try: as I tested with HSQL-DB (which is not case sensitive with database names) but you likely have a production ready DB which does: does it help to use the lowercase "products:" (i.e. the name of the DB = id of the wiki, instead of the name of the wiki)? i.e. something like:
[[Label>>products:A Product.The Page]]
or:
[[Label>>doc:products:A Product.The Page]]
D R wrote:
Hi,
thanks for the answers. I prefixed the link with "doc:" but the problem persists. The link to the "not existing page" is:
http://wiki/xwiki/wiki/products/create/A+Product/The+Page?parent=Doku.Page+w...
To verify the correctness of my link I copied the above to the address
bar
of my browser and replaced "/create/" with "/view/" and voila, the page is shown. So my link is indeed correct which makes the problem even stranger ...
Any further ideas? Otherwise it seems I need to hard-link :-[
Regards, Dennis
2016-06-28 17:19 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
I first thought so, too, but this feature did not exist in XWiki 7.0.1 so it is unlikely to be the problem here
Paul Libbrecht wrote:
I've been encountering frequent missing "WebHome" by inadvertently creating pages which end up being non-terminal. Maybe that helps?
paul
Clemens Klein-Robbenhaar wrote:
Maybe there is yet another whitespace missing, or the like?
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
mit freundlichen Grüßen Clemens Klein-Robbenhaar
-- Clemens Klein-Robbenhaar Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.763 Fax: +49.(0)30.90 226.760 [email protected] www.espresto.de
HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008 _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
The simple things look simple only if one knows the solution ... thanks for telling us that this fixes the issue, no need to feel dumber, happens to me all the time ;) D R wrote:
OMG, writing the wiki in lowercase solved the issue. Sometimes it's the most simple things ... and now I feel even dumber. Thanks for the help!
2016-06-29 14:45 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
This looks totally strange to me. I just tried to reproduce with an old 7.0.1 installation I had lying around, and I cannot reproduce it there; the link works without problems
my last try: as I tested with HSQL-DB (which is not case sensitive with database names) but you likely have a production ready DB which does: does it help to use the lowercase "products:" (i.e. the name of the DB = id of the wiki, instead of the name of the wiki)? i.e. something like:
[[Label>>products:A Product.The Page]]
or:
[[Label>>doc:products:A Product.The Page]]
D R wrote:
Hi,
thanks for the answers. I prefixed the link with "doc:" but the problem persists. The link to the "not existing page" is:
http://wiki/xwiki/wiki/products/create/A+Product/The+Page?parent=Doku.Page+w...
To verify the correctness of my link I copied the above to the address
bar
of my browser and replaced "/create/" with "/view/" and voila, the page is shown. So my link is indeed correct which makes the problem even stranger ...
Any further ideas? Otherwise it seems I need to hard-link :-[
Regards, Dennis
2016-06-28 17:19 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
I first thought so, too, but this feature did not exist in XWiki 7.0.1 so it is unlikely to be the problem here
Paul Libbrecht wrote:
I've been encountering frequent missing "WebHome" by inadvertently creating pages which end up being non-terminal. Maybe that helps?
paul
Clemens Klein-Robbenhaar wrote:
Maybe there is yet another whitespace missing, or the like?
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 29 Jun 2016, at 15:06, Clemens Klein-Robbenhaar <[email protected]> wrote:
The simple things look simple only if one knows the solution ...
thanks for telling us that this fixes the issue, no need to feel dumber, happens to me all the time ;)
Indeed and it also shows that we can improve error reporting. For example in this case, we could notice that the wiki is invalid and report it as such. Thanks -Vincent
D R wrote:
OMG, writing the wiki in lowercase solved the issue. Sometimes it's the most simple things ... and now I feel even dumber. Thanks for the help!
2016-06-29 14:45 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
This looks totally strange to me. I just tried to reproduce with an old 7.0.1 installation I had lying around, and I cannot reproduce it there; the link works without problems
my last try: as I tested with HSQL-DB (which is not case sensitive with database names) but you likely have a production ready DB which does: does it help to use the lowercase "products:" (i.e. the name of the DB = id of the wiki, instead of the name of the wiki)? i.e. something like:
[[Label>>products:A Product.The Page]]
or:
[[Label>>doc:products:A Product.The Page]]
D R wrote:
Hi,
thanks for the answers. I prefixed the link with "doc:" but the problem persists. The link to the "not existing page" is:
http://wiki/xwiki/wiki/products/create/A+Product/The+Page?parent=Doku.Page+w...
To verify the correctness of my link I copied the above to the address
bar
of my browser and replaced "/create/" with "/view/" and voila, the page is shown. So my link is indeed correct which makes the problem even stranger ...
Any further ideas? Otherwise it seems I need to hard-link :-[
Regards, Dennis
2016-06-28 17:19 GMT+02:00 Clemens Klein-Robbenhaar < [email protected]>:
I first thought so, too, but this feature did not exist in XWiki 7.0.1 so it is unlikely to be the problem here
Paul Libbrecht wrote:
I've been encountering frequent missing "WebHome" by inadvertently creating pages which end up being non-terminal. Maybe that helps?
paul
Clemens Klein-Robbenhaar wrote: > Maybe there is yet another whitespace missing, or the like?
participants (4)
-
Clemens Klein-Robbenhaar -
D R -
Paul Libbrecht -
Vincent Massol