2014-01-25 23:09:06 +00:00
|
|
|
( function ( mw ) {
|
2014-04-07 12:32:36 +00:00
|
|
|
var iconPath = mw.config.get( 'wgExtensionAssetsPath' ) + '/Math/images/';
|
|
|
|
mw.toolbar.addButton( {
|
|
|
|
imageFile: iconPath + 'button_math.png',
|
|
|
|
speedTip: mw.msg( 'math_tip' ),
|
|
|
|
tagOpen: '<math>',
|
|
|
|
tagClose: '</math>',
|
|
|
|
sampleText: mw.msg( 'math_sample' ),
|
|
|
|
imageId: 'mw-editbutton-math'
|
|
|
|
} );
|
2014-01-25 23:09:06 +00:00
|
|
|
} ( mediaWiki ) );
|