PHP Warning: Encountered a UnresolvedRedirectException when trying to load Q60778842 [Called from Wikibase\Client\DataAccess\Scribunto\EntityAccessor::getEntity in /srv/mediawiki/php-1.33.0-wmf.16/extensions/Wikibase/client/includes/DataAccess/Scribunto/EntityAccessor.php at line 153]
Reproduction path: call get entity data lua function on ID of an Item which is a redirect to an Item which is also a redirect (i.e. two redirects).
Impact
This is causing a fatal error during the rendering of pages, which can abort edits from being saved, and existing pages from being rendered.
Analysis
Product decision:
Acceptance Criteria
- Double redirects no longer cause fatal errors when accessing data through them in LUA
- When this sort of data access happens, no data is returned by Wikibase
- When this sort of data access happens no log messages are created (as this is expected behaviour)
Notes on expected state:
As well as the ACs listed above bots and users would continue to operate on wikidata and affected wikibases to remove these double redirects.
This ticket is only about stopping the logs and exceptions in this situation.