Skip to content

include paramater value confusingly strips away comments #513

@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):

  • Test 1: <nowiki>test<!--test2-->test3</nowiki>
  • Test 2:
{{template1|test<!--test2-->test3}}

dplresult= <dpl>
title=current page title
skipthispage=no
include={template1}:1
tablerow=<nowiki>%%</nowiki>
</dpl>

What happens?:

  • Test 1: test<!--test2-->test3
  • Test 2 dpl results: testtest3

What should have happened instead?:

  • Test 2 dpl results: test<!--test2-->test3

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