/**
  * install
  */
 function doinstall()
 {
     global $LANG;
     global $language_id;
     $language_id = $_REQUEST['language_id'];
     if (!$language_id || !$GLOBALS['Language']->isLanguageSupported($language_id)) {
         $language_id = $GLOBALS['Language']->defaultLanguage;
     }
     // Initial Wiki document is now created within phpWiki main()
     // Make sure phpWiki instantiates the right pages corresponding the the given language
     define('DEFAULT_LANGUAGE', $language_id);
     $LANG = $language_id;
     $wpw = new PHPWikiPageWrapper($this->gid);
     $wpw->install();
 }
 /**
  *
  */
 function install()
 {
     $wpw = new PHPWikiPageWrapper($this->gid);
     $wpw->install();
 }