public function random( $namespaces = array( 0 ), $limit = 1, $onlyredirects = false ) {
		$rnArray = array(
			'_code'       => 'rn',
			'list'        => 'random',
			'rnnamespace' => $namespaces,
			'_limit'      => $limit,
			'rnredirect'  => ( is_null( $onlyredirects ) || !$onlyredirects ) ? null : "true",
			'_lhtitle'    => 'title'
		);

		Hooks::runHook( 'PreQueryRandom', array( &$rnArray ) );

		pecho( "Getting random page...\n\n", PECHO_NORMAL );

		return $this->listHandler( $rnArray );
	}