jayvdb added a comment.
fwiw, this problem also occurs in core version, and it hasnt been resolved in core. The
solution to core issue T71664 was to avoid the problem (not fix it) by not calling
templates/templatesWithParams, which is definitely not sensible for a wikibase page.
TASK DETAIL
https://phabricator.wikimedia.org/T57150
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
To: jayvdb
Cc: pywikipedia-bugs, Legoktm, Ricordisamoa, jayvdb