Labelled section transclusion appears incorrectly, but only for user that added it and only immediately after it is added
Open, LowPublic

Description

When using the new wikitext editor, if we transclude a fraction of an article using {{#lsth}}, a link to the article is shown, rather than the transcluded content. Strangely enough though, the references do seem to get transcluded correctly. In order to transclude the rest of the content correctly, the page needs to be purged. This bug doesn't happen when using {{#lst}}.

Attaching a screenshot of the bug in my Wikipedia sandbox. The offending wikitext is just {{#lsth:Philosophy}} but the bug only happens when using the new wikitext editor.

Restricted Application added a project: VisualEditor. · View Herald TranscriptAug 5 2017, 3:03 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Sophivorus updated the task description. (Show Details)Aug 5 2017, 3:19 PM
Sophivorus updated the task description. (Show Details)
Deskana triaged this task as Low priority.Aug 7 2017, 11:07 AM
Deskana added a subscriber: Deskana.

I had to search for this to find out what it is. For the benefit of others, this syntax is from Extension:Labeled Section Transclusion.

Firstly, contrary to the description, a purge doesn't seem to be required; simply refreshing the page was enough for me to see it correctly. Secondly, this visual glitch only affects the user that made the change, and only affects them when viewing the page right after saving; any other user that goes to the page sees it correctly. Thirdly, this kind of syntax is incredibly rare in the article namespace of most wikis.

This is something we'd want to fix eventually, but given the above it doesn't seem to be pressing.

Deskana renamed this task from Purge is needed for correct transclusion when using the new wikitext editor to Labelled section transclusion appears incorrectly, but only for user that added it and only immediately after it is added.Aug 7 2017, 11:09 AM
Deskana moved this task from To Triage to Backlog on the VisualEditor board.