Manual:Wiki in site root directory

From MediaWiki.org

Jump to: navigation, search

Why to, or not, use the root directory of a Web site as the wiki directory.

Template:Wiki-in-docroot links here and is used in Manual:Short URL. Details needed below.

[edit] Reasons why putting wiki pages in the root directory of the web site is bad

  • You need special rules for robots.txt or favicon.ico, also for all wiki support files like skin images. See [1]
  • Any scheme which does this is not supported by the MediaWiki developers. So if your scheme doesn't work with a new MediaWiki version, you're on your own.

Use the configuration used by Wikipedia if you want to be on the safe side.

TODO: Add mailing list references and expand the above

[edit] Wiki specific domainnames or subdomainnames

I like these two examples for sites that are predominantly wiki. If wiki is to be the dominant paradigm of a site, then no special wiki directory is needed and to use one is redundant and counter intuitive.

http://wiki.example.com/Article_name
http://cookbookwiki.com/Main_Page


Why should above be deprecated? Please be specific, of course.

Frankly, I'd agree. There should be better guides to getting this to work - I've tried everything on this site, including the Mediawiki type one (which I wouldn't prefer, but would be better than the huge and ugly URL I'm getting at the moment - /mediawiki/index.php/Main_Page is a huge waste of space when I only need /Main_Page for my site.
I strongly agree as well. This is really irritating -- we want to put the site's main wiki on a separate machine, and wiki.example.com/wiki/ is silly versus wiki.example.com/
Personal tools