2014-05-27 05:53:46 +00:00
|
|
|
--
|
|
|
|
-- Used by the math module to keep track
|
|
|
|
-- of previously-rendered items.
|
|
|
|
--
|
|
|
|
CREATE TABLE /*_*/mathoid (
|
|
|
|
-- Binary MD5 hash of math_inputtex, used as an identifier key.
|
|
|
|
math_inputhash BYTEA PRIMARY KEY,
|
|
|
|
-- the user input
|
|
|
|
math_input TEXT NOT NULL,
|
|
|
|
-- the validated tex
|
|
|
|
math_tex TEXT,
|
|
|
|
-- MathML output LaTeXML
|
|
|
|
math_mathml TEXT,
|
|
|
|
-- SVG output mathoid
|
|
|
|
math_svg TEXT,
|
|
|
|
-- MW_MATHSTYLE_(INLINE_DISPLAYSTYLE|DISPLAY|INLINE)
|
|
|
|
math_style SMALLINT,
|
|
|
|
-- type of the Math input (TeX, MathML, AsciiMath...)
|
2017-08-16 05:50:44 +00:00
|
|
|
math_input_type SMALLINT,
|
|
|
|
-- png output of mathoid
|
|
|
|
math_png BYTEA
|
2014-05-27 05:53:46 +00:00
|
|
|
) /*$wgDBTableOptions*/;
|