Wiki links broken

General discussion about DRD & website stuff.
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Wiki links broken

Post by Gez »

[zwiki]Main Page[/zwiki]
[wiki]Main Page[/wiki]
[swiki]Main Page[/swiki]

Doesn't seem to work. :|
User avatar
Rachael
Developer
Developer
Posts: 3646
Joined: Sat May 13, 2006 10:30

Re: Wiki links broken

Post by Rachael »

I will have to look into this later... ugh
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: Wiki links broken

Post by Gez »

Bumpity bump bump. I think I've found why it's broken. Compare:

[wiki]Main_Page[/wiki]
[wiki]Main Page[/wiki]
User avatar
Rachael
Developer
Developer
Posts: 3646
Joined: Sat May 13, 2006 10:30

Re: Wiki links broken

Post by Rachael »

In this case, the fix would have to be php side, because spaces do not belong in links at all, and the [wiki] tags do, quite plainly, links. What it needs to do is translate them to %20's (the proper way) or simply replace them with _'s (which will only work for wiki's and not any other application which would use a similar identifier setup).

Nevertheless, I've gone ahead and changed the {LOCAL_URL} identifiers to {SIMPLETEXT} identifiers - however, this is a hacky work-around.
Post Reply

Return to “General”