Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

$wgScriptPath's default value isn't general enough?

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


carifio at usys

Nov 12, 2009, 10:51 AM

Post #1 of 2 (1083 views)
Permalink
$wgScriptPath's default value isn't general enough?

According to http://www.mediawiki.org/wiki/Manual:$wgScriptPath
the default value for $wgScriptPath is '/wiki'. Why isn't it
'dirname($_SERVER['SCRIPT_NAME'])'? I can then move the content in
my wiki around my website without having to update $wgScriptPath on
every move (?). Or am I missing something? I've set it in
LocalSettings.php and seems to work ok...

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Nov 12, 2009, 12:49 PM

Post #2 of 2 (998 views)
Permalink
Re: $wgScriptPath's default value isn't general enough? [In reply to]

Mike Carifio wrote:
> According to http://www.mediawiki.org/wiki/Manual:$wgScriptPath
> the default value for $wgScriptPath is '/wiki'. Why isn't it
> 'dirname($_SERVER['SCRIPT_NAME'])'? I can then move the content in
> my wiki around my website without having to update $wgScriptPath on
> every move (?). Or am I missing something? I've set it in
> LocalSettings.php and seems to work ok...

The default value of $wgScriptPath doesn't matter, because when you
install the wiki, a $wgScriptPath calculated by the installer is placed
for you on LocalSettings.php


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.