Oh I misread you.
I think you are right, this is a nginx issue.
May be they used something like a Virtual Host configuration with Proxy_Pass attribute in a location and had mistakely added a trailing to the adress "/". which cause a decode of all the url. It happened to me once.
...Or something like that.
Thierry
mediawiki-l@lists.wikimedia.org