User:Ianezz/vector.js
Jump to navigation
Jump to search
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.
The accompanying .css page for this skin is at User:Ianezz/vector.css. |
- Report page listing warnings and errors.
// 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');
// Popups
mw.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');
function catsattop() {
// alert('wgAction is ' + wgAction);
//disabling the gadget on upload form
if (!wgIsArticle && wgAction != 'submit') return;
var cats = document.getElementById('catlinks');
var bc = document.getElementById('bodyContent');
var f = 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');
// Catwatch2
mw.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"
]);
});