You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DB system (MySQL, Blazegraph, etc.) and version: 10.11.4-MariaDB-1:10.11.4+maria~ubu2204
Issue
During the Wikimedia Hackathon 2024, I tried to run the latest version of Semantic MediaWiki on a pre-release version of MediaWiki 1.43 (upcomming LTS). The goal was to identify issues and maybe provide patches right away. Unfortunately, the available time will not allow to provide a fix, therefore I document the issue here.
First: Installation (running maintenance/run.php update) and activation of the extension ran smoothly, No immediate error.
But when trying to access Special:Browse the API call with the parameters
FYI: SelectQueryBuilder was introduced long time ago: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/566127. It's only now that everything is getting migrated over. The other query builders or some special features have been introduced later.
Setup
Issue
During the Wikimedia Hackathon 2024, I tried to run the latest version of Semantic MediaWiki on a pre-release version of MediaWiki 1.43 (upcomming LTS). The goal was to identify issues and maybe provide patches right away. Unfortunately, the available time will not allow to provide a fix, therefore I document the issue here.
First: Installation (running
maintenance/run.php update
) and activation of the extension ran smoothly, No immediate error.But when trying to access
Special:Browse
the API call with the parametersfailed with the error
Apparently the code at
SemanticMediaWiki/src/SQLStore/EntityStore/TraversalPropertyLookup.php
Lines 96 to 102 in f6b3855
gets called with
which is not allowed in the MediaWiki 1.43 DBAL anymore.
Wikimedia engineer Ladsgroup recommended to use the new "query builder" (in this particular case
SelectQueryBuilder
, see https://www.mediawiki.org/wiki/Manual:Database_access#SelectQueryBuilder) implementation of MediaWiki.I can not tell how much code in Semantic MediaWiki is actually affected by this, but there are ~27 files that contain the
INNER JOIN
syntax.The text was updated successfully, but these errors were encountered: