Page MenuHomePhabricator

MobileFrontend disable images doesn't disable maps
Closed, DeclinedPublic

Description

In mobile interface under "Settings" there is option for disable images. The option doesn't disable maps (created by Kartographer extension)

How to reproduce:

  1. Go to some page with map with mobile client (example https://he.m.wikipedia.org/wiki/%D7%95%D7%99%D7%91%D7%95_%D7%95%D7%9C%D7%A0%D7%98%D7%99%D7%94 )
  2. Goto to settings and validate images are disabled
  3. Back to the page and validate

Expected: Map SHOULD not be shown (some other placeholder MAY show "Here is a map of <coords>")
Actual: Map appears

Event Timeline

It's worth noting, given the lazy images change we introduced I'm quite keen for us to remove the disable images functionality (this should be handled on the browser level imo).

The existing implementation is specific to MobileFrontend only and is very limited in that it doesn't disable the loading of images via CSS/JS (note the talk icon) and the implementation is not seamless when it comes to other extensions (RelatedArticles has same issue).

Depends. That decision hasn't been made yet. You probably want to track T109870

Jdlrobson changed the task status from Open to Stalled.Dec 13 2016, 5:43 PM

We should also note that disabling images at the browser level has its downsides too. For example, the hamburger menu icon won't show, while it would if we disabled images using a setting like we do now.

phuedx subscribed.

All of the changes for T109870: Remove the Disable images functionality have been merged and it's now in QA (and will likely be signed off soon after). We've made the decision to remove the feature, though not necessarily explicitly.