An optional parameter propertyLabelOrId should be added to wikibase.renderSnaks to allow filtering the passed snaks by a given property label or id. This is needed when only parts of a snak list (eg. in a reference or in qualifiers) should be rendered, or if some snaks for a given property should be rendered differently.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Allow filtering by property in wikibase.renderSnaks | mediawiki/extensions/Wikibase | master | +24 -4 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T100880 [Epic] Capiunto support for Wikibase | |||
Invalid | Bene | T100897 [Task] Allow formatting references by a callback in Wikibase's infobox functionality | |||
Invalid | None | T100899 [Task] Allow to render snaks filtered by property label |
Event Timeline
Comment Actions
Change 214820 had a related patch set uploaded (by Bene):
Allow filtering by property in wikibase.renderSnaks
Comment Actions
We have to rethink the rendering of snaks and basically all formatters and might consider to do something completely different.
Comment Actions
Change 214820 abandoned by Addshore:
Allow filtering by property in wikibase.renderSnaks