Last modified: 2014-02-12 23:35:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34138, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32138 - Add functionality to do asynchronous image loading with placeholders
Add functionality to do asynchronous image loading with placeholders
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Lowest enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-02 02:24 UTC by MZMcBride
Modified: 2014-02-12 23:35 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2011-11-02 02:24:43 UTC
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.
Comment 1 Roan Kattouw 2011-11-02 09:31:18 UTC
(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
Comment 2 MZMcBride 2011-11-02 12:49:32 UTC
(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.
Comment 3 Roan Kattouw 2011-11-02 13:59:25 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links