Subject: | URL generation problem with empty 'path' |
My Mediawiki installation is on the web server root. I do not have a
'path' (like 'w' on Wikimedia servers).
Consequently, Mediawiki.pm generates URLs with a double slash (i.e.
"//") here :
<<
$mw->{index} = $proto . "//" . $mw->_cfg("wiki", "host") . "/" .
$mw->_cfg("wiki", "path") . "/index.php";
$mw->{query} = $proto . "//" . $mw->_cfg("wiki", "host") . "/" .
$mw->_cfg("wiki", "path") . "/query.php"
if($mw->_cfg("wiki", "has_query"));
Show quoted text
>>
By me that makes image uploading not working :
* OK : http://my.wiki.net/index.php/Special:Upload
* NOT OK : * OK : http://my.wiki.net//index.php/Special:Upload (redirect
to http://my.wiki.net/index.php/Main_Page