Last modified: 2014-11-17 10:35:13 UTC
I am working on a ajax math editor for mediawiki. It is not
complete yet (theres still a lot of stuff to be done) but I would like
to let you all see it and give say what you think about it.
I am sending a svn patch file and a tar.bz2 containing images that I
created for the editor's math menu.
In this patch I have split ajax.js in tree files:
skins/common/ajax/ajax.js ---> only remains the core ajax funcionalities
skins/common/ajax/Search.js ---> the Search-As-You-Type feature
skins/common/ajax/MathPreview.js ---> the formula editor feature
I have also created the following global variables:
$wgUseMathPreview (defaults to true)
$wgUseAjaxSearch (defaults to true)
They are intended for feature-based configuration and they depend on
$wgUseAjax being true (i.e. somebody could disable only the formula
editor that is still experimental)
*direct tex input via inputbox integration
*findout a clever way of editing fractions, subscripts, superscripts, etc...
PS: Can anybody test it on IE ? I tested it only in Firefox. I'm on Linux... (-:
Created attachment 2058 [details]
patch that implements it.
this is the patch for the math editor as it is now.
new patches will come in the future, obviously. But this one already gives a
notion of what the editor is gonna be.
Created attachment 2059 [details]
package containing the images used in the editor UI
This bug seems assigned to the wrong component. The Math extension contains none of the code for input to it. This is an interface feature at its heart. It should be reassigned, but I am not sure to which component.
I think this is now addressed by the visual editor for math.