Hello, I'm setting up a multi-language wiki family, with the wikis all using a shared file repo. Currently the language wikis correctly display media from the shared file repo wiki, but I'd like any file uploads on the language wikis to be redirected to the shared file repo wiki (mediapool).
The documentation for $wgUploadNavigationUrl (http://www.mediawiki.org/wiki/Manual:$wgUploadNavigationUrl) states
Point the upload navigation link to an external URL. Useful if you want to use a shared repository by default without disabling local uploads, e. g.:
I've assigned this setting the URL of the mediapool wiki Special:Upload page for all language wikis, but contrary to the documentation, file uploads on the local wikis are not redirected, and indeed any files uploaded on the language wikis remain local, unavailable to the mediapool wiki.
Anyone have any ideas/suggestions?
Thanks Andru
With fresh eyes, I now see that the intention for this setting is actually just to change the navigation link in the sidebar, not to redirect Special:Upload (unless it's a redlink), which it does indeed do as stated. Since this leaves Special:Upload available to people like me who just enter the address directly, I'm disabling local uploads.
If anyone knows of an easy way to redirect Special:Upload to a shared repo, please let me know
:)
On 2013-05-11 17:44:52 +0000, Andru Vallance said:
Hello, I'm setting up a multi-language wiki family, with the wikis all using a shared file repo. Currently the language wikis correctly display media from the shared file repo wiki, but I'd like any file uploads on the language wikis to be redirected to the shared file repo wiki (mediapool).
The documentation for $wgUploadNavigationUrl (http://www.mediawiki.org/wiki/Manual:$wgUploadNavigationUrl) states
Point the upload navigation link to an external URL. Useful if you want to use a shared repository by default without disabling local uploads, e. g.:
I've assigned this setting the URL of the mediapool wiki Special:Upload page for all language wikis, but contrary to the documentation, file uploads on the local wikis are not redirected, and indeed any files uploaded on the language wikis remain local, unavailable to the mediapool wiki.
Anyone have any ideas/suggestions?
Thanks Andru _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org