See report at https://simple.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard#MediaWiki%3AGadget-newpagesbox.js - confirmed
As an admin (non interface admin)
When I go to https://simple.wikipedia.org/wiki/MediaWiki:Gadget-newpagesbox.js
I should see a delete option in the move menu
When I go to https://simple.wikipedia.org/wiki/MediaWiki:Gadget-newpagesbox.js?action=delete
I should be able to delete the gadget
Notes:
Also applies to attempting deletion via the api
Does not apply to deleting another user's javascript, only sitewide