User:Quarenon/smileys.js

/** * * smileys.js * * Add custom toolbar buttons to insert smileys. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */

if ((wgAction == 'edit' || wgAction == 'submit) && wgCustomEditButtons) { mwCustomEditButtons.push({		'imageFile': 'http://images3.wikia.nocookie.net/runescape/images/f/fb/Smile.gif',		'speedTip': 'Smile',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images2.wikia.nocookie.net/runescape/images/8/80/Omg.gif',		'speedTip': 'Omg',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images2.wikia.nocookie.net/runescape/images/e/e0/Wink.gif',		'speedTip': 'Wink',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images2.wikia.nocookie.net/runescape/images/e/e3/Lol.gif',		'speedTip': 'Lol',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images3.wikia.nocookie.net/runescape/images/b/b9/Angry_emo.gif',		'speedTip': 'Angry',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images4.wikia.nocookie.net/runescape/images/5/5f/Blush_emo.gif',		'speedTip': 'Blush',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images1.wikia.nocookie.net/runescape/images/a/a9/Evil_emo.gif',		'speedTip': 'Evil',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images3.wikia.nocookie.net/runescape/images/4/4f/Kiss_emo.gif',		'speedTip': 'Kiss',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	});

mwCustomEditButtons.push({		'imageFile': 'http://images4.wikia.nocookie.net/runescape/images/1/10/Heart_emo.gif',		'speedTip': 'Heart',		'tagOpen': ,		'tagClose': ,		'sampleText': ''	}); }