Mediawiki 1.39.4, PHP 8.1.25, MariaDB 11.1.
When #get_db_data is constructed like this (using SQL JOIN):
{{#get_db_data:
db=test
|from=t1
|where=t1.c1='test'
|join on=t1.c1=t2.id
|data=t1c1=t1.c1
}}
the resulting query is
SELECT t1.c1 FROM t1 WHERE t1.c1='test'
i.e. missing 'JOIN t2 ON
It turns out that Parser gets empty objects (for .djvu files), which are
then used by tag hook functions defined in
extensions/ProofreadPage/includes/ProofreadPage.php.
This started with significant changes made to
includes/media/DjVuHandler.php from 1.35 to 1.37 and carried on to the
current