MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Amwelladmin (talk | contribs) Created page with "→Any JavaScript here will be loaded for all users on every page load.: →Any JavaScript here will be loaded for all users on every page load.: /* Good site for butto..." |
Amwelladmin (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_plantilla.png", | "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_plantilla.png", | ||
"speedTip": "tag (links and categorises)", | "speedTip": "tag (links and categorises)", | ||
"tagOpen": "{{ | "tagOpen": "{{tag|", | ||
"tagClose": "}}", | "tagClose": "}}", | ||
"sampleText": "text"} | "sampleText": "text"} | ||
Line 16: | Line 16: | ||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_templatelink.png", | "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_templatelink.png", | ||
"speedTip": "tag (links and categorises and allows a short name)", | "speedTip": "tag (links and categorises and allows a short name)", | ||
"tagOpen": "{{ | "tagOpen": "{{t2|", | ||
"tagClose": "}}", | "tagClose": "}}", | ||
"sampleText": "text"} | "sampleText": "text"} | ||
Line 30: | Line 30: | ||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png", | "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png", | ||
"speedTip": "isdaprov", | "speedTip": "isdaprov", | ||
"tagOpen": "{{ | "tagOpen": "{{isdaprov|", | ||
"tagClose": "}}", | "tagClose": "}}", | ||
"sampleText": "provision"}; | "sampleText": "provision"}; | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { | |||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png", | |||
"speedTip": "gtmaaprov", | |||
"tagOpen": "{{gtma|", | |||
"tagClose": "}}", | |||
"sampleText": "provision"}; | |||
mwCustomEditButtons[mwCustomEditButtons.length] = { | |||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/34/Vector_toolbar_insert_reference_button.png", | "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/34/Vector_toolbar_insert_reference_button.png", | ||
"speedTip": "gsspprov", | "speedTip": "gsspprov", |
Revision as of 13:38, 10 July 2012
/* Any JavaScript here will be loaded for all users on every page load. */ /* Any JavaScript here will be loaded for all users on every page load. */ /* Good site for buttons: http://commons.wikimedia.org/wiki/Mediawiki_edit_toolbar */ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_plantilla.png", "speedTip": "tag (links and categorises)", "tagOpen": "{{tag|", "tagClose": "}}", "sampleText": "text"} mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_templatelink.png", "speedTip": "tag (links and categorises and allows a short name)", "tagOpen": "{{t2|", "tagClose": "}}", "sampleText": "text"} mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT [[", "tagClose": "]]", "sampleText": "Insert text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png", "speedTip": "isdaprov", "tagOpen": "{{isdaprov|", "tagClose": "}}", "sampleText": "provision"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png", "speedTip": "gtmaaprov", "tagOpen": "{{gtma|", "tagClose": "}}", "sampleText": "provision"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/34/Vector_toolbar_insert_reference_button.png", "speedTip": "gsspprov", "tagOpen": "{{gp}}", "tagClose": "}}", "sampleText": "provision"}; }