Revert r38214 (IPv6 check for $wgServerName) -- failing to load IP class in some...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Jul 2008 20:14:52 +0000 (20:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Jul 2008 20:14:52 +0000 (20:14 +0000)
Haven't been able to reproduce locally, though.

RELEASE-NOTES
includes/DefaultSettings.php

index f2a6209..4e7a41b 100644 (file)
@@ -45,8 +45,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 14954) Fix regression in Modern and Simple skins
 * Recursion loop check added to Categoryfinder class
 * Fixed few performance troubles of large job queue processing
-* (bug 14977) Installations on servers using IPv6 addresses for $wgServer
-  were largely unusable because $wgServer didn't wrap the IP in brackets.
 
 === API changes in 1.14 ===
 
index e50f662..2cc0672 100644 (file)
@@ -69,12 +69,6 @@ if( isset( $_SERVER['SERVER_NAME'] ) ) {
        $wgServerName = 'localhost';
 }
 
-# Before we put http:// and other things onto it, need to 
-# wrap IPv6 in []. Bug 14977.
-if ( IP::isIPv6( $wgServerName ) ) {
-       $wgServerName = '[' . $wgServerName . ']';
-}
-
 # check if server use https:
 $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';