Subramanya Sastry has submitted this change and it was merged. Change subject: Template encapsulation algorithm ......................................................................
Template encapsulation algorithm * Rough implementation of algorithm sketched in http://www.mediawiki.org/wiki/Parsoid/Todo#DOM_tree_builder * Simple wrapping / marking with about attribute for now TODO: * deal with attribute (about) conflicts; remove internal attributes * collect info about all involved templates or the equivalent source range in the transcluding page * round-prip templates Our HTML5 tree builder does not seem to perform foster-parenting of content between table and tr/td tags, so that portion of the algorithm is not really tested so far. It still ought to work^TM. Also: * Fixed a bunch of JQuery warnings so the output is useful to find issues again * Tweak JSHint config a bit (yeah, should be a separate commit but...) Change-Id: Id8c2984b95f2660386942f4911b8728dfa86d12e --- M .jshintrc M js/lib/ext.core.ListHandler.js M js/lib/ext.core.PostExpandParagraphHandler.js M js/lib/ext.core.TemplateHandler.js M js/lib/mediawiki.DOMPostProcessor.js M js/lib/mediawiki.TokenTransformManager.js M js/lib/mediawiki.parser.defines.js M js/lib/mediawiki.parser.environment.js 8 files changed, 440 insertions(+), 116 deletions(-) Approvals: Subramanya Sastry: Verified; Looks good to me, approved GWicke: Verified; Looks good to me, but someone else must approve -- To view, visit https://gerrit.wikimedia.org/r/18064 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id8c2984b95f2660386942f4911b8728dfa86d12e Gerrit-PatchSet: 10 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: Subramanya Sastry <ssas...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits