User:ערן/mathjaxdialog.js: Difference between revisions

Content deleted Content added
Maintenance: Replace use of deprecated ext.wikiEditor modules phab:T165112
Maintenance: mw:RL/MGU - Updated deprecated module name
Line 4:
if ($.inArray(wgAction,['edit','submit'])!=-1) mw.loader.using(['ext.wikiEditor'],function(){
function mathDialog(){
mw.loader.using(['jquery.ui.dialog','ext.math.mathjax.enabler'],function(){
var mathEditor=$('<div>');
var mathInput=$('<input>',{dir:'ltr'}).appendTo(mathEditor);