Ciencia_Al_Poder added a comment.
Just for reference, if anyone needs this, I've solved this particularly (and hacky) for delete.py by adding this to treat_page: """Process one page from the generator.""" # Skip images that are in use if len(list(self.site.imageusage(self.current_page))) > 0: pywikibot.output(u'Skipping: {0} is in use.'.format( self.current_page)) return TASK DETAIL https://phabricator.wikimedia.org/T132847 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ciencia_Al_Poder Cc: Aklapper, Ciencia_Al_Poder, pywikibot-bugs-list, Mdupont, jayvdb _______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs