Module talk:Transcluder

About this board

Transcluding heading weirdly

2
99.139.100.209 (talkcontribs)

I am using {{#invoke:Transcluder|main|MainPage#Heading1|sections=Section 2}} and for some reason it is transcluding the heading with the leading equal signs. For example, instead of transcluding Section 2 it is transcluding ==Section 2. This doesn't happen with the first section in a chapter, only the following ones.

Source:

Heading 1

Section 1

text

Section 2

text

Ideal transclusion:

Section 2

text

Error:

== Section 2

text

Sophivorus (talkcontribs)

Hmm, I was able to reproduce the issue in User:Sophivorus/sandbox. Thanks for the report! I'll look into it asap but in the meantime, perhaps using {{#invoke:Transcluder|main|Main Page#Section 2}} instead can help you. Cheers!

Reply to "Transcluding heading weirdly"
Iniquity (talkcontribs)

@Sophivorus Hi, man! :) Keep it going! There is one problem; on some wikis, Transclude module has existed for a long time: d:Q16736951. And if we somehow distribute this one, there will be confusion. You can rename it before it's too late, please.

Sophivorus (talkcontribs)

Hi, thanks for the heads-up! I renamed it to "Transcluder" though it seems to be too late for the English Wikipedia. For some reason it's already being used on hundreds of pages there and a rename may break them. English Wikipedia seems to have opted-out from Multilingual Templates and Modules though, so I wouldn't worry much.

Iniquity (talkcontribs)

Thanks! :)

There are no older topics