| 1 | # VisualEditor |
| 2 | |
| 3 | VisualEditor provides a visual editor for wiki pages. It is written in |
| 4 | JavaScript and runs in a web browser. |
| 5 | |
| 6 | It uses the Parsoid parser to convert wikitext documents to annotated HTML |
| 7 | which the VisualEditor is able to load, modify and emit back to Parsoid at |
| 8 | which point it is converted back into wikitext. |
| 9 | |
| 10 | For more information about these projects, check out the [VisualEditor][] |
| 11 | and [Parsoid][] pages on mediawiki. |
| 12 | |
| 13 | |
| 14 | ## Developing and installing |
| 15 | |
| 16 | For information on installing VisualEditor on a local wiki, please |
| 17 | see <https://www.mediawiki.org/wiki/Extension:VisualEditor> |
| 18 | |
| 19 | For information about running tests and contributing code to VisualEditor, |
| 20 | see [CONTRIBUTING.md](./CONTRIBUTING.md). Patch submissions are reviewed and managed with |
| 21 | [Gerrit][]. There is also [API documentation][] available for VisualEditor. |
| 22 | |
| 23 | |
| 24 | ## Terminology |
| 25 | |
| 26 | * CE: ContentEditable |
| 27 | * DM: Data model |
| 28 | * Invocation: Here the act of calling a template from a page, visible as e.g. `{{reflist}}` in the wikitext. |
| 29 | * MW: MediaWiki |
| 30 | * Page: See <https://www.mediawiki.org/wiki/OOUI/Layouts/Booklets_and_Pages> |
| 31 | * Parameter: A template parameter. Can be known (i.e. documented via TemplateData) or unknown. |
| 32 | * Part: A template-level entity in a transclusion, i.e. either a template, template placeholder, or wikitext snippet. |
| 33 | * SA: Standalone |
| 34 | * Template: See <https://www.mediawiki.org/wiki/Help:Templates> |
| 35 | * Transclusion: A sequence of one or more template invocations, possibly mixed with raw wikitext snippets. |
| 36 | * UI: User interface |
| 37 | * VE: VisualEditor |
| 38 | * WT: Wikitext |
| 39 | |
| 40 | [VisualEditor]: https://www.mediawiki.org/wiki/VisualEditor |
| 41 | [Parsoid]: https://www.mediawiki.org/wiki/Parsoid |
| 42 | [API documentation]: https://doc.wikimedia.org/VisualEditor/master/ |
| 43 | [Gerrit]: https://www.mediawiki.org/wiki/Gerrit |