Daniel Friesen wrote:
Our docs on how to setup shorturls have been horrible for awhile. They just about all suggest /index.php?title=$1 based rewrite rules. Despite the fact that MediaWiki has REQUEST_URI based handling code to extract titles from shorturls itself. The result is that a lot of these wiki have bugs with titles like [[C++]] and [[A&B]].
They work fine with QSA flag, which most servers should support by now. RewriteRule ^wiki/?(.*)$ /w/index.php?title=$1 [L,QSA]