Last modified: 2013-03-28 10:49:02 UTC
For example, on http://en.wikipedia.org//w/index.php?title=Special:Upload (note "//" before the "w") the "Special Page" links to http://w/index.php?title=Special:Upload. The problem appears to be that SkinTemplate::buildContentNavigationUrls() uses $wgRequest->getRequestURL() to create a nav url and that returns an incorrect URL.
https://gerrit.wikimedia.org/r/56176
Causes bug 46627. Patch: Gerrit change #56372
(In reply to comment #1) > https://gerrit.wikimedia.org/r/56176 ...got merged. Closing.