User:Mifter/common.js

This is an old revision of this page, as edited by Mifter (talk | contribs) at 00:21, 28 November 2018 (test here). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
$.wikiLoveOptions.types.barnstars.subtypes.invisible= 
							fields: [ 'message' ], // fields to ask for in form
							option: mw.msg( 'Invisible' ), // option listed in the select list
							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)
							title: mw.msg( 'The Invisible Barnstar' ), // title that appears inside the award box (optional)
							image: 'Invisible Barnstar Hires.png' // image for the award
							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)
};