Page MenuHomePhabricator

<section> tag ignored with LabeledSectionTransclusion on MW 1.39
Closed, ResolvedPublic

Description

Preamble

I currently manage a wiki based on MediaWiki 1.35 with MediaWiki-extensions-LabeledSectionTransclusion installed.
In advance of a future migration of the wiki to next LTS version (1.39) I set a private test environment up using the current 1.39.0-rc.1 pre-release with matching LabeledSectionTransclusion version.

Issue

Before enabling LabeledSectionTransclusion <section> HTML tag was not interpreted, as expected. After installing and enabling the extension, all the markup included in <section> tag is completely ignored so nothing is shown to the users.

Actions taken

I checked that the wikitext actually contains the <section> tag and I verified that the exact code produces a completely different output in production 1.35 version in respect to test 1.39.0-rc.1 version.
I activated error display and logging, but apparently nothing wrong happens, no errors or warning are shown or logged.

Question

Is this behavior expected because the MW-1.39-release is not yet final, or is this an issue specific to my installation?
In the latter case, can you suggest further steps to troubleshoot this issue?

Event Timeline

Is this behavior expected because the MW-1.39-release is not yet final, or is this an issue specific to my installation?

I can confirm the problem persist with the final 1.39 release and with the latest master snapshot of the extension.

lucamauri renamed this task from <section> tag ignored with LabeledSectionTransclusion on MW 1.39.0-rc.1 to <section> tag ignored with LabeledSectionTransclusion on MW 1.39.Dec 4 2022, 11:11 AM

@lucamauri That is a definitely blocker for me, blocking any upgrade from 1.38, regardless if it is caused by 1.39 or LabeledSectionTransclusion extension. This functionality is used on high number of pages for me and is essential.

@lucamauri That is a definitely blocker for me, blocking any upgrade from 1.38, regardless if it is caused by 1.39 or LabeledSectionTransclusion extension. This functionality is used on high number of pages for me and is essential.

@Pspviwki, I'd suggest testing it. Seems to work fine for us in our 1.39.1 testing site, and Miraheze has it running, and they're on 1.39.2 last I looked (meta.miraheze.org/wiki/Special:Version). It may have been addressed already.

I can run LST with the most recent MediaWiki version from git. Is this still a problem?

Are you sure you're using LST syntax correctly? If you write <section>foo</section> then the content isn't shown, and the correct syntax is instead <section begin=foo />bar<section end=foo />.

I intend to close this as declined in a few days if there are no further comments here.

Close it. Sorry about the late response. The migration from 1.38-4 to 1.39 was delayed longer than expected.