2011-04-22 21:37:16 +00:00
|
|
|
--
|
|
|
|
-- Used by the math module to keep track
|
|
|
|
-- of previously-rendered items.
|
|
|
|
--
|
|
|
|
CREATE TABLE /*_*/math (
|
|
|
|
-- Binary MD5 hash of the latex fragment, used as an identifier key.
|
|
|
|
math_inputhash varbinary(16) NOT NULL,
|
|
|
|
|
2013-09-24 00:41:09 +00:00
|
|
|
-- MathML output from texvc, or from LaTeXML
|
|
|
|
math_mathml text,
|
|
|
|
|
|
|
|
-- DEPRECATED FIELDS
|
2011-04-22 21:37:16 +00:00
|
|
|
-- Not sure what this is, exactly...
|
|
|
|
math_outputhash varbinary(16) NOT NULL,
|
|
|
|
|
|
|
|
-- texvc reports how well it thinks the HTML conversion worked;
|
|
|
|
-- if it's a low level the PNG rendering may be preferred.
|
|
|
|
math_html_conservativeness tinyint NOT NULL,
|
|
|
|
|
|
|
|
-- HTML output from texvc, if any
|
2013-09-24 00:41:09 +00:00
|
|
|
math_html text
|
2011-04-22 21:37:16 +00:00
|
|
|
) /*$wgDBTableOptions*/;
|
|
|
|
|
|
|
|
CREATE UNIQUE INDEX /*i*/math_inputhash ON /*_*/math (math_inputhash);
|