Mwalker has uploaded a new change for review.

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


Change subject: Do not mobilify hide links
......................................................................

Do not mobilify hide links

This is actually not required; I proved to myself that
*.*.domain gets *.domain cookies.

Change-Id: Ib881222056808fed498d5c9bc17c9c33f768fd2a
---
M CentralNotice.hooks.php
1 file changed, 0 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/46/96646/1

diff --git a/CentralNotice.hooks.php b/CentralNotice.hooks.php
index 7722bff..66ccbbd 100644
--- a/CentralNotice.hooks.php
+++ b/CentralNotice.hooks.php
@@ -309,12 +309,6 @@
                        $wgCentralBannerDispatcher = $mc->getMobileUrl( 
$wgCentralBannerDispatcher );
                        $wgCentralBannerRecorder = $mc->getMobileUrl( 
$wgCentralBannerRecorder );
                }
-
-               $mobileHides = array();
-               foreach( $wgNoticeHideUrls as $url ) {
-                       $mobileHides[] = $mc->getMobileUrl( $url );
-               }
-               $wgNoticeHideUrls = array_merge( $wgNoticeHideUrls, 
$mobileHides );
        }
 
        $vars[ 'wgNoticeFundraisingUrl' ] = $wgNoticeFundraisingUrl;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib881222056808fed498d5c9bc17c9c33f768fd2a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: wmf_deploy
Gerrit-Owner: Mwalker <mwal...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to