mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
ae5fc8a6f9
...testing and reviewing... ... all tests work locally... .. mathjax is not ready to be released .. .. jenkins can't add fields to the database.. .. further testing and debugging ... .. cleanup the texvc.. Change-Id: I5132901ed2072c6af7b9ed82d267200d64c67939
25 lines
716 B
SQL
25 lines
716 B
SQL
--
|
|
-- 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,
|
|
|
|
-- MathML output from texvc, or from LaTeXML
|
|
math_mathml text,
|
|
|
|
-- DEPRECATED FIELDS
|
|
-- 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
|
|
math_html text
|
|
) /*$wgDBTableOptions*/;
|
|
|
|
CREATE UNIQUE INDEX /*i*/math_inputhash ON /*_*/math (math_inputhash);
|