Go to file
Gabriel Wicke b3bd2ffe8d Fix definition list parsing and round-trip single vs. multi-line dt/dd
* Removed murky ' :' -> ' :' replacement in tokenizer. This breaks four
  parser tests, and should be fixed in a token stream transformer or DOM
  postprocessor. This replacement clashes with round-tripping, and is not
  terribly important visually.
* Added stx:row annotation to single-line dt/dd pairs and use it to preserve
  single-line syntax in the serializer. There is no attempt yet to support the
  addition of nested lists in an originally single-line dd. We'd need to look
  ahead in the serializer to support this. Perhaps the editor can simply drop
  data-mw in that case.
* Switched default dt/dd serialization to multi-line. This supports all nested
  lists and multiple dds.
* Don't close dls when switching from dt to dd or back in the token stream
  ListHandler.

Overall 290 round-trip tests are passing now (up from 284, some due to  ,
some due to lists). The number of passing parser tests dropped slightly from
303 to 297 (or 301/295 on weekdays other than Thursday).

Change-Id: I85ff40571833713388c6523e6a4ba2e94daa3807
2012-06-21 17:34:25 +02:00
api Add localhost interwiki prefix by default, and fix links after default change 2012-06-21 09:53:18 +02:00
demos Update JS and CSS references in demo to point to new location - ve instead of ve2 2012-06-19 20:53:55 -07:00
modules Fix definition list parsing and round-trip single vs. multi-line dt/dd 2012-06-21 17:34:25 +02:00
tests * Replace spaces at the beginning and at the end of text node with   2012-06-20 15:32:14 -07:00
.gitignore Added node_modules and node error log file to git ignore 2012-06-10 23:56:50 -07:00
.gitreview Set defaultrebase=0 2012-06-20 16:27:40 -07:00
ApiVisualEditor.php Make the API module handle missing pages and page creations 2012-06-18 17:42:12 -07:00
README update a couple notes in VE readme 2011-11-02 21:14:04 +00:00
SpecialVisualEditorSandbox.php unnecessary to define messages here, followup r105972 2011-12-13 09:34:05 +00:00
VisualEditor.alias.php Localisation updates from http://translatewiki.net. 2012-06-11 14:31:40 +00:00
VisualEditor.hooks.php Remove userCan hook that had no effect 2012-06-18 17:42:11 -07:00
VisualEditor.i18n.php i18n for error messages 2012-06-20 19:33:19 -07:00
VisualEditor.php i18n for error messages 2012-06-20 19:33:19 -07:00

We're starting to merge bits from Wikidom and ParserPlayground tests here.
Enjoy!

Short-term work highlights:
* convert parser to wikidom format & using the wikidom serializer
* port/update/write more tests
* Special: page to host the editor as a standalone demo
* Opt-in test mode to switch the editor in on EditPage (initially blank)
* Use serializer to save pages from editor
* Use parser to load pages into editor

Long-term work highlights:
* more thorough & bulk testing
* more extension support