r114655 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114654‎ | r114655 | r114656 >
Date:17:15, 2 April 2012
Author:preilly
Status:deferred
Tags:
Comment:
1.19wmf: MFG Change-Id: I4d6fd913f7581db6c05f1b2399d232a1a86c47c2
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -122,7 +122,7 @@
123123 if ( self::$isFilePage && self::$acceptBilling !== 'yes' && self::$renderZeroRatedBanner === true ) {
124124 $referrer = $wgRequest->getHeader( 'referer' );
125125 $acceptBillingYes = Html::rawElement( 'a',
126 - array( 'href' => str_replace( '.wikipedia.org/', '.m.wikipedia.org/', wfExpandUrl( $wgRequest->appendQuery( 'acceptbilling=yes' . urlencode( $referrer ) ), PROTO_CURRENT ) ) ),
 126+ array( 'href' => str_replace( '.wikipedia.org/', '.m.wikipedia.org/', wfExpandUrl( $wgRequest->appendQuery( 'acceptbilling=yes' ), PROTO_CURRENT ) ) ),
127127 wfMsg( 'zero-rated-mobile-access-banner-text-data-charges-yes' ) );
128128 $acceptBillingNo = Html::rawElement( 'a',
129129 array( 'href' => $wgRequest->appendQuery( 'acceptbilling=no&returnto=' . urlencode( $referrer ) ) ),

Status & tagging log