Jump to content

User:Wugapodes/Add tools links

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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