Geoclient fixes for https and WMF
* Don't call freegeoip on https, it wont work * Use Geo instead of GEO like WMF Change-Id: I9ebdd9f3518e15e70122a9c8c8d64240d5e44c5b
This commit is contained in:
committed by
Gerrit Code Review
parent
8d5307852a
commit
3c9e7249a8
@@ -26,11 +26,8 @@ class UniversalLanguageSelectorHooks {
|
||||
* @return bool
|
||||
*/
|
||||
public static function addModules( $out, $skin ) {
|
||||
global $wgULSGeoService;
|
||||
$out->addModules( 'ext.uls.init' );
|
||||
if ( $wgULSGeoService ) {
|
||||
$out->addModules( 'ext.uls.geoclient' );
|
||||
}
|
||||
$out->addModules( 'ext.uls.geoclient' );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user