Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -69,6 +69,12 @@ |
70 | 70 | $wgServerName = 'localhost'; |
71 | 71 | } |
72 | 72 | |
| 73 | +# Before we put http:// and other things onto it, need to |
| 74 | +# wrap IPv6 in []. Bug 14977. |
| 75 | +if ( IP::isIPv6( $wgServerName ) ) { |
| 76 | + $wgServerName = '[' . $wgServerName . ']'; |
| 77 | +} |
| 78 | + |
73 | 79 | # check if server use https: |
74 | 80 | $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http'; |
75 | 81 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -43,6 +43,8 @@ |
44 | 44 | * (bug 14954) Fix regression in Modern and Simple skins |
45 | 45 | * Recursion loop check added to Categoryfinder class |
46 | 46 | * Fixed few performance troubles of large job queue processing |
| 47 | +* (bug 14977) Installations on servers using IPv6 addresses for $wgServer |
| 48 | + were largely unusable because $wgServer didn't wrap the IP in brackets. |
47 | 49 | |
48 | 50 | === API changes in 1.14 === |
49 | 51 | |