> That would be $wgServer, although if it's not there mediawiki will guess it.
And unfortunately it guessed wrong.

Further, I set $wgServer in LocalSettings.php which fixed the redirecting 
problem for the main page but some parts of MediaWiki seem to ignore this 
variable.
$wgServer='http://www.###.com/team1'

When I load the website and look at the source:
var stylepath = "/mediawiki/skins";
var wgArticlePath = "/mediawiki/index.php/$1";
var wgScriptPath = "/mediawiki";
var wgScript = "/mediawiki/index.php";
var wgServer = "http://www.###.com/team1";;

but neither the style is loaded nor the links work, they point to
http://www.###.com/mediawiki/. 
Why?


If I set $wgStylePath, $wgArticlePath, and $wgLogo to the absolute path in 
LocalSettings.php then Style, Logo and "index.php/Some_Page" links work, but 
links like "index.php?title=Special:UserLogin" again point to 
http://www.###.com/mediawiki/ instead of http://www.###.com/team1/mediawiki/ 
Why?

I cannot alter $wgScriptPath to "/team1/mediawiki" and $wgServer to 
"http://www.###.com"; as this will break the system:
"The page isn't redirecting properly"

Cheers

Philipp

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

Reply via email to