User:SpeedyGonsales/extraeditbuttons.js

// //=========================================================================== // hr: Jedan gumbek više, nismo pohlepni ;-) (tri, pohlepa raste sve više :-) // en: Add 3 buttons to the editpanel //=========================================================================== function InsertButtonsToToolBar {

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_smiley_face_smile.png", "speedTip": "Poruka IP-u", "tagOpen": " ~", "tagClose": "", "sampleText": ""} mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Pictogram_voting_info.svg/15px-Pictogram_voting_info.svg.png", "speedTip": "izvori", "tagOpen": "== Izvori ==\n\n", "tagClose": "", "sampleText": ""}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Pictogram_voting_oppose.svg/15px-Pictogram_voting_oppose.svg.png", "speedTip": "NSbris", "tagOpen": "", "tagClose": "", "sampleText": ""} } $( InsertButtonsToToolBar ); //