https://bugzilla.wikimedia.org/show_bug.cgi?id=43780
Web browser: ---
Bug ID: 43780
Summary: Make injecting entity labels into links more
efficient.
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l