MaxSem has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/51218


Change subject: Honor the no images setting on watchlist
......................................................................

Honor the no images setting on watchlist

Change-Id: I0e2884d793e39b81736150f2bd186b68fb0bec11
---
M includes/specials/SpecialMobileWatchlist.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/18/51218/1

diff --git a/includes/specials/SpecialMobileWatchlist.php 
b/includes/specials/SpecialMobileWatchlist.php
index 536ce04..8a85d95 100644
--- a/includes/specials/SpecialMobileWatchlist.php
+++ b/includes/specials/SpecialMobileWatchlist.php
@@ -18,7 +18,7 @@
 
                $ctx = MobileContext::singleton();
                $ctx->setOverlay( false );
-               $this->usePageImages = $ctx->isBetaGroupMember() && defined( 
'PAGE_IMAGES_INSTALLED' );
+               $this->usePageImages = $ctx->isBetaGroupMember() && 
!$ctx->imagesDisabled() && defined( 'PAGE_IMAGES_INSTALLED' );
                // assumes mobile skin
                $mobileSkin = $ctx->getSkin();
                $mobileSkin->setHtmlHeader( $this->getWatchlistHeader() );

-- 
To view, visit https://gerrit.wikimedia.org/r/51218
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e2884d793e39b81736150f2bd186b68fb0bec11
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to