>> The data's stored as a bunch of simple key-value pairs, including that
>> pipe-separated list.

> That's horrible!

I think you might be missing some context to make that judgment.

> at least it should have provided an accessor which translated it into an array.

It does. But if you then go implode the array such as done here at line 62, then of course you don't have an array any more: https://gerrit.wikimedia.org/r/#/c/7832/2/api/ApiUploadCampaign.php,unified


Jeroen De Dauw
Don't panic. Don't be evil.