On Sat, Dec 24, 2011 at 01:21, Jeremy Baron jeremy@tuxmachine.com wrote:
How big is your conversion table? is it sufficient to just redirect all URLs that end with .html to remove the .html? (then you don't need a table)
IIRC, the traditional way on WMF wikis to do dynamic changes to the "no page here" page or redirects based on a pattern is with javascript. (e.g. in [[mediawiki:common.js]]) One use that I think existed once on some wiki was to do a search for the page name and redirect automatically if one existed with the same spelling but some letters in a different case. (DUMBO vs. Dumbo)
You could probably also do something with http://www.mediawiki.org/wiki/Manual:Hooks/ShowMissingArticle
-Jeremy
See also http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritemap
-Jeremy