Skip to content

dpl include fails to grab unnamed paramater value #512

@AnataBakka

Description

@AnataBakka

DynamicPageList3 version: 3.6.4 (7f76211)
MediaWiki version: 1.43.6 (92a0717)
PHP version: 8.2.30 (fpm-fcgi)
MySQL version: 8.0.41-google

List of steps to reproduce (step by step, including full links if applicable):

  • Do:
<dpl>
title=page title
skipthispage=no
include={template1}:1
tablerow=<nowiki>%%</nowiki>
</dpl>
  • Test 1 have a page with content: {{template1|{{template2|value1}}|value2}}.
  • Test 2 have a page with content: {{template1|{{template2|key1=value1}}|value2}}
  • Test 3 have a page with content: {{template1|1={{template2|key1=value1}}|value2}}

What happens?:

  • Test 1 dpl results in: {{template2|value1}}
  • Test 2 dpl results in: value2
  • Test 3 dpl results in: {{template2|key1=value1}}

What should have happened instead?:

  • Test 2 dpl results in: {{template2|key1=value1}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions