Topic on Project:Support desk

Transcluding <noinclude>

5
Slgrandson (talkcontribs)

On my creative-venture wiki (and its Referata forebears), I've long had trouble with the <noinclude></noinclude> wraparound on a preloaded template of mine. What I call "Template starter" sets up the bare bones for creating a template, adding a doc-page section that is always hidden from view outside a template's page à la Wikimedia.

With my latest attempt today, I followed the instructions provided at Manual:Creating pages with preloaded text#Loading the preload file (<no<includeonly></includeonly>include></noinclude>), but instead of the expected:

<!-- Please replace this with template content --><noinclude>{{doc tag|categories=<includeonly>Templates</includeonly>}}</noinclude>

all I'm getting is just the comment after loading:

<!-- Please replace this with template content -->

I've tried getting this to work time and again, to the point where spaces before the tag name (< noinclude></ noinclude>) must do as a compromise in our current setup. Of course, that's not really what I even wanted to deal with; I simply want to get the proper s on the page without any hassle. How else to go about it?

(MW 1.37.2; code loaded via Extension:Preloader)

--Slgrandson (talk) 14:17, 17 April 2022 (UTC)

Slgrandson (talkcontribs)

Turns out this is an upstream bug, reported back in April 2021, and there's not much any user can do about it at this time. A merge/fix was also proposed back then, but has not been acted upon for lack of maintainers. (Mentioned at w:Special:PermanentLink/1083469433#Transcluding_<noinclude>.)

To @Bawolff: /@Pppery: /@Shirayuki: /@Universal Omega: /co-developer @Troyengel: Do you know anyone else (on GitLab, Wikimedia, or both) who can resolve the issue sooner rather than later? (To say nothing of Robchurch (talk · contribs)'s long-time absence from the Wikimedia scene...) --Slgrandson (talk) 16:20, 19 April 2022 (UTC)

Bawolff (talkcontribs)

That's not in WMF's repositories so i have limited power to do much about the patch.

Renamed user 4uiAd4pvaL (talkcontribs)
Slgrandson (talkcontribs)
Reply to "Transcluding <noinclude>"