Last modified: 2014-02-12 23:53:26 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.
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1320
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.
(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.
https://www.mediawiki.org/w/index.php?title=MobileFrontend&diff=805614&oldid=804778 Please update on the wiki!