[xwiki-users] Can't use IP as pagename, why?
Hello List, I wanted to edit a list with IP's and every listed IP is backlinked to a page with the IP as name. Wikicode-example (xwiki v1.2.2.7518): Page "Main": * [192.168.1.1]: Blabla * [192.168.1.2]: Blabla * [192.168.1.3]: Blabla Now i look at "Main" and i see following: 168.1.1: Blabla 168.1.2: Blabla 168.1.3: Blabla In HTML: <li><span class="wikilink"><a href="/xwiki/bin/view/192.168.1/1">168.1.1</a></span>:Blabla</li> <li><span class="wikilink"><a href="/xwiki/bin/view/192.168.1/2">168.1.2</a></span>:Blabla</li> <li><span class="wikilink"><a href="/xwiki/bin/view/192.168.1/3">168.1.3</a></span>:Blabla</li> The URL behind the links are now: http://localhost:8080/xwiki/bin/view/192.168.1/1 http://localhost:8080/xwiki/bin/view/192.168.1/2 http://localhost:8080/xwiki/bin/view/192.168.1/3 Instead of linking pages, the wiki did add a complete webspace called "192.168.1"?? And additionally, the "192." is gone??? How do i have to understand this behaviour? Kind regards, Florian
Hi Florian, This is because dots are not currently allowed in page names since they are separators between space name and page name. -Vincent On Feb 19, 2008, at 11:13 AM, Rustedt, Florian wrote:
Hello List,
I wanted to edit a list with IP's and every listed IP is backlinked to a page with the IP as name.
Wikicode-example (xwiki v1.2.2.7518): Page "Main": * [192.168.1.1]: Blabla * [192.168.1.2]: Blabla * [192.168.1.3]: Blabla
Now i look at "Main" and i see following:
168.1.1: Blabla 168.1.2: Blabla 168.1.3: Blabla
In HTML: <li><span class="wikilink"><a href="/xwiki/bin/view/192.168.1/1">168.1.1</a></span>:Blabla</li> <li><span class="wikilink"><a href="/xwiki/bin/view/192.168.1/2">168.1.2</a></span>:Blabla</li> <li><span class="wikilink"><a href="/xwiki/bin/view/192.168.1/3">168.1.3</a></span>:Blabla</li>
The URL behind the links are now: http://localhost:8080/xwiki/bin/view/192.168.1/1 http://localhost:8080/xwiki/bin/view/192.168.1/2 http://localhost:8080/xwiki/bin/view/192.168.1/3
Instead of linking pages, the wiki did add a complete webspace called "192.168.1"?? And additionally, the "192." is gone???
How do i have to understand this behaviour?
Kind regards, Florian
participants (3)
-
Guillaume Lerouge -
Rustedt, Florian -
Vincent Massol