Updated mediawiki/extensions
Project: mediawiki/extensions/Parsoid  069553837408f123eb2ee0c6963d659e16a5f203

(Bug 52638) Fix selser regression introduced by fix for bug 51217

* To prevent fostered content from non-templated tables from causing
  corruption (duplicated content) on save, commit 89057946294cc
  zeroed out the DSR for fostered elements.  This works fine except
  if the table was templated.  The fostered element then carries
  round-trip information for the table and gets its dsr zeroed out.

  The code was missing a check for whether the fostered element
  had rt-information on it.

* This patch fixes that oversight.

* Tested the fix on this example by making edits to the generated HTML
  before and after both tables.  Also verified parse html to check
  that fostered element in first case does not have its dsr zeroed out,
  but the second one does.

----------------
{|
{{echo|a}}
|-
|x
|}

{|
a
|-
|x
|}
----------------

$ node parse < wt > old.html
$ cp old.html new.html
$ vi new.html (and make changes)
$ node parse --selser --html2wt --oldtextfile wt --oldhtmlfile old.html < new.html

* We really need an updated selser testing setup or an update to our
  existing test scripts.

Bugs affected by this patch:

Bug: 51217
Bug: 52638
Bug: 52488
Change-Id: I019cdca6a1b7c504153d6182d06cdabd8732eb87