From: Rotem Liss Date: Sat, 7 Jul 2007 02:00:02 +0000 (+0000) Subject: In RTL wikis using Firefox, the padding doesn't work and the filetoc only contains... X-Git-Tag: 1.31.0-rc.0~52230 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=15dd9dea439c39fe4d488c8dd481251c4dffa266;p=lhc%2Fweb%2Fwiklou.git In RTL wikis using Firefox, the padding doesn't work and the filetoc only contains one space between each item, and this is because the whitespace between the items; there is no space between imagelinks and metadata (because there is no whitespace), so adding one space to work around that (of course this whole bug should be fixed somehow). --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index b9555accd5..0ded578b84 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -108,7 +108,7 @@ class ImagePage extends Article {
  • ' . $wgLang->getNsText( NS_IMAGE ) . '
  • ' . wfMsgHtml( 'imghistory' ) . '
  • ' . wfMsgHtml( 'imagelinks' ) . '
  • ' . - ($metadata ? '
  • ' . wfMsgHtml( 'metadata' ) . '
  • ' : '') . ' + ($metadata ? '
  • ' . wfMsgHtml( 'metadata' ) . '
  • ' : '') . ' '; return $r; }