Page MenuHomePhabricator

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


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

ssastry added a subscriber: ssastry.

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

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

Change 806477 merged by jenkins-bot:

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