[xwiki-users] Charater . in the documents
Hi All, I have a question related with the use of the "." in the name of the documents. In my company all the employers are creating several new pages each day. Some of them, create the pages using the character "." . This generate the malformed name of the document because when XWiki found a ".", creates a new space. For example: The name of the page shouldn't be: Release 30.2.1 Installer Application -> This generate the following link: Release 30\.2\.1 Installer Application -> the link is wrong and will appear in the list of the spaces with the character "?" that indicates that the document hasn't been created. To fix this I have to rename the link for something like this: Release 30_2_1 Installer Application or Release 30 2 1 Installer Application. Sometimes I need to delete this type of documents directly from the database. I'm wondering if someone knows a plugin to delete the "." or the solution that I have to implement here is to avoid the use of the character "." in the name of the pages. Thanks in advance, Carolina Ramirez.
Hi Maria - There are other threads on list about using the "." character in page names. Just do some searching. This is a xwiki internal character used to separate a Space name from the page ... something like: "MyCoolSpace.My Really Cool wiki page" "MyCoolSpace.My Really Cool other wiki page" My understanding is you should simply avoid this conflict in your page naming, it keeps things simpler. This might have been fixed in recent releases not sure though, don't bank on that being the case. ------ thanks kevin.foote On Tue, 26 Apr 2011, Maria Carolina Ramirez wrote: -> Hi All, -> -> -> -> I have a question related with the use of the "." in the name of the -> documents. In my company all the employers are creating several new -> pages each day. Some of them, create the pages using the character "." . -> This generate the malformed name of the document because when XWiki -> found a ".", creates a new space. -> -> -> -> For example: -> -> The name of the page shouldn't be: -> -> -> -> Release 30.2.1 Installer Application -> This generate the following -> link: Release 30\.2\.1 Installer Application -> the link is wrong and -> will appear in the list of the spaces with the character "?" that -> indicates that the document hasn't been created. To fix this I have to -> rename the link for something like this: -> -> -> -> Release 30_2_1 Installer Application or Release 30 2 1 Installer -> Application. -> -> -> -> Sometimes I need to delete this type of documents directly from the -> database. -> -> -> -> I'm wondering if someone knows a plugin to delete the "." or the -> solution that I have to implement here is to avoid the use of the -> character "." in the name of the pages. -> -> -> -> Thanks in advance, -> -> -> -> Carolina Ramirez. -> -> _______________________________________________ -> users mailing list -> [email protected] -> http://lists.xwiki.org/mailman/listinfo/users ->
On 04/26/2011 06:42 PM, Maria Carolina Ramirez wrote:
Hi All,
I have a question related with the use of the "." in the name of the documents. In my company all the employers are creating several new pages each day. Some of them, create the pages using the character "." . This generate the malformed name of the document because when XWiki found a ".", creates a new space.
What version of XWiki Enterprise are you using? How are you creating the pages?
For example:
The name of the page shouldn't be:
Release 30.2.1 Installer Application -> This generate the following link: Release 30\.2\.1 Installer Application -> the link is wrong and
This is actually right. Backslash is used to escape the special dot character (which is used to separate the space name from the page name). To check this, put the following code in a page: [[foo>>Space.Page\.v1]] [[bar>>Space\.Page.v2]] The first link should point to /xwiki/bin/view/Space/Page.v1 and the second link should point to /xwiki/bin/view/Space.Page/v2 Hope this helps, Marius
will appear in the list of the spaces with the character "?" that indicates that the document hasn't been created. To fix this I have to rename the link for something like this:
Release 30_2_1 Installer Application or Release 30 2 1 Installer Application.
Sometimes I need to delete this type of documents directly from the database.
I'm wondering if someone knows a plugin to delete the "." or the solution that I have to implement here is to avoid the use of the character "." in the name of the pages.
Thanks in advance,
Carolina Ramirez.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Kevin P. Foote -
Maria Carolina Ramirez -
Marius Dumitru Florea