Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F9150
35352.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 22 2014, 12:18 AM
2014-11-22 00:18:12 (UTC+0)
Size
721 B
Referenced Files
None
Subscribers
None
35352.diff
View Options
Index: ZeroRatedMobileAccess.body.php
===================================================================
--- ZeroRatedMobileAccess.body.php (revision 114236)
+++ ZeroRatedMobileAccess.body.php (working copy)
@@ -109,7 +109,7 @@
}
}
- if ( self::$isFilePage && self::$acceptBilling !== 'yes' ) {
+ if ( self::$isFilePage && self::$acceptBilling !== 'yes' && self::$renderZeroRatedBanner === true ) {
$acceptBillingYes = Html::rawElement( 'a',
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' ) );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8657
Default Alt Text
35352.diff (721 B)
Attached To
Mode
T37352: Getting zero related data charge warnings on the regular mobile site
Attached
Detach File
Event Timeline
Log In to Comment