User:Angelprincess72/vector.js

/* */

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/c9/Button_strike.png", "speedTip": "Strikethrough", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://commons.wikimedia.org/wiki/File:Button_poem.png", "speedTip": "Poem", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/ea/Button_align_left.png", "speedTip": "Align Left", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/5f/Button_center.png", "speedTip": "Centered text", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a5/Button_align_right.png", "speedTip": "Align Right", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/56/Button_big.png", "speedTip": "Big", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/58/Button_small.png", "speedTip": "Small", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png", "speedTip": "Reference", "tagOpen": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/8e/Button_shifting.png", "speedTip": "Insert indent", "tagOpen": ' ', "tagClose": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/d/d5/Button_noinclude.png", "speedTip": "Noinclude", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/6/63/Button_includeonly.png", "speedTip": "Include Only", "tagOpen": ' ', "tagClose": ' ', "sampleText": "Insert text here"}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e4/Button_with_Celsius_degree.png", "speedTip": "Celsius", "tagOpen": '°C', "tagClose": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/0/06/Tag_green.png", "speedTip": "section begin", "tagOpen": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/d/dd/Tag_red.png", "speedTip": "section end", "tagOpen": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/8b/Button_m-dash.png", "speedTip": "M-dash", "tagOpen": '—', "tagClose": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/8b/Button_n-dash.png", "speedTip": "N-dash", "tagOpen": '–', "tagClose": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_romain.png", "speedTip": "Small caps", "tagOpen": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/6/6a/Button_sup_letter.png", "speedTip": "Superscript", "tagOpen": ' ', "tagClose": ' ', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/aa/Button_sub_letter.png", "speedTip": "Subscript", "tagOpen": ' ', "tagClose": ' ', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/11/Btn_toolbar_liste.png", "speedTip": "Bullet-point List", "tagOpen": '*', "tagClose": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/88/Btn_toolbar_enum.png", "speedTip": "Number List", "tagOpen": '#', "tagClose": '', "sampleText": ""}; };

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/48/Break-button-bg.png", "speedTip": "Break", "tagOpen": ' ', "tagClose": '', "sampleText": ""}; };

function halve{ var thumbElement = document.getElementById("ProofReadImage"); if (thumbElement == null) return; var match = thumbElement.src.match(/-([0-9]+)px/); if (match == null) return; thumbElement.src = thumbElement.src.replace(match[0], "-"+(match[1]/2)+"px"); };