Subramanya Sastry has uploaded a new change for review. Change subject: Added extension content collector to deal with extension content. ......................................................................
Added extension content collector to deal with extension content. * Added a token collector to collect all content between extension tokens and wrap it in a mw:Object/Extension/Content typed span with original source added to the span. The content is not actually processed by the extension since we dont yet have Parsoid-versions of them or have a way to invoke them yet. * VE could just protect the extension content and prevent it from being edited (or allow the text to be edited -- but this might change once extension content is processed). * The serializer simply RTs back the original source. * 2 more tests green and tests on a few pages show that the content is RTing unmodified. Change-Id: I3f0753227777dc82287ca8b2514603947febe4a6 --- A js/lib/ext.ExtensionContentCollector.js M js/lib/mediawiki.parser.js 2 files changed, 56 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid refs/changes/99/33699/1 -- To view, visit https://gerrit.wikimedia.org/r/33699 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3f0753227777dc82287ca8b2514603947febe4a6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: Subramanya Sastry <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
