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
@@ -49,7 +49,7 @@ $wgExtensionCredits['other'][] = array(
|
||||
* ULS can use geolocation services to suggest languages based on the
|
||||
* country the user is vising from. Setting this to false will prevent
|
||||
* builtin geolocation from being used. You can provide your own geolocation
|
||||
* by setting window.GEO to object which has key 'country_code' or 'country'.
|
||||
* by setting window.Geo to object which has key 'country_code' or 'country'.
|
||||
* This is what Wikipedia does.
|
||||
*
|
||||
* The service should return jsonp that uses the supplied callback parameter.
|
||||
|
||||
Reference in New Issue
Block a user