https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113844

Revision: 113844
Author:   preilly
Date:     2012-03-14 20:32:43 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
1.19wmf: MFT r113843

Modified Paths:
--------------
    
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php

Modified: 
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
===================================================================
--- 
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
       2012-03-14 20:32:17 UTC (rev 113843)
+++ 
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
       2012-03-14 20:32:43 UTC (rev 113844)
@@ -111,7 +111,7 @@
 
                        if ( self::$isFilePage && self::$acceptBilling !== 
'yes' ) {
                                $acceptBillingYes = Html::rawElement( 'a',
-                                       array( 'href' => str_replace( '.zero.', 
'.m.', wfExpandUrl( $wgRequest->appendQuery( 'acceptbilling=yes' . urlencode( 
$referrer ) ), PROTO_CURRENT ) ) ),
+                                       array( 'href' => str_replace( 
'.wikipedia.org/', '.m.wikipedia.org/', wfExpandUrl( $wgRequest->appendQuery( 
'acceptbilling=yes' . urlencode( $referrer ) ), PROTO_CURRENT ) ) ),
                                        wfMsg( 
'zero-rated-mobile-access-banner-text-data-charges-yes' ) );
                                $referrer = $wgRequest->getHeader( 'referer' );
                                $acceptBillingNo = Html::rawElement( 'a',


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to