MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 208: Line 208:
}
}
});
});
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"template": {
label: 'flannel',
type: 'button',
icon: 'http://amwellclear.co.uk/w/images/5/57/flannel.png',
action: {
type: 'encapsulate',
options: {
pre: "{{f|",
post: "}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"template": {
label: 'long dash',
type: 'button',
icon: 'http://amwellclear.co.uk/w/images/5/57/dash.png',
action: {
type: 'encapsulate',
options: {
pre: "—",
post: ""
}
}
}
}
});
};
};


Navigation menu