http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96634
Revision: 96634
Author: preilly
Date: 2011-09-08 23:51:07 +0000 (Thu, 08 Sep 2011)
Log Message:
-----------
mft r96633
Modified Paths:
--------------
branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
Modified: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
===================================================================
--- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
2011-09-08 23:50:36 UTC (rev 96633)
+++ branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
2011-09-08 23:51:07 UTC (rev 96634)
@@ -473,14 +473,14 @@
}
}
- private function getRelativeURL($url) {
+ private function getRelativeURL( $url ) {
wfProfileIn( __METHOD__ );
- $parsedUrl = parse_url($url);
+ $parsedUrl = parse_url( $url );
//Validates value as IP address
if( !IP::isValid( $parsedUrl['host'] ) ) {
wfProfileOut( __METHOD__ );
$baseUrl = $parsedUrl['scheme'] . '://' .
$parsedUrl['host'];
- $baseUrl = str_replace($baseUrl, '', $url);
+ $baseUrl = str_replace( $baseUrl, '', $url );
return $baseUrl;
} else {
wfProfileOut( __METHOD__ );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs