User:Tresiden/monobook.js

importScript('User:AzaToth/twinkle.js');

importScript('User:Ioeth/friendly.js');

importScript('User:Lupin/recent2.js');

importScript('MediaWiki:LinkFixr.js');

importScript('User:AzaToth/morebits.js'); importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu'); importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css'); importScript('User:AzaToth/twinklewarn.js'); importScript('User:AzaToth/morebits.js'); importScript('User:AzaToth/twinklespeedy.js'); importScript('User:Henrik/js/live-edit-counter.js'); // importScript('User:Voice of All/Addtabs/monobook.js'); var WindowObjectReference; function openTab(url) { WindowObjectReference = window.open(url, "_blank", ""); } function addcountedit { var subpagename = wgTitle.split( '/' )[1]; if( (wgNamespaceNumber == '2' || wgNamespaceNumber == '3' || ( wgNamespaceNumber == '-1' && wgTitle == 'Contributions' )) && !subpagename ) { var countuser = wgTitle.split( '/' )[0]; if( wgNamespaceNumber == '-1' && wgTitle == 'Contributions') { if(!document.getElementById( 'contentSub' )) return; countuser = document.getElementById( 'contentSub' ).getElementsByTagName( 'a' )[0].getAttribute('title').split(':')[1]; }   addToolboxLink('javascript:openTab("http://en.wikipedia.org/w/api.php?action=query&list=users&ususers=' + encodeURIComponent(countuser.replace(/ /g, '+')) + '&usprop=editcount&format=yamlfm")', "Edit count", , , ''); } } //