Fix for regression in variant short-URLs...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 17 May 2007 20:02:59 +0000 (20:02 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 17 May 2007 20:02:59 +0000 (20:02 +0000)
commitd9d553fa98ee9a2fe43c07d5742f3cec7acf777a
tree18c79b505766db5ed54c047ce32e8246e17ef929
parent8315cbe263c0b0a72d4cffc9f5551b5659a65850
Fix for regression in variant short-URLs...
Cleaned up the new URL parsing code a bit, now able to recognize both $wgActionPaths and $wgVariantArticlePath and interpolate those variables.
Moved that bit into WebRequest::interpolateTitle() function which is called after $wgContLang stub object is created, so it can be used to get the variant list.
I'm not totally happy with all this code, but it works. The variant bits generally creep me out.
includes/Setup.php
includes/WebRequest.php