mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-15 03:34:10 +00:00
d61409f974
The 'math' table will no longer be created on a default install unless you've explicitly enabled the Math plugin at install time; the usual update.php procedure will add it in. Postgres, Oracle, MSSQL, and DB2 variants are included -- broken out from the core files -- but have not been tested. I know there has been some code duplication in parser test infrastructure but could only find one instance of the parser test temporary table setup to remove the 'math' table from (the extension adds it back via the hook). If the phpunit-based runner breaks, please track it down and fix it there too.
9 lines
346 B
SQL
9 lines
346 B
SQL
CREATE TABLE &mw_prefix.math (
|
|
math_inputhash VARCHAR2(32) NOT NULL,
|
|
math_outputhash VARCHAR2(32) NOT NULL,
|
|
math_html_conservativeness NUMBER NOT NULL,
|
|
math_html CLOB,
|
|
math_mathml CLOB
|
|
);
|
|
CREATE UNIQUE INDEX &mw_prefix.math_u01 ON &mw_prefix.math (math_inputhash);
|