Page MenuHomePhabricator

Compatibility with MW 1.43: Use of MediaWiki\Parser\ParserOutput::setPageProperty with non-string value was deprecated
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Install LinkedWiki on MW 1.43 then run update.php script

What happens?:

Extension doesn't work and the following errors occur:

Deprecated: Use of MediaWiki\Parser\ParserOutput::setPageProperty with non-string value for wgLinkedWiki_page_with_sparql_query_without_cache was deprecated in MediaWiki 1.42. [Called from SparqlParser::render in /var/www/html/extensions/LinkedWiki/parser/SparqlParser.php at line 97] in /var/www/html/includes/debug/MWDebug.php on line 385

Deprecated: Use of MediaWiki\Parser\ParserOutput::setPageProperty with non-string value for wgLinkedWiki_page_with_sparql_query_cached was deprecated in MediaWiki 1.42. [Called from SparqlParser::render in /var/www/html/extensions/LinkedWiki/parser/SparqlParser.php at line 124] in /var/www/html/includes/debug/MWDebug.php on line 385

What should have happened instead?:

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

LinkedWiki 3.7.1

Other information (browser name/version, screenshots, etc.):