Page MenuHomePhabricator

Use RevisionLookup::getKnownLatestRevision instead of PrefetchingWikiPageEntityMetaDataAccessor
Open, LowPublic

Description

Follow up to T255305: [Investigation] - Consider if the Wikibase cache for CachingEntityRevisionLookup is needed any more.

RevisionLookup::getKnownLatestRevision() has a much better caching system than PrefetchingWikiPageEntityMetaDataAccessor which is a simple LRU cache that gets reset in every request.
This is doubly important since we are dropping CachingEntityRevisionLookup in T260600 which means caching will be based on revision id and not the page title (increasing revision id lookup: T255305#6380897) Making the drop slightly more like a ticking bomb.

Event Timeline

Umherirrender renamed this task from Use RevisionLookup::getKnownCurrentRevision instead of PrefetchingWikiPageEntityMetaDataAccessor to Use RevisionLookup::getKnownLatestRevision instead of PrefetchingWikiPageEntityMetaDataAccessor.Jul 11 2026, 9:44 PM
Umherirrender updated the task description. (Show Details)