Main Page

From OpenKore Wiki
Revision as of 17:09, 23 April 2010 by 4epT (talk | contribs) (remove 'index.php?title=')
Jump to navigation Jump to search
Home.png

Community

Irc.png

IRC chat

Help.png

Manual

Downloads.png

Links

Development.png

SVN repository Browser

Bugtracker.png

Bugtracker

Credits.png

About OpenKore

Current Wiki TODO's

  • If you find here something wrong, inexact or missing - edit it to share with others (to edit any page, use "edit" button in your browser or on top of page).
  • complete config.txt pages that are conform with char and add appropriate categories (ex. Category:Connection for char) from old manual and older manual
  • complete, comment and format Overview page to make it like an universal answer to questions howtodosomething
  • remove 'index.php?title=' from wiki view URLs
In the LocalSettings.php file add the following code:
$wgScriptPath       = "/wiki";
$wgScript           = "$wgScriptPath/index.php";
$wgRedirectScript   = "$wgScriptPath/redirect.php";
$wgArticlePath      = "$wgScriptPath/$1";

In the root directory of the site create a file whose name ends. htaccess with the following contents:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /wiki/index.php?title=$1 [L,QSA]
example http://ragbot.ru/wiki/config