User:Rrv1988/monobook.js

//

function winc(s) { s = s.replace(/^\[\[/, ).replace(/\]\]$/, ); document.write(' '); }

winc('User:Voice_of_All/Addtabs/monobook.js'); // Helper tools winc('User:Cactus.man/Scripts/MoreTabs.js');        // Additional tabs for user & project pages winc('User:Voice_of_All/Revert/monobook.js'); // Diff page links winc('User:Voice_of_All/Deletion/monobook.js'); // AfD/PfD/Copyvio and tagging tabs winc('User:VoA/monobook.js'); // Admin-like RC Patrol tools

/**** Add links to the toolbox ****/

addOnloadHook(Mainfast) function Mainfast {   addToolBoxLinks; }

function addToolBoxLinks {   var tb = document.getElementById('p-tb').getElementsByTagName('ul')[0]; var afdtime = new Date; var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; afdtime.setUTCDate(afdtime.getUTCDate - 7); addlilink(tb, '/wiki/Special:Newpages', 'New pages', ''); addlilink(tb, '/wiki/Special:Shortpages', 'Short pages', ''); addlilink(tb, '/wiki/Special:Log', 'Logs', ''); addlilink(tb, '/wiki/Template:Deletiontools', 'Deletion tools', ''); addlilink(tb, '/wiki/Wikipedia:Articles_for_deletion/Log/' + afdtime.getUTCFullYear       + '_' + months[afdtime.getUTCMonth] + '_' + afdtime.getUTCDate, 'Week old AfD', ''); addlilink(tb, '/wiki/Wikipedia:Disambiguation_pages_with_links', 'Dab list', ''); addlilink(tb, '/wiki/Wikipedia:Template_messages/User_talk_namespace', 'Talk messages', ''); addlilink(tb, '/wiki/User:Alphax/special', 'Special characters', ''); addlilink(tb, '/wiki/User:Alphax/monobook.js', 'Monobook.js', ''); addlilink(tb, '/wiki/User:Alphax/monobook.css', 'Monobook.css', ''); addlilink(tb, '/wiki/User:Alphax/Sandbox', 'My sandbox', ''); addlilink(tb, '/wiki/WP:ICT', 'Image Copyright tags', ''); }

//