User:Luístro/ScriptLibrary.js

importScript('User:Equazcion/ScriptInstaller.js');//install and uninstall module $('#p-interaction').clone(true).insertAfter($('#p-interaction')).addClass('mylinks').removeAttr('id').find('h3').text('Script Library'); $('.mylinks li').remove; $('.mylinks .body ul').append('Script List') //if (wgPageName.lastIndexOf('.js') == wgPageName.length - 3 && (window.location.href.slice(window.location.href.length-9) != "common.js")) { //  var doc = window.location.href.slice(0, window.location.href.length-3); //$('.mylinks .body ul').append('Documentation'); //$('.mylinks .body ul .myLinks2').attr("href", doc); }