Hi, I am working on a ajax formula 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)
TODOs: *direct tex input via inputbox integration *findout a clever way of editing fractions, subscripts, superscripts, etc...
thanks, Juca
PS: Can anybody test it on IE ? I tested it only in Firefox. I'm on Linux... (-:
wikitech-l@lists.wikimedia.org