mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-01 10:46:36 +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.
12 lines
321 B
SQL
12 lines
321 B
SQL
--
|
|
-- Used by the math module to keep track
|
|
-- of previously-rendered items.
|
|
--
|
|
CREATE TABLE /*$wgDBprefix*/math (
|
|
math_inputhash varbinary(16) NOT NULL PRIMARY KEY,
|
|
math_outputhash varbinary(16) NOT NULL,
|
|
math_html_conservativeness tinyint NOT NULL,
|
|
math_html NVARCHAR(MAX),
|
|
math_mathml NVARCHAR(MAX),
|
|
);
|