Loading...
 
Features / Usability

Features / Usability


Forward slash (ie. "/") within a page name?

posts: 4 Czech Republic

Is here any way how to include the forward slash (ie. "/") in the page name?

When I try it than my tiki eval installation displays a message:
The page name specified contains unallowed characters. It will not be possible to save the page until those are removed: /?#[]@text+;=

I have tried to find anything about it on the documentation site but I have found only several texts about Wiki Safe Characters in Wiki page names, namely:
This feature prevents the use of potentially problematic characters. In Tiki5, the characters are: : / ? # @ ! $ & ' ( ) * + , ; = < >

I am accustomed to the MediaWiki but I would need ACL and I would also welcome some built-in forums. In MediaWiki it is by default not possible to use slash in the page name (slash is used to separate the sub-pages identification) however one may configure the specific namespace not to use subpages at all and than the forward slash starts to become the available character in the page name. Even the main space where the major content (eg. Wikipedia articles) is published may be configured this way. Many other of the above "suspicious" characters are usable by MediaWiki without any hesitation too.

I am especially sensitive about the forward slash because I plan to use the wiki system for some legal purposes and it happens in my country that many acts are identified by names which contain the forward slash. Eg. "1/1992 Sb." is the name of the constitution and "40/1964 Sb." is the citizen law codex etc. Also the judicates (ie. quasi-precedents) use the slash in their identification string. Sometimes it is very convenient to be able to put the entire name of the act or of the judicate into the name of the page itself.

Is here any way how to convince Tiki to allow it?

posts: 214

You may turn off the "Prevent special characters in page names" option and use the slash in a page name. But, if you do, then you can not enable the "Search engine friendly URL" feature.
Page names with slashes will not work as links when "Search engine friendly URL" is enabled.

You can read about the "Search engine friendly URL" feature here: http://doc.tiki.org/Search+Engine+Friendly+URL

You can find where to turn off the "Prevent special characters in page names" setting here: http://doc.tiki.org/Wiki+General+Preferences

An option you might consider is using the character string "&frasl;" in place of the slash. It will work with the "Search engine friendly URL" feature, and it will be accepted in a page name, even if "Prevent special characters in page names" is turned on.

To create a page named "40/1964 Sb.", you would enter it as
((40&frasl;1964 Sb.))
and it would look like
40&frasl;1964 Sb.
as a page name and wiki page link.

In some character sets the &frasl; does not look exactly like a /, so that may be a problem.

Another problem with using "&frasl;" would be searches. If your user searches on a page name with a slash, it will not find the pages using "&frasl;" in them.

posts: 4 Czech Republic

Dear Tom,
thank you for your exhaustive explanation wink considering all options.

I understood your answers and gave Tiki another two days of evaluation. It is really feature-rich software. I have some issues with the performance as well as with stability but I have to study it more first.

posts: 1633 Canada
Vojtech H. (Huck, Hugo) Kment wrote:

Dear Tom,
thank you for your exhaustive explanation wink considering all options.

+1 Great answer!

Vojtech H. (Huck, Hugo) Kment wrote:
I understood your answers and gave Tiki another two days of evaluation. It is really feature-rich software. I have some issues with the performance as well as with stability but I have to study it more first.


Please see: Performance, which has some good leads.

About stability:

Tiki7 and Tiki8 have been exceptionally large releases and we have revamped a whole lot of stuff, which is awesome for the future of Tiki, but caused some instability.

So the tradeoff is stability vs new features. You can use Tiki6 LTS for maximal stability. Tiki9 LTS will be a small release, and I expect that Tiki10 won't have too much disruptive innovation. (innovation will be more localized)

Best regards,

M ;-)