Skip to content

Include all argument names function #499

@AnataBakka

Description

@AnataBakka

Feature summary (what you would like to be able to do and where):
include = currently just includes the values. I would need a includekeys = {templateName} that gets me all paramater names of that template.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Currently, the only way to reliably get all argument names from a template is to use a surrogate template with lua's getParent().args. Problem with that is that it automatically expands each argument, which i don't want to, and dpl should be able to parse for the names without expanding the values better than i can.

Benefits (why should this be implemented?):
Better performance and higher usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions