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 On Sat, Dec 24, 2011 at 01:01, Hunter Fernandes <[email protected]> wrote: > How much overhead is that? > - Hunter F. > > > On Fri, Dec 23, 2011 at 9:59 PM, Tim Landscheidt > <[email protected]>wrote: > >> Hunter Fernandes <[email protected]> wrote: >> >> > Well, a site is being moved from a flat weebly layout >> > (this_is_my_page.html) to a wiki style (This_is_my_page), and I wanted >> to, >> > on every 404 page not found, check an internal conversion table ( >> > this_is_my_page.html -> This_is_my_page ) and then 301 to that page. Is >> > it possible? >> > [...] >> >> Wouldn't it be easier to just dump the internal conversion >> table as .htaccess rewrites (or your server's equivalent)? >> >> Tim >> >> >> _______________________________________________ >> Wikitech-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
