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

       Web browser: ---
             Bug #: 31176
           Summary: {{SERVERNAME}} variable does not strip // for protocol
                    relative urls
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Unprioritized
         Component: Parser
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bawolff...@gmail.com
            Blocks: 20342
    Classification: Unclassified


{{SERVERNAME}} is supposed to return just the host name. (As opposed to
{{SERVER}} which is supposed to output the protocol and host)

Expected output on wikipedia:
{{SERVERNAME}} = en.wikipedia.org

Actual output (with protocol relative urls):
{{SERVERNAME}} = //en.wikipedia.org


(Someone else reported this on irc I believe)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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