https://bugzilla.wikimedia.org/show_bug.cgi?id=61814

            Bug ID: 61814
           Summary: If configured with protocol-relative $wgServer,
                    suggested URL is invalid
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: [other]
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: dan...@danielnorton.com
       Web browser: ---
   Mobile Platform: ---

Created attachment 14664
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=14664&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to