galleries now display as bulleted lists
We just upgraded from (I think) 1.4 to 1.18.1 (FYI: PHP 5.2.17 (cgi) MySQL 5.0.92-50-log )
Images within <gallery> tags now display as bulleted lists instead of galleries. Can't find anything in bugs, in release notes, in documentation about the gallery tag, etc.
Example page: http://www.bayteam.org/wiki/Gallery_of_dog_photos_by_breed
Can anyone direct me to info on what caused this to break & how to fix it? Thanks.
Yes it changed to a list (which is more proper HTML and fixes other problems like max monitor width usage). But normally it looks like this: Help:Images#Gallery syntax
It's some of your CSS overriding the default.
We've hardly touched our CSS at all, and certainly not in this upgrade. Did the CSS change between releases? Again, I haven't found anything with instructions on why stuff that worked OK before would break, or how to fix it. The only CSS I see related to galleries is in our main. css and I don't see how this would have the effect. Sorry if I'm being dense; did no one else have this problem?
table.gallery {
border: 1px solid #ccc;
margin: 2px;
padding: 2px;
background-color: white;
}
table.gallery tr {
vertical-align: top;
}
table.gallery td {
vertical-align: top;
background-color: #f9f9f9;
border: solid 2px white;
}
table.gallery td.galleryheader {
text-align: center;
font-weight: bold;
}
div.gallerybox {
margin: 2px;
width: 150px;
}
div.gallerybox div.thumb {
text-align: center;
border: 1px solid #ccc;
margin: 2px;
}
div.gallerytext {
font-size: 94%;
padding: 2px 4px;
}
The gallery or MediaWiki is not broken that's why you see no notes about it.
Check your custom skin! I found CSS being included from wiki/skins/bayteam/