If the full list is too long for a wiki page, Listeria should probably produce some kind of error, or perhaps truncate the number of entries in the table; but the page should not be truncated at the wikitext level, as this results in broken syntax and also destroys content after {{Wikidata list end}}, which the bot shouldn’t touch.
(Note: I’m not sure if the truncation happens in Listeria itself or server-side in MediaWiki.)
You can solve this by using a query that doesn't yield such a long list. A quite expeditious way of truncating the list is to use LIMIT parameter in the query (for example LIMIT 1500).
While looking through pages with {{Wikidata list}} but not {{Wikidata list end}} (trying to find other occurrences of #108), I noticed that several pages’ source code appears to be truncated:
If the full list is too long for a wiki page, Listeria should probably produce some kind of error, or perhaps truncate the number of entries in the table; but the page should not be truncated at the wikitext level, as this results in broken syntax and also destroys content after
{{Wikidata list end}}
, which the bot shouldn’t touch.(Note: I’m not sure if the truncation happens in Listeria itself or server-side in MediaWiki.)