Last modified: 2014-02-12 23:53:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 55956 - MobileFrontend geodata features (like Special:Nearby) have no documentation
MobileFrontend geodata features (like Special:Nearby) have no documentation
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: documentation
  Show dependency treegraph
 
Reported: 2013-10-21 06:03 UTC by Ryan Kaldari
Modified: 2014-02-12 23:53 UTC (History)
9 users (show)

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


Attachments

Description Ryan Kaldari 2013-10-21 06:03:41 UTC
I tried using Special:Nearby in my local instance and it didn't work. I wasn't able to find any documentation on how to set it up. I figured out that you had to set the $wgMFNearby global to true in order for the special page to load. (I added this to https://www.mediawiki.org/wiki/Extension:MobileFrontend#Configuration_settings). Of course it still doesn't do anything besides load an empty page though. How do you make a page's geodata discoverable to Special:Nearby? Do I need to install Extension:GeoData? However it works, we should document it so other people can set it up easily.
Comment 1 Bingle 2013-10-21 06:04:19 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1320
Comment 2 Brion Vibber 2013-10-21 11:33:07 UTC
As I recall from my test setup, something like this:

* install [[mw:Extension:GeoData]]
* make sure you run update.php!
* set $wgMFNearby = true
* get some data: add something like "{{#coordinates:37.786971|-122.399677|primary}}" to one or more pages -- see the documentation for [[mw:Extension:GeoData]] for syntax details


If you import all the right templates, importing English Wikipedia articles containing coordinates *should* record those as well.

Hmm, this reminds me -- ideally, Special:Nearby should probably move out of MobileFrontend and live in GeoData directly.
Comment 3 Max Semenik 2013-10-21 15:00:34 UTC
(In reply to comment #2)

Yup!

> Hmm, this reminds me -- ideally, Special:Nearby should probably move out of
> MobileFrontend and live in GeoData directly.

Currently, it relies too much on MF's JS infrastructure to make this trivial.

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


Navigation
Links