User:PMG/common.js

importScript('User:Rzuwig/Gadget-quickeditcounter.js');
//importScript('User:Magnus Manske/sdc_tool.js') ;
//importScript("User:TechieNK/Cat2Data.js");

// here is gadet to add image to wikidata QXXXX from Commons category view. You drag and drop image. When you drag, on top of page will be shown
// table with mutiple options to add image to QXXX. Move image to one of them and image will be added to wikidata
mw.hook('userjs.img2wd.ready').add(function (setFav) { setFav(['P10', 'P18', 'P109', 'P154', 'P1442', 'P1801', 'P5555', 'P8592']); });

// modified by PMG tool created by Magnus to create QXXX and add Wikidata infobox
importScript('User:PMG/sdc tool.js') ;

// Tool written by MSZ for PMG to faster add structure data. It shows buttons on top of page to open ACDC, open Wikicrowd with current category (and all subcategories)
// so you can mark it faster. Open Depictor with current category (Remmeber to change ctegory depth in URL).
importScript('User:Msz2001/acdc_pmg.js');
// extra buttons for AC/DC 

// przedstawia / depicts
// window.acdcFavoriteProperties = [
// 	'P180',
// ];

// // zrobione podczas
// window.acdcFavoriteProperties = [
// 	'P10408',
// ];

// // miejsce wykonania
// window.acdcFavoriteProperties = [
// 	'P1071',
// ];

//przedstawia + miejsce wykonania
// window.acdcFavoriteProperties = [
// 	'P180',
// 	'P1071',
// ];

// // all
window.acdcFavoriteProperties = [
//	'P921',
	'P180',
	'P1071',
	'P793',	
	'P10408',
	'P6243',
	'P1433',
];

window.acdcEnableRemoveFeature = true ;