Jump to content

User:TheDJ/vector.js

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.
/* Load the geonotices. See [[Wikipedia:Geonotice]]. */
//mw.loader.load('http://geoiplookup.wikimedia.org');
//addOnloadHook(function() {
//  mw.loader.load( wgScript + '?title=User:TheDJ/Geonotice.js&action=raw&ctype=text/javascript&maxage=3600');
//});

//importScript('User:TheDJ/HotCat-commons.js');

//importScript('User:TheDJ/sharebox.js');
//importScript('User:Csewiki/vector.js');
//importScript('User:Cacycle/wikEd_dev.js');

//importScript('User:TheDJ/imagepop.js');
//importScript('User:TheDJ/monobook.js');

//importScript('User:Dispenser/alttextexplorer.js'); // Linkback: [[User:Dispenser/alttextexplorer.js]]
//importScript('User:TheDJ/IEsupreffix.js');

// importScript('User:Mr.Z-man/patrollinks.js');

//importScript('User:TheDJ/foldrefs.js');
//importScript('User:Manishearth/sidebartranslinks.js');

// importScript('User:TheJosh/Scripts/NewPagePatrol.js');
//importScript('User:Krinkle/nowcommonsreview.js ');

/*
$(document).ready( function() {
 function sharethis_toggle() {
   $(this).siblings('div.sharethis-content').toggle();
 }
 function sharethis_show() {
   $(this).siblings('div.sharethis-content').show();
 }
 function sharethis_hide() {
   $(this).siblings('div.sharethis-content').hide( 4000 );
 }


 $('div.sharethis-header').hover( sharethis_show ).click( sharethis_toggle ).focus( sharethis_toggle );
 $('div.sharethis-content').bind("mouseleave", sharethis_hide );
});
*/


//importScript( 'User:TheDJ/printdialog.js');

//mw.loader.load('http://toolserver.org/~magnus/wysiwtf/wysiwtf.js' );

// importScript('User:Quarl/util.js');
// importScript('User:Quarl/wikipage.js');

//mw.loader.load('https://en.wikipedia.org/w/index.php?title=User%3ATheDJ%2Fmobile-sidebar.js&action=raw&ctype=text%2Fjavascript', 'text/javascript');
//mw.loader.load('https://en.wikipedia.org/w/index.php?title=User%3ATheDJ%2Fmobile-sidebar.css&action=raw&ctype=text%2Fcss', 'text/css');

// if( window.devicePixelRatio > 1 ) {
// 	$(document.head).append( $.parseHTML( '<meta name="viewport" content="initial-scale=1.0, user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0, width=device-width">' ) );
// }
// 	mw.loader.load( '/w/index.php?title=User:TheDJ/mobileVector.css&action=raw&ctype=text/css', 'text/css' );
// 	mw.loader.using(['oojs-ui-core','oojs-ui.styles.icons-layout'], function() {
// 		$('#mw-panel').addClass('menu-closed');
// 		var menuIcon = new OO.ui.ButtonWidget( {
//   			icon: 'menu',
// 			iconTitle: 'Menu',
// 			framed: false,
// 		} );
// 		menuIcon.on('click', function () {
// 			$('#mw-panel').toggleClass('menu-closed menu-opened');
// 		} );
// 		menuIcon.$element.addClass('mw-panel-toggle');
// 		$('#left-navigation').append( menuIcon.$element );
// 	} );

// importScript('User:TheDJ/responsiveContent.js');