Last modified: 2014-08-19 12:25:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71736, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69736 - Section isn't transcluded when marked inside a template call
Section isn't transcluded when marked inside a template call
Status: RESOLVED DUPLICATE of bug 21339
Product: MediaWiki extensions
Classification: Unclassified
LabeledSectionTransclusion (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-19 10:10 UTC by Guillaume Paumier
Modified: 2014-08-19 12:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Guillaume Paumier 2014-08-19 10:10:07 UTC
When the labeled section is located inside a template call, you can't transclude it.

Example on PageX: {{green|<section begin="foo"/>bar<section end="foo"/>}}

Then {{#lst:PageX|foo}} doesn't show anything.

This is a bit of a bummer when the text you want to transclude in wrapped in a formatting template.
Comment 1 Merlijn van Deen (test) 2014-08-19 10:13:02 UTC
Yeah, that's an annoying issue. I've made a patch 1.5 years ago, but it brought down Wikisource when it was deployed (parsing took too long). Please see https://bugzilla.wikimedia.org/show_bug.cgi?id=21339 for more details.

*** This bug has been marked as a duplicate of bug 21339 ***
Comment 2 Guillaume Paumier 2014-08-19 12:25:09 UTC
Thanks, Merlijn. I saw that other bug report but I wasn't sure it was the same issue because in my case, I don't want to add the section tag inside the template, but inside the parameter. I figured someone more knowledgeable about this would mark as a duplicate if needed :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links