MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 297: Line 297:
}
}
}
}
});};
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"template": {
label: 'isdaanat',
type: 'button',
icon: 'http://amwellclear.co.uk/w/images/e/ed/Button_I.PNG',
action: {
type: 'encapsulate',
options: {
pre: "{{isdaanat|CLAUSE}}",
post: ""
}
}
}
}
});
};