Hi,

Is there any easy way or widget to automate this?

This was to be (one of) the purpose of Add Media Wizard, but its development was discontinued. I am not aware of any other initiatives.

<https://www.mediawiki.org/wiki/Extension:Add_Media_Wizard>


--
Jean-Frédéric