Page MenuHomePhabricator

lst: cannot nest {{#lst}} tags for the same transcluded page
Closed, ResolvedPublic

Description

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.


Version: master
Severity: blocker

Attached:

Details

Reference
bz42481