Steps to replicate the issue (include links if applicable):
- Go to https://www.wikifunctions.org/w/index.php?Z20K1=Z16829&title=Special:CreateObject&uselang=en&zid=Z20
- Expand the call by clicking on the >
- For the object enter “Gregorian era” under type (Select a Type)
- For the object (now a collapsed Reference field) try entering “AD” or its ZID (“Z17814”)
What happens?:
The object is not in the search results. If the ZID is entered the result is “No results found.” Tabbing out of the field replaces the entered text with the placeholder hint “Object”.
What should have happened instead?:
The object should have been in the search results. (Arguably, the field should have become a dropdown when the Type was selected, but that’s a separate (?) issue.)
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
The object is also missing if you skip Type selection and go directly to specifying a Reference. Other objects missing in this context include Z4, Z6, Z40, Z41, Z60, Z1002, Z13518, Z16098, Z16659, Z16683, Z16927, Z17402, Z17813. Most of these have previously been selected for other test cases for the same function.
Note that Z40 cannot be selected as a Reference but Z41 and Z42 can be selected if (and only if) the type is specified as Boolean.
If the object is specified as a Typed list with the Type: Gregorian era, an item can be added using the dropdown (in which only AD and BC appear). If the list’s Type is changed to Object, the ZID replaces the label and appears to be retained. It is retained (unaltered) after any attempt to edit it to a ZID that is not present in the search results.