Jump to content

User:Wugapodes/Add tools links

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Wugapodes (talk | contribs) at 00:32, 20 July 2019 (document). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

You can add arbitrary internal links into the "Tools" section of your sidebar. You will need to copy {{subst:User:Wugapodes/Add tools links.js}} into your common.js file (e.g., User:Example/common.js) which will give you the function addToolsLink().

You will need to specify a title (the text you want to appear in the sidebar), target (the page title), and tooltip (what text should be shown on hover) in that order. So to get a link to the New Pages Feed in your sidebar, you'd want to add the following text to your common.js page:

{{subst:User:Wugapodes/Add tools links.js}}; addToolsLink('Page curation','Special:NewPagesFeed','New page curation feed');