I'm not sure exactly why this is happening, so instead of linking you to a minimal sandbox I'll link you to the actual occurrence of the problem: http://cyclods.wikidot.com/thread:84
The "New post" button at the bottom of the page is added using this code:
[[image /main:posts/replybutton.jpg link="/post:new-post-%%name%%/edit/true/parentPage/%%fullname%%/tags/_open/title/Re: %%title%%"]]
That code is on a page called main:posts. The thread:_template page includes main:posts, and therefore it appears on the thread:84 page after going through the live template + an include. Not sure if that combination has anything to do with the problem.
The page's title is "Show/Hide content from specific users" … but somehow in the process of creating the child page with the same title (and "Re: " prefixed), everything after and including the forward slash ("/") is not shown.
i.e. instead of replies having the title "Re: Show/Hide content from specific users", they only have "Re: Show"
Edit: This was discovered almost two weeks ago, but I've only just gotten around to reporting it now ;-)
It's what's being procesed by the url.
Wikidot assumes that the link below is seperate into the following parts:
It breaks the url using the "/" as a breaker….
Kenneth Tsang (@jxeeno)
Is there any way to prevent this from happening? =(
Perhaps this is the solution? http://projects.wikidot.com/thread:351
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
Yes. That is a solution.
I'm actually working on another solution now…. just gimmie a miniute
Kenneth Tsang (@jxeeno)
Hmm… how long is a " miniute " ? ;-)
A normal ute is about 3-4 metres long… so a mini ute is a bit smaller? ;-)
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
Actually, I just worked it out.
> I'm actually working on another solution now…. just gimmie a miniute
You're working on a solution, but you won't give it to me until I buy you a new Mini Ute to drive xD You're bribing me. =)
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
Sorry… That's why I hate JS. I can never get things to work properly…..
Kenneth Tsang (@jxeeno)
LOL I'm having a go at your spelling mistake, not the time you're spending on this :) Take as long as you need, I'm just glad that you may be able to get this working.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
HAHAHA! LOL. :-)
Kenneth Tsang (@jxeeno)
Shane, replace the forward slash with an escaped version of an escaped forward slash. i.e. %252F
How? I'm using %%title%% in a live template.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
Okay Shane, the solution:
http://snippets.wikidot.com/code:url-title-with-slash-redirect
Only tested for IE and Firefox
Kenneth Tsang (@jxeeno)
Thanks — will reply on that page.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
Fixed without any official Wikidot intervention. Thanks tsangk ;-)
I'm going to close this then.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server