It seems that parseMsg() sometimes receives strings, probably from bad dieUsageMsg...
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 7 Mar 2012 02:09:22 +0000 (02:09 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 7 Mar 2012 02:09:22 +0000 (02:09 +0000)
commit14b9e780c24848ce5799cf2936a0abcd44dedf5d
tree46c3a54d3befb5a8ffdb3083c2bbf3d783401447
parent3e3da50e8ac345a24b0619540966909fc65d7d56
It seems that parseMsg() sometimes receives strings, probably from bad dieUsageMsg() callers or badly formatter error arrays. I don't want to have to track this down, so I'm making it fail gracefully and just cast any strings to arrays
includes/api/ApiBase.php