GWicke has submitted this change and it was merged.

Change subject: Added DOM pass to migrate start-metas closer to tpl-content.
......................................................................


Added DOM pass to migrate start-metas closer to tpl-content.

* Migrate start-metas that are last child of a node to be
  siblings of the parent node (recursively).  This fixes many
  dom-range and tpl-wrapping problems.
* Got rid of the list-item patch up code since it is not needed
  anymore. Start-meta migration does the same thing and is more
  generic and cleaner.
* No change in parser tests.
* Also RTs this test case cleanly:
  {{*mp}}foo
  {{*mp}}bar
  {{*mp}}baz
* It also mostly fixes RTing of another infobox template use-case
  that was failing till now.
* en:Wikipedia:Recent additions/2010/June now RTs with just one
  syntax error.  Possibly other similar pages now RT much more
  cleanly.

Change-Id: I413eec9ffe41abaf98deabf2f5574e1b0bff344b
---
M js/lib/mediawiki.DOMPostProcessor.js
1 file changed, 24 insertions(+), 96 deletions(-)

Approvals:
  GWicke: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/36153
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I413eec9ffe41abaf98deabf2f5574e1b0bff344b
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to