Ejegg has submitted this change and it was merged.

Change subject: Ugly URLs to override mobile redirect for CentralNotice
......................................................................


Ugly URLs to override mobile redirect for CentralNotice

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

Approvals:
  Ejegg: Looks good to me, approved



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 7760e69..5f8e030 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1404,12 +1404,12 @@
        // for banner loading
        if ( $wgDBname == 'testwiki' ) {
                $wgCentralPagePath = "//test.wikipedia.org/w/index.php";
-               $wgCentralSelectedBannerDispatcher = 
"//test.wikipedia.org/wiki/Special:BannerLoader";
-               $wgCentralBannerRecorder = 
"//test.wikipedia.org/wiki/Special:RecordImpression";
+               $wgCentralSelectedBannerDispatcher = 
"//test.wikipedia.org/w/index.php?title=Special:BannerLoader";
+               $wgCentralBannerRecorder = 
"//test.wikipedia.org/w/index.php?title=Special:RecordImpression";
        } else {
                $wgCentralPagePath = "//{$wmfHostnames['meta']}/w/index.php";
-               $wgCentralSelectedBannerDispatcher = 
"//{$wmfHostnames['meta']}/wiki/Special:BannerLoader";
-               $wgCentralBannerRecorder = 
"//{$wmfHostnames['meta']}/wiki/Special:RecordImpression";
+               $wgCentralSelectedBannerDispatcher = 
"//{$wmfHostnames['meta']}/w/index.php?title=Special:BannerLoader";
+               $wgCentralBannerRecorder = 
"//{$wmfHostnames['meta']}/w/index.php?title=Special:RecordImpression";
        }
 
        // Allow only these domains to access CentralNotice data through the 
reporter

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1996cf9ebe4e06014fc863cafb1e4164ea1dfc07
Gerrit-PatchSet: 6
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: AndyRussG <andrew.green...@gmail.com>
Gerrit-Reviewer: AndyRussG <andrew.green...@gmail.com>
Gerrit-Reviewer: Awight <awi...@wikimedia.org>
Gerrit-Reviewer: Ejegg <eeggles...@wikimedia.org>
Gerrit-Reviewer: Katie Horn <kh...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to