User:Wugapodes/Add tools links

From Wikipedia, the free encyclopedia

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');