Page MenuHomePhabricator

Caching sitelink lookup for client use
Closed, ResolvedPublic

Description

Several functions in client and especially as used by Lua and the property parser functions make use of SiteLinkLookup. To make this performant, the lookup to the sitelinks table should be batched (based on usage tracking), the same way this is proposed for labels and descriptions, see T76159. Also the data should be in process cached to make sure we never access the database more than once per page rendering for the same page.

Event Timeline

daniel raised the priority of this task from to Needs Triage.
daniel updated the task description. (Show Details)
daniel subscribed.
hoo set Security to None.

Change 201917 had a related patch set uploaded (by Hoo man):
Implement CachingSiteLinkLookup and make use in client

https://gerrit.wikimedia.org/r/201917

Change 201917 merged by jenkins-bot:
Implement CachingSiteLinkLookup and make use in client

https://gerrit.wikimedia.org/r/201917

hoo renamed this task from Batching and caching sitelink lookup for use from Lua snak formatter to Caching sitelink lookup for client use.Apr 9 2015, 3:29 PM
hoo closed this task as Resolved.
hoo removed a project: Patch-For-Review.
hoo moved this task from Review to Done on the Wikidata-Sprint-2015-04-07 board.