Page MenuHomePhabricator

Title for the source section is not properly hidden in the contents when translating on desktop
Closed, ResolvedPublic

Description

Starting a section translation on desktop for the "Legal status" section of the Moon article with this link (notice the "sourcesection=Legal+status" parameter), an invisible section containing the title can be added to the translation.

Note on the video below how it is possible to hover a blank section above the first paragraph to add the "Legal status" section title:

Since the desktop editor shows the section title already on top (T311635), it is not needed to show it again.

Event Timeline

Pginer-WMF triaged this task as Medium priority.Sep 2 2022, 11:43 AM
Pginer-WMF created this task.

Change 832248 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Desktop SX: Hide section title placeholder inside VE for target page

https://gerrit.wikimedia.org/r/832248

Change 832248 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Desktop SX: Hide section title placeholder inside VE for target page

https://gerrit.wikimedia.org/r/832248

Test status: QA PASS

the space with the invible title has been removed