I just applied a fix to Title.php which explicitly rejects titles that contain invalid characters instead of silently removing the bad characters.
For one thing, there was a flaw in the way it was done such that it could end up leaving illegal whitespace, so a page renamed to "* abc" ends up at "_abc", but a visit to "_abc" trims the whitespace to "abc" and you can't get to the page using its given title.
Since this can be used to (accidentally or deliberately) "disappear" pages such that it's a pain to restore them, I've gone ahead and installed it right away. I don't _think_ it will negatively affect anything, but there's a small chance that some links that used to work (because invalid characters were filtered out) will no longer do so.
If there's a good reason to revert to the previous behavior (silent dropping) with the whitespace bug fixed, this could be done, but I'd rather not.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org