Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
/* Math editor based on mathJax */
if ($.inArray(wgAction,['edit','submit'])!=-1) mw.loader.using(['jquery.wikiEditor','jquery.wikiEditor.toolbar','ext.wikiEditor','ext.wikiEditor.toolbar'],function(){
function mathDialog(){
mw.loader.using(['jquery.ui.dialog','ext.math.mathjax.enabler'],function(){
Line 27 ⟶ 29:
});
}
$(function(){
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
Line 40 ⟶ 42:
}
} );
})
})
|