Update geoiplookup URL endpoint for I8c90977e4

Bits is slated to be decomissioned. Change I8c90977e4 ensures the /geoiplookup
endpoint remains accessible by serving it from all domains. This patch updates
ULS to use http://meta.wikimedia.org/geoiplookup.

Change-Id: I4dc1b135af4ab8a5dcac77e73de5c8c9276bfb52
This commit is contained in:
Ori Livneh
2015-05-06 00:46:15 -07:00
parent d04ade3574
commit 61a6983bec

View File

@@ -77,7 +77,7 @@ class UniversalLanguageSelectorHooks {
if ( is_string( $wgULSGeoService ) ) { if ( is_string( $wgULSGeoService ) ) {
$out->addModules( 'ext.uls.geoclient' ); $out->addModules( 'ext.uls.geoclient' );
} elseif ( $wgULSGeoService === true ) { } elseif ( $wgULSGeoService === true ) {
$out->addScript( '<script src="//bits.wikimedia.org/geoiplookup"></script>' ); $out->addScript( '<script src="//meta.wikimedia.org/geoiplookup"></script>' );
} }
if ( self::isToolbarEnabled( $out->getUser() ) ) { if ( self::isToolbarEnabled( $out->getUser() ) ) {