[Mozile] New MediaWiki editing demo

James A. Overton james at overton.ca
Fri Sep 1 14:19:48 EDT 2006


	I've spent most of the week working on a new demo showing how Mozile  
0.8 can edit MediaWiki articles. MediaWiki is the code that runs  
Wikipedia and people have been talking about adding WYSIWYG for a  
long time. Besides being a neat application, I'm hoping it will  
attract some new interest to Mozile.

Demo: http://mozile.mozdev.org/0.8/demos/mediawiki.html
More Info: http://meta.wikimedia.org/wiki/WYSIWYG_editor

	The demo uses XSLT to convert HTML into wiki markup. A bunch of new  
stuff was added this week to support the demo:
- New mozile.xml.transform() method.
- New GUI show() and hide() methods.
- Preliminary support for non-editable regions using  
mozile.protectElement().
- New mozile.save.tidy module. Takes a DOM node and generates a  
string which looks similar to the output of HTML Tidy. Required  
because IE can't do XSLT on HTML, so we convert it to nice XHTML first.
- New simpler MES in lib/xhtml-basic.rng

Full change log: http://mozile.mozdev.org/0.8/ChangeLog

James


More information about the Mozile mailing list