Jump to content

User:TheTVExpert/scriptDocumentationTabs

From Wikipedia, the free encyclopedia

User:TheTVExpert/scriptDocumentationTabs.js is a script that adds a link on User Script pages and Documentation, to allow for switching between the two.

Installation

[edit]

To install the script, add:

importScript('User:TheTVExpert/scriptDocumentationTabs.js'); // Backlink: [[User:TheTVExpert/scriptDocumentationTabs.js]]

to Special:MyPage/common.js.

Usage

[edit]

After installing, navigate to a User Script page, or the documentation for a User Script, and click the "Documentation" or "Script" link that appears text to the Talk page link. If the link says "Documentation", it will take you to that script's documentation. If the link says "Script", it will take to that documentation's script. A link will only appear if the script has a documentation or if the documentation is for a script.

Bugs

[edit]

Please report any bugs on this script's talk page.