Thread:Project:Support desk/Wikimedia extension development: Adding a tab

I have a question related to developing a MediaWiki extension. We have developed the extension as a special page and now want to integrate it into the wiki site such that a link is displayed in a tab at the top of the page (just like the article and discussion tabs/links) which should link to the special page, and which should pass on information on which page we came from. Having searched the documentation I couldn't find anything related to this. Is this doable and if so how? Thanks for any advice.