Last modified: 2014-11-10 11:39:25 UTC
For links in listings, like the watchlist, search results, etc, we inject target entity's label as the link text. The way this is currently done loads the full entity object from the blob storage - this doesn't scale well for pages that list up to 500 links. Instead of loading the Entity object, we should get the label from the wb_terms table. Ideally, we should get the labels for all links to be shown in one query and cache them, so we don't have to do 500 DB queries. But that may require us to introduce new hook points into several special pages.
Dupe of several others.