dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e8571
)
Fix stupid typo in r98193, thanks Dantman
author
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 26 Sep 2011 23:16:32 +0000
(23:16 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 26 Sep 2011 23:16:32 +0000
(23:16 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
1fdbdc9
..
b12f75f
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-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;