User:Donarius/common.js

//importScript('Utilizator:Strainu/MediaWiki:Gadget-Stockphoto.js' ); //importScript('Utilizator:Strainu/findargdups.js'); // User:Frietjes/findargdups //importScript('Utilizator:Strainu/ve.js'); //importScript('MediaWiki:Gadget-cache.js');

//mw.loader.load( '/w/index.php?title=MediaWiki:DiacriticsPoll.js&action=raw&ctype=text/javascript' ); //mw.loader.load( '/w/index.php?title=Utilizator:Tarunbod/common.js&action=raw&ctype=text/javascript' );

// Wiki-Labels (workaround for T35355) //mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-WikiLabels-loader.js&action=raw&ctype=text/javascript') mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Dr_pda/prosesize.js&action=raw&ctype=text/javascript');

//catALot/////////////////////////////////////// mw.loader.using(['jquery.ui', 'mediawiki.util'], function{	mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot'); }); ////////// Cat-A-Lot user preferences ////////// window.catALotPrefs = {"watchlist":"preferences","minor":true,"editpages":true,"docleanup":false,"subcatcount":10}; ////////////////////////////////////catALotEnd//

//mw.loader.load('//ro.wikipedia.org/w/index.php?title=MediaWiki:Gadget-sidebar.js&action=raw&ctype=text/javascript' ); function userAlert { var user = mw.user.getName; var link = document.getElementById('msg-' + user); if(link) link.style.display = 'inline'; }

$ (userAlert); $( function {	var $ul = $( '#p-lang ul' );	$ul.children.sort( function ( a, b ) { return a.classList[ 1 ].localeCompare( b.classList[ 1 ] ); } ).appendTo( $ul ); } )