/**
 * Add the language action to the content actions
 */
function mlAddLanguageAction(&$content_actions)
{
    MultiLanguageManager::addLanguageAction($content_actions);
    return true;
}
 function testAddLanguageAction()
 {
     global $wgTitle;
     $ca = array();
     $wgTitle = Title::newFromId($this->pageswithoutlanguage[0]);
     MultiLanguageManager::addLanguageAction($ca);
     $this->assertTrue(array_key_exists('language', $ca));
 }