Thread:Manual talk:Short URL/New "Moving a wiki from /wiki to /w" section by User:Rbirmann

This guide seems to have a bad order for migrating a wiki from the /wiki folder to /w.

Changing LocalSettings.php like that and going to the shorturl tool before moving isn't going to give you the correct configuration information (it's going to base it on /wiki instead of /w) and it's probably not even going to work at all since the LocalSettings.php changes are liable to have broken your wiki at that moment.

My recommendation is to:
 * Backup everything.
 * Rename your /wiki folder to /w.
 * Update your $wgScriptPath from "/wiki" to "/w".
 * Comment out or remove your $wgArticlePath setting and do the same for any old short URL configuration you already have.
 * Now re-do your short URL configuration following either the tool or relevant guide

The guide also really shouldn't assume Apache, refer specifically to the shorturl tool only, or copy one type of short URL configuration settings. It should just refer to the relevant Guides section of the page. It could drop a note about the tool in but we should really almost just write a paragraph into that section saying something like "These guides are coded into a tool at  that will [...]"