User:Yardhog/wikia.js

//Please remove any old Qlic. var QLicensebuttonFirst = false; //Adds the button before the selector var QLicenseDebug = false; //Debug to console [You need firebug if firefox, else just press ctrl + shift + J at chrome] var QLicenseUseOutGoingLayout = false; //adds the thing outside of the layout [Oasis pl0x] importScriptPage('User:Cakemix/Qlicensev2.js', 'callofduty'); // ******************* // Custom edit buttons // ******************* if (wgAction == "edit" || wgAction == "submit") { /***** Custom edit buttons *****/ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/callofduty/images/5/5e/Button_welcome_141.png", "speedTip": "Welcome user (TF141)", "tagOpen": "", "tagClose": "", "sampleText": wgUserName}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/callofduty/images/6/60/Button_welcome_price.png", "speedTip": "Welcome user (Price)", "tagOpen": "", "tagClose": "", "sampleText": wgUserName}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20120128095141/callofduty/images/2/2c/CreeperForEmote.jpg", "speedTip": "Vandalism Template", "tagOpen": "", "tagClose": "", "sampleText": "PAGE"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20100708142061/callofduty/images/b/b9/Button_Bblock.jpg", "speedTip": "B", "tagOpen": "", "tagClose": "", "sampleText": "DURATION"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20100502153339/callofduty/images/1/17/Button_Ssig.jpg", "speedTip": "Signature", "tagOpen": " ~"+""+"", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#redirect",               "tagClose": "", "sampleText": "PAGE"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20120128095141/callofduty/images/2/2c/CreeperForEmote.jpg", "speedTip": "Bad Edit Template", "tagOpen": "", "tagClose": "", "sampleText": "PAGE"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/9d/Button_halt.png", "speedTip": "Trolling", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png", "speedTip": "Dont Delete Disscusions", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://sccreader.files.wordpress.com/2008/11/copyrightsymbol.gif", "speedTip": "Copyrighted Media", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.clker.com/cliparts/4/2/0/c/11954452301922936529public_domain_icon_blue_01.svg.hi.png", "speedTip": "Public Domain", "tagOpen": "", "tagClose": "", "sampleText": ""}; } } // *********************** // End custom edit buttons // ***********************