Page MenuHomePhabricator

Template range without arginfo.
Closed, ResolvedPublic

Description

Seeing an uptick of these.

https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2018.09.27/parsoid?id=AWYcvl14z9bxnQJdcijP&_g=h@44136fa

srwiki Разговор:Одриска_краљевина 12058902

AssertionError: Template range without arginfo.
    at Console.assert (console.js:95:23)
    at findTopLevelNonOverlappingRanges (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/src/lib/wt2html/pp/processors/wrapTemplates.js:498:12)
    at wrapTemplatesInTree (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/src/lib/wt2html/pp/processors/wrapTemplates.js:1020:15)
    at Object.wrapTemplates [as proc] (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/src/lib/wt2html/pp/processors/wrapTemplates.js:1037:2)
    at DOMPostProcessor.<anonymous> (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/src/lib/wt2html/DOMPostProcessor.js:606:17)
    at next (native)
    at tryCatchNext (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/prfun/lib/index.js:783:28)
    at continuer (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/prfun/lib/index.js:800:24)
    at callback (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/prfun/lib/index.js:812:43)
    at /srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/prfun/lib/index.js:814:9
    at tryCatch2 (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/babybird/lib/promise.js:48:12)
    at PrFunPromise.Promise (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/babybird/lib/promise.js:458:15)
    at new PrFunPromise (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/prfun/lib/index.js:100:21)
    at DOMPostProcessor.doPostProcess (/srv/deployment/parsoid/deploy-cache/revs/0272096587ddfc6d0fb66ab2f6e44f9668cbbf35/node_modules/prfun/lib/index.js:797:21)
    at emitOne (events.js:96:13)
    at TreeBuilder.emit (events.js:188:7)

@ssastry points them at,
https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/440020

Event Timeline

Arlolra triaged this task as Medium priority.Sep 27 2018, 11:17 PM

Change 463399 had a related patch set uploaded (by Arlolra; owner: Arlolra):
[mediawiki/services/parsoid@master] Pass through inTemplate pipeline options when handling language variant

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

Change 463399 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Pass through inTemplate pipeline options when handling language variant

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