Page MenuHomePhabricator

Mobile section translation adds invalid code to next section
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Translate a middle section above the references.
  • Save it.

What happens?: https://eu.wikipedia.org/w/index.php?title=Hautespen_natural&type=revision&diff=9031664&oldid=9031619&diffmode=source

The section "References" (or any other) is replaced by code like:

== <span class="mw-headline" id="Erreferentziak">Erreferentziak</span> ==
<div class="reflist columns references-column-width" style="-moz-column-width: 30em; -webkit-column-width: 30em; column-width: 30em; list-style-type: decimal;"></div>

This breaks the references section, in this example.

What should have happened instead?: It should be added only the translation.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.): I used the translation on Android, with Chrome.