Demon has uploaded a new change for review.
https://gerrit.wikimedia.org/r/81029
Change subject: Globals are global
......................................................................
Globals are global
Change-Id: I6c0e5b646065c6c090cb4ba6b31336ddf50a34b2
---
M wmf-config/CommonSettings.php
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/29/81029/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index fcef4e7..15026e7 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1113,6 +1113,8 @@
// Disable redirects to HTTPS for clients in some countries
$wgHooks['CanIPUseHTTPS'][] = 'wmfCanIPUseHTTPS';
function wmfCanIPUseHTTPS( $ip, &$canDo ) {
+ global $wmgHTTPSBlacklistCountries;
+
if ( !function_exists( 'geoip_country_code_by_name' ) ) {
return true;
}
--
To view, visit https://gerrit.wikimedia.org/r/81029
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6c0e5b646065c6c090cb4ba6b31336ddf50a34b2
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Demon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits