When a wiki is configured to use another wiki as a shared image repository via the ForeignDBViaLBRepo abstraction, the ForeignDBFile objects produced by the repo always try to load the User object of the image uploader in the context of the client wiki, rather than the repository wiki. If the user tables of the two wikis are different, this can result in incorrect attribution being displayed, or cryptic Cannot create a user with no name, no ID, and no actor ID errors.
Instead, ForeignDBFile instances should always use the user table of the repository wiki to load uploader info.