User:Rzuwig/common.js

From Wikimedia Commons, the free media repository
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.
 // Dołączenie skryptu ze strony: [[User:Rzuwig/scripts/quickek.js]]
 importScript('User:Rzuwig/scripts/quickek.js');

popupFixRedirs=true
popupFixDabs=true
//<nowiki>

//catALot///////////////////////////////////////
////////// Cat-A-Lot user preferences //////////
window.catALotPrefs = {"watchlist":"preferences","minor":false,"editpages":false,"docleanup":false,"subcatcount":100};
////////////////////////////////////catALotEnd//
//</nowiki>

importScript('User:ZooFari/licensereviewer.js');

/* Ekstra linki na górze strony */
$(function()
{
	var elBefore = document.getElementById('pt-mytalk');
 
	var elNew = document.createElement('li');
	elNew.innerHTML='<a href="https://commons.wikimedia.org/wiki/Category:Media_requiring_renaming">RR</a>';
	elBefore.parentNode.insertBefore(elNew, elBefore);
	
});
	
	addOnloadHook(function()
{
	var elBefore = document.getElementById('pt-mytalk');
 
	var elNew = document.createElement('li');
	elNew.innerHTML='<a href="https://commons.wikimedia.org/wiki/Category:Flickr_images_needing_human_review">FLICKR</a>';
	elBefore.parentNode.insertBefore(elNew, elBefore);
 
});