Last modified: 2011-05-10 16:45:04 UTC
Found when running phpunit tests with ArticleComments extension on, which uses SpecialPage::addPage() instead of directly adding a class to $wgSpecialPages. $ make destructive phpunit --configuration /Users/brion/pages/trunk/maintenance/tests/phpunit/suite.xml Warning: array_merge(): Argument #2 is not an array in /Library/WebServer/Documents/trunk/includes/SpecialPage.php on line 233 SpecialPage::addPage() calls SpecialPage::initList() which attempts to merge in data from $wgSpecialPages. This was set to NULL here, which is unexpected as the default value in DefaultSettings.php is array().
Seems to work now.