Page MenuHomePhabricator

Confusing Lua error "Too many Wikidata entities accessed"
Open, Needs TriagePublic

Description

This page (using this version of Infocaseta film and this version of Modul:Wikidata) throws a "Too many Wikidata entities accessed" because the P161 (distribution) property at Wikidata has hundreds of items and the Infobox tries to access them all.

While the error is correct, when checking the parser data in preview, I see "Number of Wikibase entities loaded 9/400", which is confusing. I believe there are 2 improvements than can be made:

  1. in the error message, explicitly mention the limit and the current value
  2. correctly report the number in the parser performance data

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This is a very unideal situation. Wikidata_IB, one of the recommended packages, can trigger this error simply by having a script calling checkvalue, on a random item that looks empty in the Wikidata interface, even. To say this is confusing is an understatement.

Is it possible to at least state the property that triggered this error? Not providing any information in the error message is not fine by any standard.

Michael subscribed.

This wrong number of entities accessed sounds suspiciously like T341957: Wrong number of Wikibase entities in NewPP limit report.