Steps to replicate the issue (include links if applicable):
- Go to https://www.wikifunctions.org/view/en/Z16582 and note that the Typed list of Quotes in the composition shows month names in black, "quoted".
- Expand the view of the composition and note that quotation values are shown as quoted ZIDs.
- Click Edit source, expand the composition, click the … beside a quotation and note that the selected option is “Literal string”.
- Choose “Reference” instead and search and select the appropriate Gregorian calendar month.
- Note that the selected month now appears as an unquoted link in the collapsed view of the composition; Publish and Publish.
What happens?:
The composition is saved with the reference then resembling a quoted string rather than a linked reference. (It also doesn’t work but that may be a coincidence). Editing again shows that it appears to be a “Literal string” again, as before.
What should have happened instead?:
I’m not sure what a quoted reference should look like in a collapsed view. In edit mode it is just something like: Quote(January), with January linked. I think the Z99K1 value is a literal string/canonical reference, so maybe something like Quote("Z16101" [January]) would be clearer.
If it is saved correctly, it should be presented as a Reference in edit mode, not a Literal string. This is not just a presentational issue, however. The implementation has executed successfully in edit mode but all the quotations need to be reset to references to get it working again. A partial implementation with only three quotations to reset is: https://www.wikifunctions.org/wiki/Z16583?action=edit&uselang=en. This is currently functioning correctly in edit mode but not when saved.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Also affects test cases like https://www.wikifunctions.org/view/en/Z16557 but this fails even after correcting the quotation: T366246.