User:Prahlad balaji/mytwinkle.js

/* Based on an old version of User:AzaToth/twinkle.js

Do not use this script, it may not load everywhere

This script is just to give me global TW access */

var pTwinkle = 'p-cactions'; if( skin == 'vector' && typeof $ != 'undefined' ) { pTwinkle = 'p-twinkle'; appendCSS( "div.extraMenu { background-position: 90% 50%;} div.extraMenu h5 a { padding-left: 0.4em; padding-right: 0.4em; width:auto; } div.extraMenu h5 a span {display:inline-block; font-size:0.8em; height:2.5em; font-weight: normal; padding-top: 1.25em; margin-right:14px; }" );

$(document).ready(function {   var newmenu = newVectorMenu( "p-twinkle", "TW" );    newmenu.insertBefore( $('#p-search') );  }); } function newVectorMenu( ID, title ) { if( ! ID ) return; var div = $(' '); var h5 = $(' ') var a = $(''); if( title ) a.append( $(' ' + title + ' ') ); h5.append( a ); div.append( h5 ); $('  ').appendTo(div); return div; }

importScript('User:AzaToth/morebits.js'); importScript('User:AzaToth/twinklefluff.js'); importScript('User:AzaToth/twinklewarn.js'); importScript('User:AzaToth/twinklearv.js'); importScript('User:AzaToth/twinklespeedy.js'); importScript('User:AzaToth/twinklediff.js'); importScript('User:AzaToth/twinkleprotect.js'); importScript('User:AzaToth/twinkleprod.js'); importScript('User:AzaToth/twinklexfd.js'); importScript('User:AzaToth/twinkleimage.js'); importScript('User:AzaToth/twinkleunlink.js'); importScript('User:AzaToth/twinkledelimages.js'); importScript('User:AzaToth/twinkledeprod.js'); importScript('User:AzaToth/twinklebatchdelete.js'); importScript('User:AzaToth/twinklebatchprotect.js'); importScript('User:AzaToth/twinkleimagetraverse.js'); importScript('User:AzaToth/twinklebatchundelete.js');