Steps to replicate the issue (include links if applicable):
- Please see emulate Wikidata statement object Z23723
- Edit the function by clicking the pencil icon in the “About” section for English
- Add a label “references” at Input 10 label
What happens?:
- Input 2 label is given as “statement value type”, which is the text for Input 10, as can be seen in the “Try a function” section.
- Other labels are displaced by one position
- Input 10 is blank, consistent with Z23723K9 given for the ninth argument in “Try a function”.
- Publishing with the inserted label does not have the intended result.
What should have happened instead?:
- The labels should appear in numerical order, as in “Try a function”
- It should be possible to save a label for the ninth argument (or, if saved, it should then be used)
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Please also note this unusual WikiLambda system update, which would be expected to have updated only the implementation list.
Problems were also encountered with a different function, discussed here (Z23619). This comment relates
(The “problem editing Z23724” arises from the change in the definition of Z6803 when keys were added to Z6003. It can be resolved by rebuilding the result validation from scratch. I created a new test (Z28547) and will propose deletion of Z23724 once the behaviour is confirmed to be “as expected”.)
From my edit here, it appears that arguments after the tenth are not handled at all, once they’ve been added. If there is some limit on the number of arguments that can be used, it should be enforced consistently and supported throughout the system.