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
editTo install the script, add:
importScript('User:TheTVExpert/scriptDocumentationTabs.js'); // Backlink: [[User:TheTVExpert/scriptDocumentationTabs.js]]
Usage
editAfter 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
editPlease report any bugs on this script's talk page.