Skip Menu |

This queue is for tickets about the MediaWiki CPAN distribution.

Report information
The Basics
Id: 35110
Status: new
Priority: 0/
Queue: MediaWiki

People
Owner: Nobody in particular
Requestors: emmanuel [...] engelhart.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.13
Fixed in: (no value)



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