From 99109d4b5eccd26f8f987d0f140b16f9ffa3a60a Mon Sep 17 00:00:00 2001 From: Tobias Haider Date: Thu, 21 Feb 2019 17:44:42 +0100 Subject: [PATCH] fix for semantic queries in navigation --- includes/Hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Hooks.php b/includes/Hooks.php index 2572fdc..cb85054 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -297,7 +297,7 @@ static function parseButtonLink( $line, $parser, $frame ) { if ( !is_numeric( $semanticHitNumber ) || $semanticHitNumber < 1 ) { return array( array( 'text' => $semanticQuery, 'href' => 'INVALID QUERY' ) ); } - $semanticHits = $parser->recursiveTagParse( '{{#ask:' . $semanticQuery . '|format=list|link=none}}', false ); + $semanticHits = $parser->recursiveTagParse( '{{#ask:' . $semanticQuery . '|link=none}}', false ); $semanticHits = explode( ',', $semanticHits ); $semanticLinks = array(); foreach ( $semanticHits as $semanticHit ) {