cf. https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MathSearch/+/1043120
17:19:02 Creating tables for enabled extensions 17:19:02 PHP Deprecated: Deprecated handler style for hook 'LoadExtensionSchemaUpdates': falsy value, use HookContainer::NOOP instead. [Called from MediaWiki\HookContainer\HookContainer::getHandlers in /workspace/src/includes/HookContainer/HookContainer.php at line 523] in /workspace/src/includes/debug/MWDebug.php on line 385 17:19:02 Creating mathindex table...Wikimedia\Rdbms\DBQueryError from line 1198 of /workspace/src/includes/libs/rdbms/database/Database.php: Error 1005: Can't create table `wikidb`.`mathindex` (errno: 150 "Foreign key constraint is incorrectly formed") 17:19:02 Function: Wikimedia\Rdbms\Database::sourceFile( /workspace/src/extensions/MathSearch/includes/../db/mathindex.sql ) 17:19:02 Query: CREATE TABLE `mathindex` ( 17:19:02 mathindex_revision_id int(10) unsigned NOT NULL, 17:19:02 mathindex_anchor varchar(50) NOT NULL, 17:19:02 mathindex_inputhash varbinary(32) NOT NULL, 17:19:02 mathindex_timestamp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 17:19:02 PRIMARY KEY (mathindex_revision_id,mathindex_anchor), 17:19:02 FOREIGN KEY ( mathindex_revision_id ) REFERENCES revision( rev_id ) ON DELETE CASCADE 17:19:02 ) ENGINE=InnoDB, DEFAULT CHARSET=binary
Seems like the structure of the revision table changed.