Steps to replicate the issue (include links if applicable):
- Please see https://www.wikifunctions.org/view/en/Z16557
- in “Try this function”, for “object reference”, make “quotation” a reference to December (Z16112)
- click “Run function”
What happens?: At the time of writing, five Monolingual texts are returned. These are the five elements listed in the test case’s result validation.
What should have happened instead?:
If these five elements are returned, the test case should pass, but it fails with “Error in evaluation”. If the returned elements should happen not to match, the test case should fail, but not with “Error in evaluation”
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
The test cases actual result is a long error (possibly because the Z99K1 in K1 is an empty object, although a reference is present in the Z20)
Actual result: { "Z1K1": "Z5", "Z5K1": "Z507", "Z5K2": { "Z1K1": { "Z1K1": "Z7", "Z7K1": "Z885", "Z885K1": "Z507" }, "K1": { "Z1K1": "Z99", "Z99K1": {} }, "K2": { "Z1K1": "Z5", "Z5K1": "Z500", "Z5K2": { "Z1K1": { "Z1K1": "Z7", "Z7K1": "Z885", "Z885K1": "Z500" }, "K1": "Function call response was broken: '{ \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"Z22K2\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z526\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"K1\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z522\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z522\" }, \"K1\": \"1\", \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z526\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"K2\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z526\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"Z5K2\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z526\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"Z507K1\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z526\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"Z99K1\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z526\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"Z16556K1\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z526\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z526\" }, \"K1\": { \"Z1K1\": \"Z39\", \"Z39K1\": \"Z99K1\" }, \"K2\": { \"Z1K1\": \"Z5\", \"Z5K1\": \"Z523\", \"Z5K2\": { \"Z1K1\": { \"Z1K1\": \"Z7\", \"Z7K1\": \"Z885\", \"Z885K1\": \"Z523\" }, \"K1\": { \"Z1K1\": \"Z99\", \"Z99K1\": {} } } } } } } } } } } } } } } } } } } } }'." } } } }
As a curious aside, please note that the collapsed form of the Z20 call has its argument displayed as ‘quote("December")’ (varying by interface language) whereas the expanded form shows the quotation as "Z16112". Maybe consider something like ‘quote("Z16112"[December])’, with December linked?

