When you look at the HTML of /view/ pages like https://www.wikifunctions.org/view/en/Z10001, the alternative URLs for some languages have encoded quote marks around the language code.
e.g. <link rel="alternate" hreflang=""swh"" href="/view/"swh"/Z10001">
Seems like the affected languages are (in order of HTML appearance)
- swh
- gaz
- uzn
- be-x-old
- gya
- abq-latn
- zh-yue
- ory
- sr-me
- khk
- plt
- pbt
- npi
- lvs
- dik
- kmr
- taq-tfng
The same thing also happens on Beta e.g. https://wikifunctions.beta.wmflabs.org/view/en/Z10004