Fix stupid typo in r98193, thanks Dantman
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 26 Sep 2011 23:16:32 +0000 (23:16 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 26 Sep 2011 23:16:32 +0000 (23:16 +0000)
includes/parser/Parser.php

index 1fdbdc9..b12f75f 100644 (file)
@@ -2823,7 +2823,7 @@ class Parser {
                        case 'server':
                                return $wgServer;
                        case 'servername':
-                               $serverParts = wfParseUrl( $wgServer, PHP_URL_HOST );
+                               $serverParts = wfParseUrl( $wgServer );
                                return $serverParts && isset( $serverParts['host'] ) ? $serverParts['host'] : $wgServer;
                        case 'scriptpath':
                                return $wgScriptPath;