User:TechFilmer/global.js

// /* Creates edit buttons. By User:Thailog /* if (wgSiteName != "My Wiki Name") { rest of the code }

*/

/* not on Avatar Wiki */

if ((wgAction == 'submit' || wgAction == 'edit') && mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/avatar/images/4/4d/Support_Button.png", "speedTip": "Support", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/avatar/images/9/9f/Oppose_Button.png", "speedTip": "Oppose", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/avatar/images/7/7e/Neutral_Button.png", "speedTip": "Neutral", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/avatar/images/a/a5/Keep_Button.png", "speedTip": "Vote to keep", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/avatar/images/3/3c/Delete_Button.png", "speedTip": "Vote to delete", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/avatar/images/4/4d/Merge_Button.png", "speedTip": "Vote to merge", "tagOpen": " ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/avatar/images/b/b3/Done_Button.png", "speedTip": "Done", "tagOpen": "✅ ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/avatar/images/f/fd/Not_Done_Button.png", "speedTip": "Not done", "tagOpen": "❌ ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/sk001306/images/thumb/8/82/Gavel1.jpg/25px-Gavel1.jpg",

/* everywhere */ "speedTip": "Close Discussion", "tagOpen": "", "sampleText": "result of discussion"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/OCR-A_char_Number_Sign.svg/20px-OCR-A_char_Number_Sign.svg.png", "speedTip": "Number Sign", "tagOpen": "# ", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/c/c8/Button_redirect.png?1", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",		"tagClose": "", "sampleText": "Redirect link"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/8/8c/Button_RedX.png?1", "speedTip": "Delete", "tagOpen": "", "sampleText": "Delete"}; } /* Chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); /* Images */ importScriptPage("Callofduty4/OldFilePages.js", "c"); /* Anon IP */ importScriptPage('RevealAnonIP/usercode.js', 'dev'); /* User Page Create */ importArticles({   type: 'script',    articles: [        'w:dev:QuickCreateUserPage/code.js'    ] }); /* Wikimarks */ importArticles({   type: 'script',    articles: [        'u:wikimarks:Client.js'    ] }); //