I'm currently unsure of what version we are running, as I don't seem to be able to determine that from the wiki page its self. The problem is that when the tool bar is created for the Insert Signature button, if the user has an apostrophe (') in their real name the JavaScript that is created doesn't escape the apostrophe leading to malformed JavaScript on the edit page.
Page source snipit that shows problem (email addy removed):
insertButton('images/sig.png','Insert Signature',' --- //[[
emailaddy@notadomain.xyz|Lance O'Connor]] 2005/12/15 09:08//','y'); </script>
Error message in JavaScript Console:
Error: missing ) after argument list
Source File:
http://url.to.wiki/doku.php
Line: 101, Column: 102
Source Code:
insertButton('images/sig.png','Insert Signature',' --- //[[
emailaddy@notadomain.xyz|Lance O'Connor]] 2005/12/15 08:54//','y');
Errant Single Quote: ----------^^^----------
Due to the fact that the single quote is not escaped in the string, it improperly terminates the string confusing the JavaScript processor.
Tested on:
Firefox 1.0.7 (Win)
Firefox 1.0.7 (Linux)
IE 6 (Win)