Jdlrobson has submitted this change and it was merged.
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(-)
Approvals:
Jdlrobson: Verified; Looks good to me, approved
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: merged
Gerrit-Change-Id: I0e2884d793e39b81736150f2bd186b68fb0bec11
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits