Thread:Project:Support desk/change media wiki directory/reply (5)

There are variables like $wgArticlePath and $wgScriptPath, which you can set in LocalSettings.php. Maybe with these you can already do what you want.