Page MenuHomePhabricator

Find and document the prefetching logic that happens on page render
Closed, ResolvedPublic

Description

Find and document this prefetching magic that happens when rendering an entity page (either for the whole entity or just terms / labels)

We all know that this prefetching of labels for rendering a wiki page happens somewhere, we should document where and also how federated properties requires / relies on it to avoid multiple API calls.

This can be documented in the section for prefetching-term-lookup-callback in extensions/Wikibase/docs/topics/entitytypes.md. At a later point we might want to add documentation specific to federated properties.

Event Timeline

Change 594159 had a related patch set uploaded (by Jakob; owner: Jakob):
[mediawiki/extensions/Wikibase@master] Document the prefetching logic that happens on page render

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

Change 594159 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Document the prefetching logic that happens on page render

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