Page MenuHomePhabricator

MobileFrontend geodata features (like Special:Nearby) have no documentation
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: normal

Details

Reference
bz55956

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:20 AM
bzimport set Reference to bz55956.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

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

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.