Daniel Friesen schreef:
Why inside of the function? That goes back to the whole issue of titles not being normalized right. Someone asking for "...&title=foobar &..." is going to get the dbkey "Foobar_" which won't be valid for the page.
Yeah, I thought of that later too. Still, it's probably a good idea to have a separate function (like titlePartToKey() and keyToTitlePart() or something similar) that does all the substr() magic rather than duplicating it all over the place.
Roan Kattouw (Catrope)