Page MenuHomePhabricator

Create a Lua convenience function for formatting statements, without loading the full entity id
Open, Needs TriagePublic

Description

We should add a mw.wikibase.formatBestStatements( entityId, propertyId ) -> string which works like mw.wikibase.getEntity( entityId ):formatPropertyValues( propertyId ). The advantage of this is that it will work without having to load the full entity.

Event Timeline

Vvjjkkii renamed this task from Create a Lua convenience function for formatting statements, without loading the full entity id to oedaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from oedaaaaaaa to Create a Lua convenience function for formatting statements, without loading the full entity id.Jul 1 2018, 3:42 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.