https://bugzilla.wikimedia.org/show_bug.cgi?id=68022

            Bug ID: 68022
           Summary: Make formatter for referenced Items use pre-fetched
                    labels.
           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]
       Web browser: ---
   Mobile Platform: ---

When rendering links to referenced items in an EntityView, we should use
pre-fetched labels from an EntityInfoBuilder, instead of loading each of the
entities in full just to get the label.

However, EntityView resp. ClaimHtmlGenerator and related classes use a
SnakFormatter for rendering snak values. The SnakFormatter is provided to
EntityView via the constructor. 

We need to inject the information from the EntityInfoBuilder into the
EntityIdHtmlLinkFormatters buried deep in the SnakFormatter.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to