Subramanya Sastry has uploaded a new change for review.

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/53/36153/1
--
To view, visit https://gerrit.wikimedia.org/r/36153
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I413eec9ffe41abaf98deabf2f5574e1b0bff344b
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

Reply via email to