Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// Beta test for new HotCat.if(wgNamespaceNumber>=0)importScript('User:Lupo/c.js');// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript');// Popupsmw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-navpop.css','text/css');mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript');mw.loader.load('https://it.wikipedia.org/w/index.php?title=Utente:Emc2/strings-it.js&action=raw&ctype=text/javascript');functioncatsattop(){// alert('wgAction is ' + wgAction);//disabling the gadget on upload formif(!wgIsArticle&&wgAction!='submit')return;varcats=document.getElementById('catlinks');varbc=document.getElementById('bodyContent');varf=document.getElementById('file');if(f!=null){f.appendChild(cats);}else{bc.insertBefore(cats,bc.childNodes[0]);}}hookEvent('load',catsattop);// Load the lite version of log4javascript// mw.loader.load('http://log4javascript.org/js/log4javascript_lite.js');// Catwatch2mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Ianezz/Catwatch2.js&action=raw&ctype=text/javascript');hookEvent('load',function(){catwatch2.setCategories(["Province of Trento"]);});