diff --git a/resources/mmv/mmv.bootstrap.js b/resources/mmv/mmv.bootstrap.js index b799bf2d1..55bfdad19 100755 --- a/resources/mmv/mmv.bootstrap.js +++ b/resources/mmv/mmv.bootstrap.js @@ -121,6 +121,12 @@ return; } + if ( $thumb.closest( '.metadata' ).length > 0 ) { + // This is almost certainly an icon for an informational template like + // {{refimprove}} on enwiki. + return; + } + if ( $thumbContain.length !== 0 && $thumbContain.is( '.thumb' ) ) { $thumbCaption = $thumbContain.find( '.thumbcaption' ).clone(); $thumbCaption.find( '.magnify' ).remove();