The AvertissementImage gadget on French Wikipedia loads, but when you try to click the button to add a warning to the file page, it throws a JavaScript error:
ReferenceError: onPushImageWarningUpdateButton is not defined
This is probably due to the scope changes introduced by ResourceLoader.
Gadget code: https://fr.wikipedia.org/wiki/MediaWiki:Gadget-AvertissementImage.js