Shënim: Pas ruajtjes së parapëlqimeve ose kryerjes së ndryshimet, për t'ju shfaqur dallimet duhet të pastroni ruajtësin (cache) e shfletuesit. Pastrimi i ruajtësit të shfletuesve bëhet duke shtypur në të njëjten kohë Ctrl+Shift+Reload për Mozilla/Safari/Konqueror ose ctrl+shift+r për IE ose Ctrl+f5 për Opera: F5.

if ( typeof window.BawlModules == 'undefined' ) { window.BawlModules=[]; }
window.BawlModules.push({'load':['afterOpenForm'],'afterOpenFormFunc':function(emoInt){
	Bawl.moduleData.emoji = {};
	Bawl.moduleData.emoji.div = document.createElement('div');
	Bawl.moduleData.emoji.div.id = 'BawlEmojiContainer';
	Bawl.moduleData.emoji.divAll = document.createElement('div');
	Bawl.moduleData.emoji.divAll.id = 'BawlEmojiButtons';
	Bawl.moduleData.emoji.emojis = [ //descriptions copied from [[:Emoticons (Unicode block)]] (CC BY-SA 3.0) which is partially based on https://unicode.org/Public/UNIDATA/emoji/emoji-data.txt (https://www.unicode.org/license.txt)
		['😀','grinning face'],
		['😁','grinning face with smiling eyes'],
		['😂','face with tears of joy'],
		['😃','smiling face with open mouth (c.f. ☺)'],
		['😄','smiling face with open mouth and smiling eyes'],
		['😅','smiling face with open mouth and cold sweat'],
		['😆','smiling face with open mouth and tightly-closed eyes'],
		['😇','smiling face with halo '],
		['😈','smiling face with horns (c.f. 👿 "imp")'],
		['😉','winking face'],
		['😊','smiling face with smiling eyes'],
		['😋','face savouring delicious food'],
		['😌','relieved face'],
		['😍','smiling face with heart-shaped eyes'],
		['😎','smiling face with sunglasses'],
		['😏','smirking face'],
		['😐','neutral face (also used for "west wind" 西 in some Mahjong annotation)'],
		['😑','expressionless face'],
		['😒','unamused face'],
		['😓','face with cold sweat'],
		['😔','pensive face'],
		['😕','confused face'],
		['😖','confounded face'],
		['😗','kissing face'],
		['😘','face throwing a kiss'],
		['😙','kissing face with smiling eyes'],
		['😚','kissing face with closed eyes'],
		['😛','face with stuck-out tongue'],
		['😜','face with stuck-out tongue and winking eye'],
		['😝','face with stuck-out tongue and tightly-closed eyes'],
		['😞','disappointed face'],
		['😟','worried face'],
		['😠','angry face'],
		['😡','pouting face'],
		['😢','crying face'],
		['😣','persevering face'],
		['😤','Unicode: face with look of triumph, Apple: huffing with anger face'],
		['😥','disappointed but relieved face'],
		['😦','frowning face with open mouth'],
		['😧','anguished face'],
		['😨','fearful face'],
		['😩','weary face'],
		['😪','sleepy face'],
		['😫','tired face'],
		['😬','grimacing face'],
		['😭','loudly crying face'],
		['😮','face with open mouth'],
		['😯','hushed face'],
		['😰','face with open mouth and cold sweat'],
		['😱','face screaming in fear'],
		['😲','astonished face'],
		['😳','flushed face'],
		['😴','sleeping face'],
		['😵','dizzy face'],
		['😶','face without mouth (c.f. ⚇ "white circle with two dots")'],
		['😷','face with medical mask'],
		['😸','grinning cat face with smiling eyes'],
		['😹','cat face with tears of joy'],
		['😺','smiling cat face with open mouth'],
		['😻','smiling cat face with heart-shape eyes'],
		['😼','cat face with wry smile'],
		['😽','kissing cat face with closed eyes'],
		['😾','pouting cat face'],
		['😿','crying cat face '],
		['🙀','weary cat face'],
		['🙁','slightly frowning face'],
		['🙂','slightly smiling face'],
		['🙃','upside-down face'],
		['🙄','face with rolling eyes'],
		['🙅','face with "no good" gesture, with lower arms crossed, derived from the japanese gesture for "no". Intended as gender-neutral but represented as a woman on most platforms (Apple name: "Woman Gesturing No").'],
		['🙆','face with "ok" gesture, described as a person with arms raised above the head forming a "circle", interpreted as "OK sign" (derived from the japanese gesture for "OK").  Intended as gender-neutral but represented as a woman on most platforms (Apple name: "Woman Gesturing OK").'],
		['🙇','person bowing (dogeza), depicted as a man on most platforms (Apple name: "Man Bowing")'],
		['🙈','see-no-evil monkey'],
		['🙉','hear-no-evil monkey'],
		['🙊','speak-no-evil monkey'],
		['🙋','happy person raising one hand, a person raising one hand as if to answer a question, intended as gender-neutral but represented as a woman on most platforms (Apple name: "Happy Woman Raising One Hand")'],
		['🙌','person raising both hands in celebration, on many platforms depicted as just the raised hands (Apple name: "Hands Raised in Celebration")'],
		['🙍','person frowning'],
		['🙎','person with pouting face'],
		['🙏','person with folded hands (to indicate variously sorrow, regret, pleading, praying, bowing, thanking). In most platforms depicted as just the hand, pressed together but not folded (Apple name: "Hands Pressed Together").']
	];
	Bawl.moduleData.emoji.buttons = [];
	Bawl.moduleData.emoji.makeButton = function(int,emoji,desc){
		Bawl.moduleData.emoji.buttons[int] = new OO.ui.ButtonWidget({label:emoji,title:desc,framed:false});
		Bawl.moduleData.emoji.buttons[int].$button.attr('aria-label',desc);
		Bawl.moduleData.emoji.buttons[int].on('click',function(){ console.log(this);Bawl.insertMarkup('cI','',emoji+' ','',Bawl.focusNode,Bawl.focusOffset,Bawl.anchorNode,Bawl.anchorOffset)});
	}
	for(emoInt=0;emoInt<Bawl.moduleData.emoji.emojis.length;emoInt++) {
		Bawl.moduleData.emoji.makeButton(emoInt,Bawl.moduleData.emoji.emojis[emoInt][0],Bawl.moduleData.emoji.emojis[emoInt][1]);
	}
	Bawl.moduleData.emoji.horizontalLayout = new OO.ui.HorizontalLayout({items:Bawl.moduleData.emoji.buttons});
	Bawl.moduleData.emoji.divAll.append(Bawl.moduleData.emoji.horizontalLayout.$element[0]);
	Bawl.insertAfter($('#BawlCustomInserts')[0],Bawl.moduleData.emoji.divAll);
	if ( ! Bawl.moduleData.emoji.addedCSS ) {
		mw.util.addCSS('#BawlEmojiButtons .oo-ui-buttonElement-frameless.oo-ui-labelElement:first-child{margin-left:unset !important} #BawlEmojiButtons .oo-ui-buttonElement-button:active{border:none !important} #BawlEmojiButtons .oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button{border-width:0 !important}');
		Bawl.moduleData.emoji.addedCSS = 1;
	}
}});