(Go: >> BACK << -|- >> HOME <<)

Page MenuHomePhabricator

Parsoid emits nothing rather than 0 when using {{NUMBERINGROUP:}} on a user group with no members
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:

Where {{NUMBERINGROUP:group}} is in the wikitext, there is a span for the transclusion in the HTML, but it's empty

What should have happened instead?:

The HTML should contain a 0

Event Timeline

Change 805790 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/services/parsoid@master] TemplaeHandler: Check explicitly for an empty string

https://gerrit.wikimedia.org/r/805790

ssastry subscribed.

Interestingly enough, as part of work to run parser tests in Parsoid integrated mode, I was investigating related failures and this isolated bug made it easy for me to fix those. :)

Change 805790 merged by jenkins-bot:

[mediawiki/services/parsoid@master] TemplateHandler: Check explicitly for an empty string

https://gerrit.wikimedia.org/r/805790

Change 806477 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a13

https://gerrit.wikimedia.org/r/806477

Change 806477 merged by jenkins-bot:

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a13

https://gerrit.wikimedia.org/r/806477