User:Rocket000/customEditButtons.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
Documentation for this user script can be added at User:Rocket000/customEditButtons. |
//<nowiki>
if(mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1e/Button_font_color.png",
"speedTip": "Colored text",
"tagOpen": "<span style=\"color:COLOR\">",
"tagClose": "</span>",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png",
"speedTip": "Support",
"tagOpen": "* {{Support}} ",
"tagClose": " ~~~~",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png",
"speedTip": "Oppose",
"tagOpen": "* {{Oppose}} ",
"tagClose": " ~~~~",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_neutre.png",
"speedTip": "Neutral",
"tagOpen": "* {{Neutral}} ",
"tagClose": " ~~~~",
"sampleText": ""};
}
//</nowiki>