Jump to content

User:Wugapodes/Add tools links

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wugapodes (talk | contribs) at 00:06, 20 July 2019 (documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(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}} 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}}; addToolsLink('Page curation','Special:NewPagesFeed','New page curation feed');