From: Erik Moeller Date: Wed, 27 Oct 2004 14:22:15 +0000 (+0000) Subject: using addWikiText for shared upload notice X-Git-Tag: 1.5.0alpha1~1436 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=a308e4537938ad16559aaaf4f26dcf23304d6d30;p=lhc%2Fweb%2Fwiklou.git using addWikiText for shared upload notice --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 1a3b9382d1..a5e515c4d0 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -80,10 +80,10 @@ class ImagePage extends Article { } else { $s = "
".$sk->makeMediaLink($this->img->getName(),"")."
"; } + $wgOut->addHTML( $s ); if($this->img->fromSharedDirectory) { - $s.="
".wfMsg("sharedupload")."
"; + $wgOut->addWikiText("
".wfMsg("sharedupload")."
"); } - $wgOut->addHTML( $s ); } }