From: Siebrand Mazeland Date: Sun, 24 Nov 2013 18:52:45 +0000 (+0100) Subject: Replace Linker::link() by linkKnown() X-Git-Tag: 1.31.0-rc.0~17836^2~3 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=d3d3a966c5297f4e831f79d27b06f3fa35e8a298;p=lhc%2Fweb%2Fwiklou.git Replace Linker::link() by linkKnown() Change-Id: I70b15ea6352f65fcff70fcc85e743441e4fcab08 --- diff --git a/includes/gallery/TraditionalImageGallery.php b/includes/gallery/TraditionalImageGallery.php index 05c612b003..9d01688a8b 100644 --- a/includes/gallery/TraditionalImageGallery.php +++ b/includes/gallery/TraditionalImageGallery.php @@ -103,12 +103,9 @@ class TraditionalImageGallery extends ImageGalleryBase { # The image is blacklisted, just show it as a text link. $thumbhtml = "\n\t\t\t" . '
' . - Linker::link( + Linker::linkKnown( $nt, - htmlspecialchars( $nt->getText() ), - array(), - array(), - array( 'known', 'noclasses' ) + htmlspecialchars( $nt->getText() ) ) . '
'; } elseif ( !( $thumb = $img->transform( $transformOptions ) ) ) { @@ -168,12 +165,9 @@ class TraditionalImageGallery extends ImageGalleryBase { } $textlink = $this->mShowFilename ? - Linker::link( + Linker::linkKnown( $nt, - htmlspecialchars( $lang->truncate( $nt->getText(), $this->mCaptionLength ) ), - array(), - array(), - array( 'known', 'noclasses' ) + htmlspecialchars( $lang->truncate( $nt->getText(), $this->mCaptionLength ) ) ) . "
\n" : '';