Jump to content

User:PrimeHunter/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by PrimeHunter (talk | contribs) at 23:59, 5 November 2015 (Add Hilarious Username to WikiLove). 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.
importScript('User:PrimeHunter/Subpages.js'); // Linkback: [[User:PrimeHunter/Subpages.js]]
importScript('User:PrimeHunter/Image tabs.js'); // Linkback: [[User:PrimeHunter/Image tabs.js]]
importScript('User:PrimeHunter/English_interface.js'); // Linkback: [[User:PrimeHunter/English interface.js]]
importScript('User:Mr. Stradivarius/gadgets/DiffOnly.js') // Linkback: [[User:Mr. Stradivarius/gadgets/DiffOnly.js]]
importScript('User:Mr. Stradivarius/gadgets/SearchEditLink.js') // Linkback: [[User:Mr. Stradivarius/gadgets/SearchEditLink.js]]

// Add Hilarious Username to WikiLove food options (not a food but use an existing type)
$.wikiLoveOptions.types.food.subtypes.hilarious = {
    fields: [ 'header', 'message' ], // fields to ask for in form
    option: 'Hilarious Username', // option listed in the select list
    descr: 'Hilarious Username may be posted to a user whose username made you chuckle',
    header: 'Hilarious Username', // header that appears at the top of the talk page post (optional)
    message: 'Your username is quite amusing. Thanks for the chuckle!',
    title: 'Hilarious Username',
    image: 'Felix Cat-Haha (transp sharp).png', // image for the item
    imageSize: '120px' // size to display image (optional)
};