Last modified: 2013-01-21 21:08:40 UTC
I know this isn't supposed to work yet, that's why it's in the bug tracker to track. :D Steps to repro: * create new page using classic editor * include {{Template:Warningbox|this template does not exist}} * save * open in visual editor * edit some other part of the page so it is ready to save * save Expected results: * broken template link should display in edit mode * no change to page after save except for whatever you typed Actual results: * template link is invisible in edit mode * template link is just gone after saving
Templates are not yet round-tripped- we have not worked on them yet (similar to images / thumbnails, category links etc). We'll likely add a simple unexpanded template round-trip mode first (so the page won't be WYSIWYG for templates at first). Expanded template round-tripping is quite hard with unbalanced templates, but we have some ideas for the establishment of affected DOM scope: http://www.mediawiki.org/wiki/Parsoid/Todo#DOM_tree_builder. This will likely be the last feature we add since it is also the hardest.
Tracking unexpanded / expanded round-tripping in separate bugs.
Mass-moving bugs into the new 'Parsoid' product.
This particular example and templates in general now round-trip pretty solidly. Parameter editing is not yet supported, but slated to be tackled in the next months. Closing this bug as fixed.