MediaWiki:Gadget-ImageAnnotator.js: Difference between revisions

Content deleted Content added
eslint-config-wikimedia autofix
Fulfilling edit request by Speravir. Thanks for helping!
Line 1,741:
}
}
if ( name.search( /\.(jpe?g|png|gif|svg|tiff?|webp)$/i ) < 0 ) { return null; } // Only PNG, JPE?G, GIF, SVG, and TIFF?, and WebP
// Finally check for wpImageAnnotatorControl
var icon_only = false;