Index: branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php |
— | — | @@ -146,6 +146,9 @@ |
147 | 147 | if ( isset( self::$carrier['name'] ) ) { |
148 | 148 | if ( $wgZeroDisableImages === 1 ) { |
149 | 149 | self::$forceClickToViewImages = $wgZeroDisableImages; |
| 150 | + $wgRequest->response()->header( 'X-Images: no' ); |
| 151 | + } else { |
| 152 | + $wgRequest->response()->header( 'X-Images: yes' ); |
150 | 153 | } |
151 | 154 | if ( self::$isMainPage ) { |
152 | 155 | $redirect = SpecialPage::getTitleFor( 'ZeroRatedMobileAccess' )->getLocalUrl(); |