Skip to content

UNIQ QINU errors with some other extensions #10

@Arthaey

Description

@Arthaey

For some extensions, I end up with UNIQ-QINU problems.

For example, using the Labeled Section Transclusion or Simple Calendar, the parser output looks like this:

�'"UNIQ--section-00000002-QINU"'� Labeled Section Transclusion section tag �'"UNIQ--section-00000003-QINU"'�

�'"UNIQ--item-4--QINU"'� SimpleCalendar should have appeared here

After much digging, I found what might be a solution. I changed line 116 from replaceVariables to recursivePreprocess instead. I've tested this on a few of my private wiki's pages and haven't seen a downside to using this method instead.

Per the MediaWiki source code, the recursivePreprocess calls replaceVariables itself, so it should hopefully(!) Just Work...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions