jenkins-bot has submitted this change and it was merged.

Change subject: Only hide images in zero-subdomain
......................................................................


Only hide images in zero-subdomain

Change-Id: If3d5e4ec90ff3790e544b3d7c86f97f9aad2958f
---
M includes/PageRendering.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  MaxSem: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/PageRendering.php b/includes/PageRendering.php
index 01a2290..58f4bd0 100644
--- a/includes/PageRendering.php
+++ b/includes/PageRendering.php
@@ -340,7 +340,7 @@
         * @return bool
         */
        public function onSpecialMobileEditWatchlist_images( &$images ) {
-               if ( !$this->config->showImages() ) {
+               if ( $this->isZeroSubdomain() && !$this->config->showImages() ) 
{
                        $images = array();
                        return false;
                }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If3d5e4ec90ff3790e544b3d7c86f97f9aad2958f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroBanner
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to