Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -2823,7 +2823,7 @@ |
2824 | 2824 | case 'server': |
2825 | 2825 | return $wgServer; |
2826 | 2826 | case 'servername': |
2827 | | - $serverParts = wfParseUrl( $wgServer, PHP_URL_HOST ); |
| 2827 | + $serverParts = wfParseUrl( $wgServer ); |
2828 | 2828 | return $serverParts && isset( $serverParts['host'] ) ? $serverParts['host'] : $wgServer; |
2829 | 2829 | case 'scriptpath': |
2830 | 2830 | return $wgScriptPath; |