According to
http://www.mediawiki.org/wiki/Help:$wgServer, $wgServer
should also include the "http".
Also, try to preview a page with the variable "{{SERVER}}" - in
Wikimedia projects, it shows things like "http://meta.wikimedia.org";
what about your wiki?
Dave Burns wrote:
In that case,
provide a value for $wgServer; set *that* to the hostname.
I added one line to LocalSettings.php:
$wgServer = "hostname";
Then after I restart apache & mysql and edit a page, when I save the edit I
get sent to URL:
http://hostname/wiki/hostnamehostname/wiki/index.php/name_of_edited_page
When I manually edit the URL to be
http://hostname/wiki/index.php/name_of_edited_page, it shows the edit to
have been saved. So this is not a disaster, just kinda embarrassing.
Thanks for the input!
Dave
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l