Thanks for the explanation. My application interfaces MediaWiki and various content management systems using the MediaWIki API. Put simply, it adds a textarea to a CMS where users can edit a specific MediaWiki page. I'm looking for some editing tool that facilitates the authoring of wiki markup in that textarea. Do you think VisualEditor, properly configured, will be able to do this? Are there any other options?
Jim
On Mon, May 21, 2012 at 3:46 PM, Trevor Parscal tparscal@wikimedia.org wrote:
VisualEditor is designed for MediaWiki, but technically is still fairly stand-alone. The idea of using it outside of MediaWiki seems to glaze over the back end systems that are going to be required to edit actual pages.
VisualEditor is the front-end, it does not parse Wikitext, it reads in and emits out annotated HTML. It depends on Parsoid to convert from Wikitext to annotated HTML and back again after editing. If you wanted to use VisualEditor to edit arbitrary HTML, that should work (soon) with some restrictions because our concept of annotated HTML has certain limitations including only supporting certain types of elements and not supporting all conceivable HTML-isms.
I would love to see our work on VE be used elsewhere, but it's not a central goal at this time to make it generic enough for general HTML editing.
- Trevor
On Sat, May 19, 2012 at 12:26 PM, Jim Safley jimsafley@gmail.com wrote:
Will I be able to implement the Visual Editor outside MediaWiki? For instance, could I install it as a JavaScript library in a separate application?
I notice that the original edit toolbar and the toolbar that comes with the WikiEditor extension are coupled so tightly to MediWiki that it's near impossible to integrate them into a separate application. (If I'm wrong, please educate me.) I wonder if the same will apply to the rich-text editor.
Thanks, Jim
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l