Hello. We’ve just installed xwiki and we’re hoping it becomes a valuable tool for storing our knowledge.

 

1. Pasting preformatted text

 

I have documents which are basically logs of software releases, complete with commands, hash (“#”) marks, dot-separated version numbers, etc. All these things are getting parsed by xwiki, even when I place {pre} or {code} tags at either end of it. These documents can’t really be adapted to not use xwiki syntax, and I’d really like to store them as pages in xwiki. If I can’t store them as pages, I’ll store them as attachments.

 

I see a FAQ item that seems like it might address my question, but it paradoxically seems to display a failure to render because of syntax:

 

http://www.xwiki.org/xwiki/bin/view/FAQ/HowDoIEmbedXwikiCodeAsText

 

What is the Answer to that FAQ?

 

2. Periods in space names

 

I do release engineering. I deal with version numbers. Version numbers contain periods, usually. Periods in space names causes problems. Is there a way to have a space look like N.N.N.N, by escaping the dots or using some other notation? I know the title can contain periods. Right now I’m using N-N-N-N for names and N.N.N.N for titles.

 

3. I have a malformed space, which I can’t delete, that’s the result of my trying to learn how to use xwiki to do 1. and 2. above. I tried creating a page Existing+Space.2\\.3\\.3\\.1. I thought I might be able to escape the periods in the version number with \\ characters. Now I have a space that looks like this:

 

Existing Space.2<br/>.3<br/>.1<br/>
 
I tried using the “Delete Space Snippet” (http://www.xwiki.org/xwiki/bin/view/Code/DeleteSpaceSnippet) and the “Rename Space Page” (http://www.xwiki.org/xwiki/bin/view/Code/RenameSpacePage) snippets from the Code Zone. The Delete Space snippet (http://our.site:8080/xwiki/bin/view/Sandbox/mypage?space=Existing%20Space.2%3Cbr/%3E.3%3Cbr/%3E.1%3Cbr/%3E) would prompt me to confirm the deletion, (http://our.site:8080/xwiki/bin/edit//3%3Cbr%2F?parent=Sandbox.mypage&editor=wysiwyg) and upon clicking the prompt I’d get a blank page. Nothing would have been changed. The Rename Space snippet appeared to let me rename the page, but nothing was actually changed. 
 
The space once had a child page “1”, which I deleted early on.
 
Can I get rid of this space somehow? Do I do it at the db level? If so, can you offer me some guidance?
 
Thanks,
 
Morgan