Hi all,
I would like to add a point to the top navigation. e.g. upload file?
what is the best way to do this ?
BR,
Handrik
Hi all,
I would like to add a point to the top navigation. e.g. upload file?
what is the best way to do this ?
BR,
Handrik
What is the top navigation? The links in the sidebar below the logo? See Manual:Interface/Sidebar.
Add the following to your common.js (or global.js or skin-specific JS file):
mw.util.addPortletLink(
'p-personal', '/wiki/Special:Upload',
'Upload file', 'pt-upload-link', 'Upload a file', '', '#pt-mytalk'
);