MediaWiki:Gadget-ImageAnnotator.js: Difference between revisions
Content deleted Content added
eslint-config-wikimedia autofix |
Per request |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1:
/*
ImageAnnotator v2.3.2
Image annotations. Draw rectangles onto image thumbnail displayed on image description
Line 1,741 ⟶ 1,735:
}
}
if ( name.search( /\.(jpe?g|png|gif|svg|tiff?|webp)$/i ) < 0 ) { return null; } // Only PNG, JPE?G, GIF, SVG,
// Finally check for wpImageAnnotatorControl
var icon_only = false;
Line 3,064 ⟶ 3,058:
return s;
} else {
return
}
},
Line 3,111 ⟶ 3,105:
} // end if (guard against double inclusions)
|