[Mediawiki-l] $wgArticlePath when using CGI

Graeme Canivet gjcanive at uwaterloo.ca
Tue Jan 17 03:58:18 UTC 2006


Hello,

I wondered why you must use ugly URLs with the CGI module...? 

Also, I wondered how the rewrite $wgArticlePath = "$wgScriptPath/$1"
works.... When I pull up an article in my wiki I use the url
index.php/ArticleName, however, I have never written a rewrite rule so I am
unsure how Apache knows to rewrite "$wgScriptPath/$1" into
"$wgScript?title=$1".

Any information would be appreciated,
Graeme





More information about the MediaWiki-l mailing list