preilly | 2 Apr 19:15 2012
Picon

SVN: [114655] branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ ZeroRatedMobileAccess.body.php

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

Revision: 114655
Author:   preilly
Date:     2012-04-02 17:15:16 +0000 (Mon, 02 Apr 2012)
Log Message:
-----------
1.19wmf: MFG Change-Id: I4d6fd913f7581db6c05f1b2399d232a1a86c47c2

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-04-02
16:43:46 UTC (rev 114654)
+++
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php	2012-04-02
17:15:16 UTC (rev 114655)
 <at>  <at>  -122,7 +122,7  <at>  <at> 
 			if ( self::$isFilePage && self::$acceptBilling !== 'yes' && self::$renderZeroRatedBanner === true
) {
 				$referrer = $wgRequest->getHeader( 'referer' );
 				$acceptBillingYes = Html::rawElement( 'a',
-					array( 'href' => str_replace( '.wikipedia.org/', '.m.wikipedia.org/', wfExpandUrl(
$wgRequest->appendQuery( 'acceptbilling=yes' . urlencode( $referrer ) ), PROTO_CURRENT ) ) ),
+					array( 'href' => str_replace( '.wikipedia.org/', '.m.wikipedia.org/', wfExpandUrl(
$wgRequest->appendQuery( 'acceptbilling=yes' ), PROTO_CURRENT ) ) ),
(Continue reading)


Gmane