Topic on Project:Support desk

Visual Editor Image upload with Wiki family

3
94.174.26.183 (talkcontribs)

We have a Wiki family, the images and users are shared under commons.

$wgForeignFileRepos is set and the sites are loading the images from commons without problem, we can also upload images on commons.

However when we try to upload/insert images with Visual Editor, we get the error message: File uploads are disabled.

Please let me know how we can enable file uploads with Visual Editor to commons. Thanks!

This post was hidden by Clump (history)
94.174.26.183 (talkcontribs)

Any help it would be great.

The manual says that I should set the $wgForeignUploadTargets.

I tried $wgForeignUploadTargets = ['commons.wikivet.net']; but then I get an error This wiki is not configured to upload files to the requested foreign file repository.

Please let me know what I need to change.

Reply to "Visual Editor Image upload with Wiki family"