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)
@@ -122,7 +122,7 @@
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 ) ) ),
wfMsg(
'zero-rated-mobile-access-banner-text-data-charges-yes' ) );
$acceptBillingNo = Html::rawElement( 'a',
array( 'href' =>
$wgRequest->appendQuery( 'acceptbilling=no&returnto=' . urlencode( $referrer )
) ),
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs