If a user deletes the file from its original location AFTER moving it to commons, then sometimes the File page on commons will contain incorrect links in its 'Global file usage' section
See for example https://commons.wikimedia.org/wiki/File:FiveThirtyEight_Logo.svg
- in the 'Global file usage' section there's a link to https://en.wikipedia.org/wiki/User:Magog_the_Ogre/PD_ineligible/2017_April_7-10
- ... but this page doesn't exist, and has never existed (User:Magog_the_Ogre/PD_ineligible/2017_April_7-10 is a page on commons, not enwiki)
The link to the non-existent page is displayed in the 'Global usage' section because there is an entry in the globalimagelinks table for it - see the third line of the resultset here https://quarry.wmflabs.org/query/23571
... so it looks like this particular bug could be caused by EITHER
- an error writing to the globalimagelinks table in the GlobalUsage extension (I've been through the code here, and can't see how it'd be possible to add a link to a non-existent page, but the code is new to me and I could easily be missing something)
- an error writing to the globalimagelinks table when transferring the file data from its original location to commons ... @Magog_the_Ogre I don't know how you copied the data across, but perhaps you used a tool that might have a bug in it?