Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -259,7 +259,7 @@ |
260 | 260 | $parsedUrl = wfParseUrl( $targetUrl ); |
261 | 261 | if ( stristr( $parsedUrl['host'], $wgMobileDomain ) === false ) { |
262 | 262 | $hostParts = explode( '.', $parsedUrl['host'] ); |
263 | | - $parsedUrl['host'] = $hostParts[0] . $wgMobileDomain . $hostParts[1] . '.' . $hostParts[2]; |
| 263 | + $parsedUrl['host'] = $hostParts[0] . $wgMobileDomain . $hostParts[1] . '.' . $hostParts[2]; |
264 | 264 | } |
265 | 265 | $fragmentDelimiter = ( !empty( $parsedUrl['fragment'] ) ) ? '#' : ''; |
266 | 266 | $queryDelimiter = ( !empty( $parsedUrl['query'] ) ) ? '?' : ''; |