Difference between revisions of "User:Rtrace"
(New page: Now this is home, my name is Rob and I am long time Wiki contributor on all sorts of Wikis and I am more than willing and more than capable of doing what is needed to help this Wiki. Altho...) |
(Nagging fulfilled.) |
||
Line 1: | Line 1: | ||
− | Now this is home, my name is Rob and I am long time Wiki contributor on all sorts of Wikis and I am more than willing and more than capable of doing what is needed to help this Wiki. Although I can't say I will be around forever given that I have the military in my sights. | + | Now this is home, my name is Rob and I am long time Wiki contributor on all sorts of Wikis and I am more than willing and more than capable of doing what is needed to help this Wiki. Although I can't say I will be around forever given that I have the military in my sights. Although I don't believe I'll be able to help with the following..but I think bitching would be nice (good at it) |
+ | |||
+ | *Pretty URLs | ||
+ | |||
+ | Not that hard to setup a .htaccess does it quickly the code is below | ||
+ | <pre> | ||
+ | RewriteEngine On | ||
+ | RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA] | ||
+ | RewriteRule ^wiki/*$ /w/index.php [L,QSA] | ||
+ | RewriteRule ^/*$ /w/index.php [L,QSA] | ||
+ | </pre> | ||
+ | |||
+ | and then you add the below to the bottom of localsettings.php | ||
+ | |||
+ | <pre> | ||
+ | $wgScriptPath = "/w"; | ||
+ | $wgArticlePath = "/wiki/$1"; # | ||
+ | $wgUsePathInfo = true; | ||
+ | </pre> | ||
+ | |||
+ | Well actually that is about it, I thought I had a list..but every time I got a wiki and see the annoying index.php I have to comment on it. Oh wait, right..the Wiki URL on userpages in the forum don't go here, they give a 503 error. May want to use another .htaccess to redirect those or fix the URLs. | ||
+ | |||
+ | And that's it, it's now time for me to go through the RCs and the articles to see what this is all about to a larger extent. |
Latest revision as of 02:45, 21 January 2010
Now this is home, my name is Rob and I am long time Wiki contributor on all sorts of Wikis and I am more than willing and more than capable of doing what is needed to help this Wiki. Although I can't say I will be around forever given that I have the military in my sights. Although I don't believe I'll be able to help with the following..but I think bitching would be nice (good at it)
- Pretty URLs
Not that hard to setup a .htaccess does it quickly the code is below
RewriteEngine On RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA] RewriteRule ^wiki/*$ /w/index.php [L,QSA] RewriteRule ^/*$ /w/index.php [L,QSA]
and then you add the below to the bottom of localsettings.php
$wgScriptPath = "/w"; $wgArticlePath = "/wiki/$1"; # $wgUsePathInfo = true;
Well actually that is about it, I thought I had a list..but every time I got a wiki and see the annoying index.php I have to comment on it. Oh wait, right..the Wiki URL on userpages in the forum don't go here, they give a 503 error. May want to use another .htaccess to redirect those or fix the URLs.
And that's it, it's now time for me to go through the RCs and the articles to see what this is all about to a larger extent.