Description
Lightweight enum types of Wikidata entities are supported and considered to be a valuable feature of Wikifunctions. Supporting a similar capability with ZObjects as enum instances would provide similar benefits. The generic-type function (to call for creating one of these types) has already been declared; see T394116. Creating support for these types would involve similar steps to the subtasks of T390558.
Here's a use case mentioned on September 18, 2025, on telegram, by a community member: For example, we could flexibly enumerate all float64 formatting functions. Then a Wikipedia usage could be forced to choose from the list of valid options.
See also the discussion in T390558.
Desired behavior/Acceptance criteria
- ...
Devices and Design (URLs or screenshots)
- Desktop: ...
- Small screens/mobile: ...
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist