VisualEditor to wikitext switch for Page: pages does not support always header and footer
Open, Needs TriagePublic

Description

Moving from VisualEditor to Wikitext with Page: pages seems to not be able to fill correctly the header and footer of the Page: pages.

Report by Assassas77:

Initially, I tried on the French Wikisource, for example, on that page : [1] On the French one, body is moved to header in the visual editor, but moves back to the body section on wikicode editon.
I tried as well on the English Wikisource, for example here : [2] On the English example, Wikicode => Visual is doing ok, but Visual => Wikicode : the header is moved to the body with brackets.

[1] https://fr.wikisource.org/w/index.php?title=Page:Ibn_Battuta_-_Voyages_-_Traduction_Sanguinetti_-_Volume_4.djvu/52&action=edit&redlink=1
[2] https://en.wikisource.org/w/index.php?title=Page:Sun_Tzu_on_The_art_of_war.djvu/233&action=edit

Tpt created this task.Oct 30 2017, 6:04 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 30 2017, 6:04 PM
Tpt moved this task from Backlog to VisualEditor on the ProofreadPage board.
Tpt added a project: VisualEditor-MediaWiki.
Tpt renamed this task from VisualEditor to wikitext switch is buggy Page: pages to VisualEditor to wikitext switch for Page: pages does not support always header and footer.