"
// . "
";
//
-// if ( !$exists ) {
-// $s .= self::makeBrokenImageLinkObj( $title, $frameParams['title'], '', '', '', $time == true );
+// if (!$exists) {
+// $s .= self::makeBrokenImageLinkObj($title, $frameParams['title'], '', '', '', $time == true);
// $zoomIcon = '';
-// } elseif ( !$thumb ) {
-// $s .= wfMessage( 'thumbnail_error', '' )->escaped();
+// } else if (!$thumb) {
+// $s .= wfMessage('thumbnail_error', '')->escaped();
// $zoomIcon = '';
// } else {
-// if ( !$noscale && !$manualthumb ) {
-// self::processResponsiveImages( $file, $thumb, $handlerParams );
+// if (!$noscale && !$manualthumb) {
+// self::processResponsiveImages($file, $thumb, $handlerParams);
// }
// $params = [
// 'alt' => $frameParams['alt'],
// 'title' => $frameParams['title'],
-// 'img-class' => ( isset( $frameParams['class'] ) && $frameParams['class'] !== ''
+// 'img-class' => (isset($frameParams['class']) && $frameParams['class'] !== ''
// ? $frameParams['class'] . ' '
-// : '' ) . 'thumbimage'
+// : '') . 'thumbimage'
// ];
-// $params = self::getImageLinkMTOParams( $frameParams, $query ) + $params;
-// $s .= $thumb->toHtml( $params );
-// if ( isset( $frameParams['framed'] ) ) {
+// $params = self::getImageLinkMTOParams($frameParams, $query) + $params;
+// $s .= $thumb->toHtml($params);
+// if (isset($frameParams['framed'])) {
// $zoomIcon = "";
// } else {
-// $zoomIcon = Html::rawElement( 'div', [ 'class' => 'magnify' ],
-// Html::rawElement( 'a', [
+// $zoomIcon = Html::rawElement('div', [ 'class' => 'magnify' ],
+// Html::rawElement('a', [
// 'href' => $url,
// 'class' => '@gplx.Internal protected',
-// 'title' => wfMessage( 'thumbnail-more' )->text() ],
-// "" ) );
+// 'title' => wfMessage('thumbnail-more')->text() ],
+// ""));
// }
// }
// $s .= '
' . $zoomIcon . $frameParams['caption'] . "