Ori.livneh has uploaded a new change for review.

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

Change subject: CentralNotice: set $wgCentralGeoScriptURL to false
......................................................................

CentralNotice: set $wgCentralGeoScriptURL to false

This enables usage of the GeoIP cookie for CentralNotice geolocation.

Change-Id: Ic410bd788a544dca2bad232cbf5fc8427da6a524
---
M wmf-config/CommonSettings.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/06/117006/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index da082e4..7f58009 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1386,6 +1386,9 @@
        // for DNS prefetching
        $wgCentralHost = "//{$wmfHostnames['meta']}";
 
+       // Rely on GeoIP cookie for geolocation
+       $wgCentralGeoScriptURL = false;
+
        // for banner loading
        if ( $wgDBname == 'testwiki' ) {
                $wgCentralPagePath = "//test.wikipedia.org/w/index.php";

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic410bd788a544dca2bad232cbf5fc8427da6a524
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to