-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
bugSomething isn't workingSomething isn't working
Description
DynamicPageList3 version:
MediaWiki version: 1.39.4
PHP version: 8.1.27 (cgi-fcgi)
DPL3 version: 3.5.2
Issue:
- The manual's include section states the following alternate surrogate template naming syntax works:
{ParamSourceTemplate¦AltNameSurrogate}.dpl - However, it only works in
debug=5mode, outputting desired results as "pre"-escaped. - In normal mode, even with
debug=0explicitly set, the result is "pre"-escaped for no reason.
List of steps to reproduce (step by step, including full links if applicable):
- On
Template:MyTemplatepage, put:
{{#dpl:
|debug=0
|namespace=
|category=My Category
|include={ParamSourceTemplate¦AltNameSurrogate}.dpl
|mode = userformat
|listseparators = ¶{¦class="wikitable"
¶¦-¶!Page ¶!Props ¶!colspan="2"¦Requirements¶¦-,,,¦}
|secseparators = ¶,,,¶¦,
|count=10
|noresultsfooter='''No results found'''
}}
-
Add a surrogate called
Template:AltNameSurrogatewith 3 cells calling 3 validParamSourceTemplateparams. -
Preview the
Template:MyTemplatetemplate page result.
What happens?:
- All output displays as "pre" tag escaped, even with explicit
|debug=0.
What should have happened instead?:
- Content should display as intended.
Browser information, screenshots and other applicable information:
- Any browser (unrelated to browser).
Workaround:
- Redirect the "required"-syntax-named template's page, to the desired named one (or the namespace/page used as the desired surrogate). This functions as an alias of sorts.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working