r98194 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98193‎ | r98194 | r98195 >
Date:23:16, 26 September 2011
Author:catrope
Status:ok
Tags:
Comment:
Fix stupid typo in r98193, thanks Dantman
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -2823,7 +2823,7 @@
28242824 case 'server':
28252825 return $wgServer;
28262826 case 'servername':
2827 - $serverParts = wfParseUrl( $wgServer, PHP_URL_HOST );
 2827+ $serverParts = wfParseUrl( $wgServer );
28282828 return $serverParts && isset( $serverParts['host'] ) ? $serverParts['host'] : $wgServer;
28292829 case 'scriptpath':
28302830 return $wgScriptPath;

Follow-up revisions

RevisionCommit summaryAuthorDate
r981951.18wmf1: MFT r98193, r98194catrope23:17, 26 September 2011
r981971.17wmf1: MFT r98193, r98194catrope23:18, 26 September 2011
r98762REL1_18 MFT r97806, r97895, r98193, r98194, r98237, r98502, r98656, r98707, r...reedy13:56, 3 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98193(bug 31176) {{SERVERNAME}} doesn't play nice with protocol-relative URLscatrope23:14, 26 September 2011

Status & tagging log