Last modified: 2013-04-22 16:16:10 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 T44481, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42481 - lst: cannot nest {{#lst}} tags for the same transcluded page
lst: cannot nest {{#lst}} tags for the same transcluded page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
LabeledSectionTransclusion (Other open bugs)
master
All All
: Highest blocker (vote)
: ---
Assigned To: Merlijn van Deen (test)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-27 17:33 UTC by Merlijn van Deen (test)
Modified: 2013-04-22 16:16 UTC (History)
4 users (show)

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


Attachments
Parser test showing the regression (545 bytes, text/plain)
2012-11-27 17:33 UTC, Merlijn van Deen (test)
Details

Description Merlijn van Deen (test) 2012-11-27 17:33:46 UTC
Created attachment 11428 [details]
Parser test showing the regression

The following construct is used extensively on  https://www.mediawiki.org/wiki/Wikimedia_Platform_Engineering and others:

{{#lst:status|{{#lst:status|latest}}}}

which is broken since https://gerrit.wikimedia.org/r/#/c/31330/

See the attachment for a parser test showing the regression.


The bug is caused by the inclusion loop prevention being too strict - it also disallows re-inclusion in arguments. I will submit a patch fixing this shortly.
Comment 1 Merlijn van Deen (test) 2012-11-27 17:48:59 UTC
Patch with tests:
https://gerrit.wikimedia.org/r/35403

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


Navigation
Links