/**
	 * Constructor.
	 *
	 * @param $id Entry universally unique identifier. Required.
	 * @param $title Entry title. Required. Text or HTML (Atom only).
	 * @param $updated Last updated date/time. If omitted, the current
	 *   date/time is assumed.
	 * @param $url Entry URL, pointing back to the page it represents.
	 *   Optional.
	 * @param $author Entry author. Optional.
	 * @param $content Entry content. Optional.
	 */
	function __construct( $id, $title, $updated = null, $url = null,
			$author = null, $content = null ) {
		parent::__construct( $id, $title, $updated );

		if ( $url ) {
			global $wgMimeType;
			$this->addLink( $url, $wgMimeType );
		}

		if ( $author ) {
			$this->addAuthor( $author );
		}

		if ( $content ) {
			$this->setContent( $content );
		}
	}