Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php |
— | — | @@ -111,7 +111,7 @@ |
112 | 112 | |
113 | 113 | if ( self::$isFilePage && self::$acceptBilling !== 'yes' ) { |
114 | 114 | $acceptBillingYes = Html::rawElement( 'a', |
115 | | - array( 'href' => str_replace( '.zero.', '.m.', wfExpandUrl( $wgRequest->appendQuery( 'acceptbilling=yes' . urlencode( $referrer ) ), PROTO_CURRENT ) ) ), |
| 115 | + array( 'href' => str_replace( '.wikipedia.org/', '.m.wikipedia.org/', wfExpandUrl( $wgRequest->appendQuery( 'acceptbilling=yes' . urlencode( $referrer ) ), PROTO_CURRENT ) ) ), |
116 | 116 | wfMsg( 'zero-rated-mobile-access-banner-text-data-charges-yes' ) ); |
117 | 117 | $referrer = $wgRequest->getHeader( 'referer' ); |
118 | 118 | $acceptBillingNo = Html::rawElement( 'a', |