You could set $wgUploadNavigationUrl to false, and then the sidebar link will only appear if the user has upload permissions. The link however is for 'local uploads', so it's still going to be the traditional upload form. https://www.mediawiki.org/wiki/Manual:$wgUploadNavigationUrl
You could redirect to a different URL, but MsUpload does not implement an alternate SpecialPage or form for upload. So, for example, if you had Extension:UploadWizard installed, you could direct to that form for the sidebar link.
$wgExtensionFunctions[] = function() { $GLOBALS['wgUploadNavigationUrl'] = SpecialPage::getTitleFor( 'UploadWizard' )->getLocalURL(); return true;};
Greg Rundlett https://eQuality-Tech.com https://freephile.org
On Thu, Nov 22, 2018 at 10:05 AM Emanuele D'Arrigo manu3d@gmail.com wrote:
Hi everybody,
in the context of a small, private wiki installation for my neighborhood (about 100 users), after strong requests to simplify the upload process, I have installed MsUpload, an extension that seems to provide the right level of simplicity for our users.
However, the sidebar still has an "Upload File" link pointing to the default upload page, which is confusing for our average user.
Does anybody knows how to permanently remove that link? Or perhaps how to redirect it to an arbitrary page on the wiki?
Kind regards,
Manu _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l