https://bugzilla.wikimedia.org/show_bug.cgi?id=37256

--- Comment #11 from badon <[email protected]> ---
#1 will produce the section begin and section end tags that Labeled Section
Transclusion (LST) requires. The fact that <poem>...</poem> does not cooperate
with LST is a problem within the poem tags. The workaround that people were
suggesting is to use #tag to produce the poem tags. The reason why that might
"work around" the problem is because it would change the order in which the
code is parsed. Then, LST would be given an opportunity to do its thing before
the poem tag screws it up.

I think.

#tag itself is kind of a workaround, so we're doing workarounds to work around
our workarounds. If we can get #tag to produced the self-closing tags that LST
requires, that might be enough to solve your issue. I'm not sure I've
understood your exact problem completely, but since that's what this bug report
is about, I think we should get #tag to work with LST, then re-examine what
needs to be done in your circumstance, if anything. It might work out of the
box for you, once LST works.

In the meantime, there might be other, simpler workarounds for your problem
with the poem tags, but that's another subject, and I'm sure I'm
misunderstanding something about it. Try using #var to make your opening and
closing tags, and see what happens. Before I run out of time for this, try:

{{#vardefine: poem1 | <poem> }}
{{#vardefine: poem2 | </poem> }}

{{#var: poem1 }}
<section begin="stupid poem" />
I saw a bird fall from the sky.
His wings were broke, he could not fly.
I coaxed him near, with bits of bread.
Then I squashed his little head.
<section end="stupid poem" />
{{#var: poem2 }}

{{#lst: Bug 37256 | stupid poem }}

I don't know if that above will work, but maybe.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to