From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/*

Adds a link to the dashboard of your choice to the top bar.



Installation: Add the following line of code to your common.js:

importScript( 'User:Mdaniels5757/PersonalDashboardLink.js' ); // Backlink: [[:commons:User:Mdaniels5757/PersonalDashboardLink.js]]



Note: By default, the link is to 'User:YourUserName/Dashboard',

but you can change it by adding the following line to your common.js,

before where you add the script in your common.js:



var dashboardPath = 'Namespace:Title/MaybeASubpage/OrTwo' // I'm special.

*/



// This just loads the script from Commons.

mw.loader.load('//commons.wikimedia.org/?title=User:Mdaniels5757/PersonalDashboardLink.js&action=raw&ctype=text/javascript'); 



//[[Category:Wikipedia scripts]]