jayvdb added a comment.
this is a tiny script, which is mostly a wrapper around weblinkchecker and upload bots , but the upload part isnt functional. And this is very special purpose, as it is only useful for wikis which have enabled [[https://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages%7C$wgAllowExter...]], which is a privacy violation as the external website can see IP addresses and in some instances also determine the wiki username of the IP address. It is more common for wikis to be using [[https://www.mediawiki.org/wiki/Manual:$wgUseInstantCommons%7CUseInstantCommo...]]
IMO the functionality in this script should be split.
weblinkchecker in core should be enhanced so that: 1. it can be easily told to only look for inline links of a specific type (i.e. image links) 2. the image downloads and metadata are easy to access.
upload in core should be enhanced to upload a batch of images using metadata extracted by weblinkchecker
then the compat script ported to use the above enhancements, and put in a new pywikibot-contrib repository and effectively allowed to rot.
TASK DETAIL https://phabricator.wikimedia.org/T66870
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb Cc: pywikipedia-bugs, Ladsgroup, valhallasw, Ricordisamoa, jayvdb