[Mediawiki-l] moving wiki "root"?

Jean-Marc van Leerdam j.m.van.leerdam at gmail.com
Wed Apr 22 06:29:48 UTC 2009


Hi Nina,

2009/4/22 McHale, Nina <Nina.McHale at ucdenver.edu>:
> Hi, all,
>
> First post--please don't hurt me. :)
>
> I installed MediaWiki a couple of months ago to begin using as an intranet for about 80 people in an academic library environment. At the time, the idea was to only have a portion of the intranet be a wiki. Now, I'm sold, and I want to make the wiki the environment for the whole intranet. Question: how do I move the wiki files from /siterootfolder/wiki/ to just having the wiki files be the site root? Can I just dump them into the site root folder, or would that break stuff, including the existing articles? :)
>
> Part of my motivation for doing this is shortening URLs even more:
>
> http://hostname/wiki/My_Article_Title
>
> http://hostname/My_Article_Title
>

It is generally not recommended to do this. You can run into problems
later on when you want to provide other webservices via the same
hostname. Mediawiki itself can also run into issues. Internally
Mediawiki uses one 'virtual' folder (wiki in your case) and one 'real'
folder (w or mw usually). The default rewriting rules map pages like
/wiki/Main_Page to /mw/index.php?article=Main_Page. These rules become
more complex if you want to drop the /wiki part.
For more information, take a look at http://www.mediawiki.org/wiki/Short_URL

-- 
Regards,

Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net



More information about the MediaWiki-l mailing list