ugly ways when the title is long or the window is small.
The markup of the toc itself is still a bit odd (table, may conflict with
wiki toc if the description includes one).
$r .= '<a href="#imghistory">' . wfMsg( 'imghistory' ) . '</a href> - ';
$r .= '<a href="#imagelinks">' . wfMsg( 'imagelinks' ) . '</a href>';
if ( $wgShowEXIF ) {
- $r .= ' - <a href="#showexif">' . wfMsg( 'exifdata' ) . '</a>';
+ $r .= ' - <a href="#exifdata">' . wfMsg( 'exifdata' ) . '</a>';
}
text-indent: -2em;
}
-div.imagepagetoc {
- float: right;
- margin-top: -4em;
+div.imagepagetoc table {
+ margin-bottom: 1em;
}