Last modified: 2014-10-07 17:41:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73747, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71747 - Geolocation not available on wikimediafoundation.org
Geolocation not available on wikimediafoundation.org
Status: NEW
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-07 16:06 UTC by Peter Coombe
Modified: 2014-10-07 17:41 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Coombe 2014-10-07 16:06:50 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.
Comment 1 Sam Reed (reedy) 2014-10-07 16:17:00 UTC
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,
),
Comment 2 Peter Coombe 2014-10-07 17:36:09 UTC
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.
Comment 3 Sam Reed (reedy) 2014-10-07 17:41:55 UTC
(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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links