Page MenuHomePhabricator

User preference to make images tap to display
Open, LowestPublicFeature

Description

During the discussions surrounding controversial content, there has been a(n uncontroversial) suggestion that MediaWiki / Wikimedia wikis should have a functionality where no images (in the content area) are loaded when the rest of the page loads and are instead replaced with placeholder images. When the placeholder is clicked, the image being click would be loaded asynchronously.

This functionality has a variety of uses:

  • "safer" browsing in environments where you may be confronted with surprising images (at work, during presentations, etc.)
  • much, much faster load times on mobile devices or even on desktop devices

It should be fairly easy to implement this with JavaScript/jQuery, I think? It might need some server-side support as well. I think there's a fairly strong case for putting this into MediaWiki core, but I'd settle for an extension.

Toggling the image switch could be done via user preference or via a link in the toolbox.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=34023

Note

We have this in MobileFrontend for older browsers in our lazy loading code, however the goal is different.
Here the goal seems to be around protecting users.
I have opinions around that, but trying to provide a technical pov here.

Details

Reference
bz32138

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:07 AM
bzimport set Reference to bz32138.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

It should be fairly easy to implement this with JavaScript/jQuery, I think? It
might need some server-side support as well. I think there's a fairly strong
case for putting this into MediaWiki core, but I'd settle for an extension.

One or two years ago, Aryeh wrote up some notes about image hiding, see https://www.mediawiki.org/wiki/User:Simetrical/Censorship

(In reply to comment #1)

(In reply to comment #0)

It should be fairly easy to implement this with JavaScript/jQuery, I think? It
might need some server-side support as well. I think there's a fairly strong
case for putting this into MediaWiki core, but I'd settle for an extension.

One or two years ago, Aryeh wrote up some notes about image hiding, see
https://www.mediawiki.org/wiki/User:Simetrical/Censorship

Yes, but Aryeh's approach was category-based. I'm not sure if it was clear from the opening post, but the envisioned design here would be all-or-none.

(In reply to comment #2)

Yes, but Aryeh's approach was category-based. I'm not sure if it was clear from
the opening post, but the envisioned design here would be all-or-none.

I realize that, but Aryeh's notes also cover how he planned on hiding images in general, which is useful regardless of what kind of criterion you use.

Jdlrobson renamed this task from Add functionality to do asynchronous image loading with placeholders to User preference to make images tap to display.Jan 13 2021, 5:43 PM
Jdlrobson updated the task description. (Show Details)
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:02 AM
Aklapper removed a subscriber: wikibugs-l-list.