/**
	 * Summary tag parser hook handler.
	 */
	public static function summary( $text, $params, $parser ) {
		$mwHidden =& MagicWord::get( 'wlk-hidden' );

		# Remove extra space to make block rendering easier.
		$text = trim( $text );
		self::trySetSummary( $parser, $text );

		$hidden = WikilogUtils::arrayMagicKeyGet( $params, $mwHidden );
		return $hidden ? '<!-- -->' : $parser->recursiveTagParse( $text );
	}