MediaWiki:Gadget-extra-toolbar-buttons-core.js: Difference between revisions
Content deleted Content added
reverting self due to delay |
use protocol relative urls |
||
Line 10:
if (mwCustomEditButtons) {
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Redirect",
"tagOpen": "#REDIRECT [[",
Line 18:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Strike",
"tagOpen": "<s>",
Line 26:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Line break",
"tagOpen": "<br />",
Line 34:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Superscript",
"tagOpen": "<sup>",
Line 42:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Subscript",
"tagOpen": "<sub>",
Line 50:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Small",
"tagOpen": "<small>",
Line 58:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Insert hidden Comment",
"tagOpen": "<!-- ",
Line 66:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Insert a picture gallery",
"tagOpen": "\n<gallery>\n",
Line 74:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Insert block of quoted text",
"tagOpen": "<blockquote>\n",
Line 82:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Insert a table",
"tagOpen": '{| class="wikitable"\n|',
Line 90:
mwCustomEditButtons.push({
"imageFile": "
"speedTip": "Insert a reference",
"tagOpen": "<ref>",
Line 170:
function initializeRefTools() {
if ( typeof refToolbarInstalled == 'undefined' ) {
▲ importScriptURI('http://en.wikipedia.org/w/index.php?title=MediaWiki:RefToolbarBase.js&action=raw&ctype=text/javascript');
if( typeof $.wikiEditor != 'undefined' && typeof $.wikiEditor.modules.dialogs != 'undefined' ) {
importScript('MediaWiki:RefToolbar.js');
|