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.
Description
Description
Event Timeline
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 8 2018, 9:03 AM2018-05-08 09:03:07 (UTC+0)
• 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 AM2018-07-01 01:11:20 (UTC+0)
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 PM2018-07-01 15:42:35 (UTC+0)
Michael moved this task from Incoming to Performance related on the Wikibase-Lua board.Mar 20 2024, 11:19 AM2024-03-20 11:19:23 (UTC+0)