public static function newWiki( $config_name = null, $pgUsername = null, $password = null, $base_url = 'http://en.wikipedia.org/w/api.php', $classname = 'Wiki' ) {
		pecho( "Loading Peachy (version " . PEACHYVERSION . ")...\n\n", PECHO_NORMAL );
		/*$updater = new AutoUpdate();
		$Uptodate = $updater->Checkforupdate();
		if( !$Uptodate ) $updater->updatePeachy();*/

		if( !is_null( $config_name ) ) {
			$config_params = self::parse_config( $config_name );

		} else {
			$config_params = array(
				'username' => $pgUsername,
				'password' => $password,
				'baseurl'  => $base_url,
				'method'   => 'legacy'
			);

		}

		if( is_null( $config_params['baseurl'] ) || !isset( $config_params['baseurl'] ) ) {
			throw new LoginError( array( "MissingParam", "The baseurl parameter was not set." ) );
		}

		if( !isset( $config_params['username'] ) ) {
			$config_params['nologin'] = true;
		}
		if( !isset( $config_params['password'] ) && isset( $config_params['method'] ) && $config_params['method'] == "legacy" ) {
			$config_params['nologin'] = true;
		}

		list( $version, $extensions ) = self::wikiChecks( $config_params['baseurl'] );

		Hooks::runHook( 'StartLogin', array( &$config_params, &$extensions ) );

		$w = new $classname( $config_params, $extensions, false, null );
		$w->mwversion = $version;

		return $w;
	}