jenkins-bot has submitted this change and it was merged. Change subject: MathSearch requires MySQL ......................................................................
MathSearch requires MySQL The MathSearch extension is designed to with mysql only. Change-Id: I399541fab500b3429d45a9d9761e98e424d4c1e7 --- M MathSearch.hooks.php 1 file changed, 5 insertions(+), 5 deletions(-) Approvals: Physikerwelt: Looks good to me, approved jenkins-bot: Verified diff --git a/MathSearch.hooks.php b/MathSearch.hooks.php index 5f37745..fb3b6c2 100644 --- a/MathSearch.hooks.php +++ b/MathSearch.hooks.php @@ -26,16 +26,16 @@ // // 'mssql' => 'math.mssql.sql', // // 'db2' => 'math.db2.sql', // ); -// $type = $updater->getDB()->getType(); -// if ( isset( $map[$type] ) ) { + $type = $updater->getDB()->getType(); + if ( $type == "mysql" ) { $dir = dirname( __FILE__ ) . '/db/' ;// . $map[$type]; $updater->addExtensionTable( 'mathindex', $dir . 'mathsearch.sql' ); $updater->addExtensionTable( 'mathobservation', $dir . 'mathobservation.sql' ); $updater->addExtensionTable( 'mathvarstat', $dir . 'mathvarstat.sql' ); $updater->addExtensionTable( 'mathpagestat', $dir . 'mathpagestat.sql' ); -// } else { -// throw new MWException( "Math extension does not currently support $type database." ); -// } + } else { + //throw new MWException( "Math extension does not currently support $type database." ); + } return true; } -- To view, visit https://gerrit.wikimedia.org/r/113358 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I399541fab500b3429d45a9d9761e98e424d4c1e7 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/MathSearch Gerrit-Branch: master Gerrit-Owner: Physikerwelt <w...@physikerwelt.de> Gerrit-Reviewer: Physikerwelt <w...@physikerwelt.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits