Unable to use comments link from page with '%' in the URL
I can't use IntenseDebate comment count from pages that have '%' in their URL. It results in a javascript error and the "Comments(0)" link does not appear. For example, this does not work:
var idcomments_acct = '3b738369403a3fb208bcbee6168a7920';
var idcomments_post_id;
var idcomments_post_url = 'http://thekcguy.com/wiki/index.php/Talk:December_1%2C_2008';
script type="text/javascript" src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"
(I removed parts of the html tags so that it would show up better here)
You can see an example at: http://thekcguy.com/wiki/index.php/De...
The comment form is working properly on:
http://thekcguy.com/wiki/index.php/Ta...
var idcomments_acct = '3b738369403a3fb208bcbee6168a7920';
var idcomments_post_id;
var idcomments_post_url = 'http://thekcguy.com/wiki/index.php/Talk:December_1%2C_2008';
script type="text/javascript" src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"
(I removed parts of the html tags so that it would show up better here)
You can see an example at: http://thekcguy.com/wiki/index.php/De...
The comment form is working properly on:
http://thekcguy.com/wiki/index.php/Ta...
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?I believe this can be corrected by either using a fully url encoded url (including slashes and the like in this case) or by not using any url encoding (replacing the % encoding with the , in this case).
We attempt to match the url when finding the script tag that generated this so that we know where to put our comments/links. If these url's don't match up (in this case because they're not fully encoded and not fully unencoded) that we fail to match and you get a JavaScript error.
Hope this helps. -
Inappropriate?Thanks, that helps a lot. I didn't realize that "," was a legal character in URLs, but if I leave it in it works fine. This means I actually have to urldecode mediawiki's default way of making links!
Thanks for the cool product!
-TheKCGuy
Loading Profile...


