Last modified: 2014-04-04 14:48:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63814, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61814 - If configured with protocol-relative $wgServer, suggested URL is invalid
If configured with protocol-relative $wgServer, suggested URL is invalid
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-23 02:47 UTC by Daniel Norton
Modified: 2014-04-04 14:48 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch to fix (366 bytes, application/octet-stream)
2014-02-23 02:47 UTC, Daniel Norton
Details

Description Daniel Norton 2014-02-23 02:47:51 UTC
Created attachment 14664 [details]
Patch to fix

e.g.

$wgServer = "//example.com";

Load this URL:
 http://example.com/BadPath

Page shows:
...
The URL you requested was not found.
Did you mean to type //example.com/wiki/BadPath ?
...

Also, the URL is not hyperlinked. I expect for the protocol to show, e.g.:
...
The URL you requested was not found.
Did you mean to type http://example.com/wiki/BadPath ?
...

Suggested patch attached.
Comment 1 Daniel Norton 2014-02-23 02:52:23 UTC
Actually, the patch I suggested doesn't fix it. It always puts "http" even if the current protocol is "https".
Comment 2 Daniel Norton 2014-02-23 03:07:04 UTC
Yeah, this is a messy problem. See #29497
Comment 3 Andre Klapper 2014-02-24 11:06:14 UTC
Which extension is this about, and which repository is the patch against?
Comment 4 Andre Klapper 2014-03-20 11:48:51 UTC
Daniel Norton: Which extension is this about, and which repository is the patch against?
Comment 5 Andre Klapper 2014-04-04 14:48:48 UTC
Unfortunately closing this report as no further information has been provided.

Daniel: Please feel free to reopen this report if you can provide the information asked for. Thanks!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links