Last modified: 2014-10-07 17:41:55 UTC
On most Wikimedia sites there is a JavaScript global variable 'Geo' which contains information on the client's location. However this variable does not seem to be loaded at all on wikimediafoundation.org. There are a couple of Fundraising things that it would be nice to have this for.
Is it from CentralNotice? 'wmgUseCentralNotice' => array( 'advisorywiki' => false, // Per Bug # 25519 'default' => true, 'fishbowl' => false, // Per bug 17718 Disable CentralNotice on private/fishbowl wikis 'fiwikimedia' => false, // bug 17718 'metawiki' => true, // Central interface 'private' => false, // :D 'qualitywiki' => false, 'testwiki' => true, 'ukwikimedia' => false, // Per bug 17718 Disable CentralNotice on private/fishbowl wikis 'simplewiki' => true, ),
Ah yes, it is CentralNotice which is loading it on the other wikis. It seems that loading <script src="//bits.wikimedia.org/geoiplookup"> in the page head should be enough. Or we can just enable CentralNotice there if that's the easiest way.
(In reply to Peter Coombe from comment #2) > Ah yes, it is CentralNotice which is loading it on the other wikis. > > It seems that loading <script src="//bits.wikimedia.org/geoiplookup"> in the > page head should be enough. Or we can just enable CentralNotice there if > that's the easiest way. Presumably as long it doesn't have any unwanted side effects etc