Page MenuHomePhabricator

[Bug] mobile-html: mapframe links don't work
Open, MediumPublic

Description

Steps to Reproduce

  1. Open https://en.wikipedia.org/api/rest_v1/page/mobile-html/Walt_Whitman_Bridge
  2. Click on the mapframe map in the infobox (the one with the blue location indicator)

Expected Results

A link event is fired with the link to view the map. Currently, the desktop and mobile versions route to https://en.wikipedia.org/wiki/Walt_Whitman_Bridge#/map/0 but sending the mobile clients there likely wouldn't work. Does PCS need to load the map JS? Does there need to be a separate endpoint in PCS for viewing maps?

Actual Results

A link event is fired with https://en.wikipedia.org/wiki/Special:Map/13/a/a/en

Event Timeline

JoeWalsh triaged this task as Medium priority.Jul 1 2020, 5:27 PM

@JMinor @Charlotte Can you define what you want to see here, from a product perspective?

MSantos added a subscriber: JTannerWMF.

@JTannerWMF assigning it to you for evaluation, since this might be worth exploring once the Nearby Articles functionality is implemented in Android.

@MSantos Can you share more of what you're thinking with @Seddon and how it relates to nearby in the Content Transform team so I can better understand priority

@JTannerWMF considering that a "native" map will be available, that means users could be redirected to that app map view instead of opening an URL for Special:Map that won't work as expected [1].

This is low priority IMHO, but worth considering to have in the apps radar.

[1] I don't have an screenshot for the Android app, I only have the iOS one

IMG_C1742F000D27-1.jpeg (1×750 px, 344 KB)

This is blocked by a lack of resource module for kartographer on PCS