About [[MediaWiki:Apihelp-sitematrix-description/en]]
Are you sure you got this right? My understanding was that "code" refers to code field in the output. Now I'm confused. New wording says that "code" is "technically dbname/wikiid", but "dbname" is a separate field in the output, and field or parameter name "wikiid" doesn't seem to be present. Seems that now it's more like the description of "dbname" not "code". My advice is that we make it clear in the original message that "code" is an output field.
There are two different "code"s listed in the API: the first refers to the ISO 639 code of the project. The second refers to the project suffix ("wiki", "wikiquote" and so forth). It's definitely confusing (I created T100459) -- I'm not sure what this is supposed to really say, as the "language code + project code" it describes is actually the "dbname" field.