In RTL wikis using Firefox, the padding doesn't work and the filetoc only contains...
authorRotem Liss <rotem@users.mediawiki.org>
Sat, 7 Jul 2007 02:00:02 +0000 (02:00 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sat, 7 Jul 2007 02:00:02 +0000 (02:00 +0000)
includes/ImagePage.php

index b9555ac..0ded578 100644 (file)
@@ -108,7 +108,7 @@ class ImagePage extends Article {
                        <li><a href="#file">' . $wgLang->getNsText( NS_IMAGE ) . '</a></li>
                        <li><a href="#filehistory">' . wfMsgHtml( 'imghistory' ) . '</a></li>
                        <li><a href="#filelinks">' . wfMsgHtml( 'imagelinks' ) . '</a></li>' .
-                       ($metadata ? '<li><a href="#metadata">' . wfMsgHtml( 'metadata' ) . '</a></li>' : '') . '
+                       ($metadata ? ' <li><a href="#metadata">' . wfMsgHtml( 'metadata' ) . '</a></li>' : '') . '
                </ul>';
                return $r;
        }