I have a mediawiki environment for a limited number of users and a login isnt needed.
The upload option in the page editor says "Upload could not be saved (UploadStashNotLoggedInException): "No user is logged in. Files must belong to users. "
If I go to Special:Upload everything is fine. The anonymous can upload form there., just not in the page editor of the wiki.