I recently downloaded a MusicBrainz database dump again, and one of the checks I ran was for URL relationships referencing nonexistent Wikidata items or Wikipedia article titles (only for the English wikipedia for now, but I could run it for any others).
This turned up roughly 2000 results each. Most of the results are pages or items deleted from Wikipedia for failing to meet notability requirements, but it also includes things like Wikipedia URLs that reference article sections (URLs ending in
#something), user or draft pages, and links referencing files.
Here are both lists in TSV format:
What are the options for automated editing based on this data?