Last modified: 2014-11-10 11:39:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45780, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43780 - Make injecting entity labels into links more efficient.
Make injecting entity labels into links more efficient.
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-09 14:42 UTC by Daniel Kinzler
Modified: 2014-11-10 11:39 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-01-09 14:42:50 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.
Comment 1 Lydia Pintscher 2014-11-10 11:39:25 UTC
Dupe of several others.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links