-
2005-01-21
straider
Before release 2005-01-16, I was using release 2004-11-10.
Several pagenames had characters converted to an underscore "_". And everything was working fine. But the new release seems to converte those same characters to a colon ":", and the result is that the WikiSite now points to several (many) non-existent pages.
Replacing the character in the filename doesn't fix the problem, since the colon ":" causes the page to belong to a new namespace, which isn't desired at all.
A quickfix would be to check the point in the code where an "invalid" character is converted to a colon ":" and hack it in a way that the conversion character becomes an underscore again.
-
2005-01-21
straider
The pagename has a slash "/". This character used to be converted to an underscore "_" before, but now is converted to a colon ":".
Where in the code does this replacement occurs?
-
2005-01-21
andi
This done in function cleanID in inc/common.php. Replace
$id = strtr($id,'/',':');
with
if($conf['useslash']) $id = strtr($id,'/',':');