mediawiki.api: Transform arrays with join('|') in query parameters

Bug: 64570
Change-Id: Ie8ea48712dc7b726266e25080b2931aebe659f0d
Merge "mediawiki.api: Transform arrays with join('|') in query parameters"