Difference between revisions of "MediaWiki:Gadget-QuickPresets/defaultconf.js"

From Wikibase Personal data
Jump to navigation Jump to search
Line 30: Line 30:
 
pid: 126,
 
pid: 126,
 
values: ["empty"]
 
values: ["empty"]
}
+
},
 +
{
 +
name: "website",
 +
pid: 15,
 +
type: "string",
 +
values: []
 +
},
 
]
 
]
 
},
 
},
Line 49: Line 55:
 
qid: 401,
 
qid: 401,
 
name: "organization",
 
name: "organization",
defaults: [
+
defaults: []
{
 
name: "website",
 
pid: 15,
 
values: []
 
},
 
]
 
 
},
 
},
 
];
 
];

Revision as of 22:45, 2 January 2020

quick_props = [
	{
		qid: null,
		name: "empty",
		defaults: [
			{
				name: "instance",
				pid: 3,
				values: [
					{name: "data controller", qid: 96},
					{name: "company", qid: 64},
					{name: "scholarly article", qid: 210},
				]
			}
		]
	},
	{
		qid: 0,
		name: "generic",
		defaults: [
			{
				name: "Wikidata ID",
				pid: 103,
				type: "string",
				values: []
			},
			{
				name: "Comment",
				type: "string",
				pid: 126,
				values: ["empty"]
			},
			{
				name: "website",
				pid: 15,
				type: "string",
				values: []
			},
		]
	},
	{
		qid: 96,
		name: "data controller",
		defaults: [
			{
				name: "compliance",
				pid: 32,
				values: [
					{name: "privacy policy", qid: 29},
		        ]
			},
		]
	},
	{
		qid: 401,
		name: "organization",
		defaults: []
	},
];