there are some opportunities for batching label lookups for the onLinkBegin hook handling in Wikibase Repo
Description
Description
Event Timeline
Comment Actions
The hook uses a BufferedTermLookup, but the buffering only works in places were we do prefetching (currently ChangesList for watchlist and recent changes)
we still need to add batching for more places that LinkBegin is used and would be nice if could be done in a way that we don't need bazillion different hooks in different places and duplicate code.