Add functionality to do asynchronous image loading with placeholders
OpenPublic

Assigned To
None
Priority
Lowest
Author
MZMcBride
Subscribers
brion, matmarex, Krinkle and 5 others
Projects
Reference
bz32138
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

bzimport added a project: MediaWiki-Interface.Via ConduitNov 22 2014, 12:07 AM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz32138.
MZMcBride created this task.Via LegacyNov 2 2011, 2:24 AM
Catrope added a comment.Via ConduitNov 2 2011, 9:31 AM

(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

MZMcBride added a comment.Via ConduitNov 2 2011, 12:49 PM

(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.

Catrope added a comment.Via ConduitNov 2 2011, 1:59 PM

(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.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.