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
Take a look at:
https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
If the link is in the sidebar you can just edit MediaWiki:Siderbar on your wiki and remove it. If its in the toolbox section it is a little more involved as described in the above link.
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
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
On Thursday, November 22, 2018, 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
Put the following on the page MediaWiki:common.css on your wiki:
#t-upload {display:none}
On Thu, 22 Nov 2018 at 17:35, Brian Wolff bawolff@gmail.com wrote:
Put the following on the page MediaWiki:common.css on your wiki:
#t-upload {display:none}
Thank you Brian! This worked like a charm! =)
It does require users to refresh their cache however. Does this eventually happens for all users or do I have to explicitly tell them to do it? Many are not exactly advanced computer users and they might stare at me like I'm talking Klingon if I tell them "refresh your cache"... =)
Kind regards,
Manu
In principle its supposed to happen automatically after about 5 minutes.
In practise - i dont think people test what the cache purging behaviour is on a regular basis so if its not clearing after 5 minutes, im not sure.
-- brian
On Friday, November 23, 2018, Emanuele D'Arrigo manu3d@gmail.com wrote:
On Thu, 22 Nov 2018 at 17:35, Brian Wolff bawolff@gmail.com wrote:
Put the following on the page MediaWiki:common.css on your wiki:
#t-upload {display:none}
Thank you Brian! This worked like a charm! =)
It does require users to refresh their cache however. Does this eventually happens for all users or do I have to explicitly tell them to do it? Many are not exactly advanced computer users and they might stare at me like
I'm
talking Klingon if I tell them "refresh your cache"... =)
Kind regards,
Manu _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org