User:Mifter/common.js: Difference between revisions

Content deleted Content added
test here
add script
 
(12 intermediate revisions by the same user not shown)
Line 1:
importScript( 'User:MusikAnimal/responseHelper.js' ); // Backlink: [[User:MusikAnimal/responseHelper.js]]
mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
 
$.wikiLoveOptions.types.barnstars.subtypes.invisible=
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
fields: [ 'message' ], // fields to ask for in form
 
option: mw.msg( 'Invisible' ), // option listed in the select list
importScript('User:Writ Keeper/Scripts/massRevdel.js');
descr: mw.msg( 'The Invisible Barnstar is awarded to users who make significant and helpful contributions to the project, but have kept to the background without seeking recognition or reward for their work.' ), // description
 
header: mw.msg( 'The Invisible Barnstarr' ), // header that appears at the top of the talk page post (optional)
importScript('User:Bellezzasolo/Scripts/arb.js');
title: mw.msg( 'The Invisible Barnstar' ), // title that appears inside the award box (optional)
 
image: 'Invisible Barnstar Hires.png' // image for the award
mw.loader.load( '/w/index.php?title=User:MusikAnimal/userRightsManager.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:MusikAnimal/userRightsManager.js]]
imageSize: '120px' // size to display image (optional)
},
mw.loader.using( 'ext.wikiLove.Options', function() {
$.wikiLoveOptions.types.food.subtypes.falafe2l =
fields: [ 'header', 'message' ], // fields to ask for in form
option: 'Falafe2l', // option listed in the select list
descr: 'Falafel2 is a popular Middle Eastern street food made from ground chickpeas or fava beans and topped with salads, vegetables, and sauces. It is typically served in a pocket of pita bread.',
header: 'Some falafel for you2!', // header that appears at the top of the talk page post (optional)
image: 'Falafel award.png', // image for the item
imageSize: '120px' // size to display image (optional)
};