RolandUnger created this task.
RolandUnger added projects: Wikidata, Wikidata-Campsite, Wikibase-Lua,
MediaWiki-Documentation.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
Sometimes mw.wikibase.getReferencedEntityId() calls unexpectedly fail. For
instance, a single
`mw.wikibase.getReferencedEntityId( 'Q637739', 'P31', { 'Q7397', 'Q2095',
'Q55488' } )`
call gives the German result
`Lua-Fehler: Zu viele Aufrufe von „mw.wikibase.getReferencedEntityId“, nur
bis zu 3 sind erlaubt.`
(Too many mw.wikibase.getReferencedEntityId calls. Only three are allowed.)
I do not know what happened because it is only a single call, and there are
only three P31 <https://phabricator.wikimedia.org/P31> values. What can be done
to prevent or to catch this error message?
This function restriction is not documented in the Wikibase documentation at
https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua.
TASK DETAIL
https://phabricator.wikimedia.org/T226925
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: RolandUnger
Cc: RolandUnger, Aklapper, darthmon_wmde, Nandana, Lahi, Gq86,
GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper,
Jonas, Wikidata-bugs, aude, Gryllida, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs