From: Rotem Liss Date: Wed, 5 Jul 2006 19:43:06 +0000 (+0000) Subject: Direction mark between the image file name and its size in the image page, to prevent... X-Git-Tag: 1.31.0-rc.0~56393 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=88cbeb2d4be05885e426fff0e91b922fb03b7471;p=lhc%2Fweb%2Fwiklou.git Direction mark between the image file name and its size in the image page, to prevent confusion. --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 81e84327c5..dac9602d4a 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -259,11 +259,13 @@ class ImagePage extends Article { ceil($this->img->getSize()/1024.0), $this->img->getMimeType() ); + global $wgContLang; + $dirmark = $wgContLang->getDirMark(); if (!$this->img->isSafeFile()) { $warning = wfMsg( 'mediawarning' ); $wgOut->addWikiText( << -[[Media:$filename|$filename]] +[[Media:$filename|$filename]]$dirmark ($info) @@ -273,7 +275,7 @@ END } else { $wgOut->addWikiText( << -[[Media:$filename|$filename]] ($info) +[[Media:$filename|$filename]]$dirmark ($info) END );