{"push_id":778638616,"size":1,"distinct_size":1,"ref":"refs/heads/wmf/1.26wmf21","head":"dbc78fc0c3ae7ce69f3c507816f335cf127e083a","before":"ec54597a3f1229f25bb424575c2c39ccefcdaaa2","commits":[{"sha":"dbc78fc0c3ae7ce69f3c507816f335cf127e083a","author":{"email":"891db5b6a2415596a63ccc1e33adbe0f40d4afdc@gmail.com","name":"Santhosh Thottingal"},"message":"Fix: References are adapted with same content\n\nThis was a regression from If9ab5a98ae49b379c01f57a38f0b08c4e3fad122\nwhich started processing internal templates inside templates. Wrong\nuse of array.push caused bug T110007\n\nTestplan:\n\nTranslate article Factorio from en to fr and publish - All references\nmust be adapted properly. Content should not be repeated for references.\nAnd for If9ab5a98ae49b379c01f57a38f0b08c4e3fad122, translate\nAmblydoras from en to es. Start adding sections from top\nto bottom. You will see references section added. Try publishing it.\nPublishing will pass. This is normal case. Now translate the same\nagain and start clicking sections from bottom to top. That means,\nyou are adding references list first and then section containing reference\nlater. Try publishing. You will get a parsoid error. With this patch,\nadding sections in any order will not result in a publishing error.\n\nBug: T110007\nChange-Id: I044193de3e2815e084489a48817340138fd639e7\n(cherry picked from commit b9ee8f376ac47a4ba7df0f660e95711a2a06e9ab)","distinct":true,"url":"https://api.github.com/repos/wikimedia/mediawiki-extensions-ContentTranslation/commits/dbc78fc0c3ae7ce69f3c507816f335cf127e083a"}]}