Updated mediawiki/core Project: mediawiki/extensions/ContentTranslation…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.


Updated mediawiki/core Project: mediawiki/extensions/ContentTranslation rECTX83baeff60757

Fix: References are adapted with same content

This was a regression from If9ab5a98ae49b379c01f57a38f0b08c4e3fad122
which started processing internal templates inside templates. Wrong
use of array.push caused bug T110007


Translate article Factorio from en to fr and publish - All references
must be adapted properly. Content should not be repeated for references.
And for If9ab5a98ae49b379c01f57a38f0b08c4e3fad122, translate
Amblydoras from en to es. Start adding sections from top
to bottom. You will see references section added. Try publishing it.
Publishing will pass. This is normal case. Now translate the same
again and start clicking sections from bottom to top. That means,
you are adding references list first and then section containing reference
later. Try publishing. You will get a parsoid error. With this patch,
adding sections in any order will not result in a publishing error.

Bug: T110007
Change-Id: I044193de3e2815e084489a48817340138fd639e7
(cherry picked from commit b9ee8f376ac47a4ba7df0f660e95711a2a06e9ab)


santhoshAuthored on
Gerrit Code Review <gerrit@wikimedia.org>Committed on Sep 2 2015, 3:06 PM

Commit No Longer Exists

This commit no longer exists in the repository.