public function getTestGroups(&$list) { $exampleMessageGroup = new WikiMessageGroup('theid', 'thesource'); $exampleMessageGroup->setLabel('thelabel'); // Example $exampleMessageGroup->setNamespace(5); // Example $list['theid'] = $exampleMessageGroup; $anotherExampleMessageGroup = new WikiMessageGroup('anotherid', 'thesource'); $anotherExampleMessageGroup->setLabel('thelabel'); // Example $anotherExampleMessageGroup->setNamespace(5); // Example $list['anotherid'] = $anotherExampleMessageGroup; return false; }