Last modified: 2011-07-31 08:21:16 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 T18840, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16840 - <gallery> tag generates unnecessary triply-nested divs, renders images very slowly
<gallery> tag generates unnecessary triply-nested divs, renders images very s...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.13.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://wiki.laptop.org/go/Images
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-30 18:09 UTC by SJ
Modified: 2011-07-31 08:21 UTC (History)
2 users (show)

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


Attachments

Description SJ 2008-12-30 18:09:34 UTC
The <gallery> tag is failing across mediawiki instances on laptop.org, with a couple visible effects:

* Individual images show up inside triply-nested bordered divs.  
* Rendering is very slow.  Categories with hundreds of images render pages verrrry slowly.

We've looked into the html without diagnostic success...
Comment 1 SJ 2009-04-18 21:35:41 UTC
This is still the case with updates to ImageMagick.  We will update to 1.15 soon and try importing into a clean install to see if there is any change. 
Comment 2 DieBuche 2011-07-31 08:21:16 UTC
Gallery DOM was rewritten. And if you set the CSS to create a border around various elements, it will do so.

div.gallerybox div.thumb {
    text-align: center;
    border: 1px solid #ccc;
    margin: 2px;
}

Just remove set border: none, and it's gone

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


Navigation
Links