mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-18 18:40:39 +00:00
3cbb5225e3
Add the tables needed for Mathoid. Bug: 65793 Change-Id: Ia8dcb11234dffb7bce67f9ca0e7ebf1279fd7620
21 lines
574 B
SQL
21 lines
574 B
SQL
--
|
|
-- 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...)
|
|
math_input_type SMALLINT
|
|
) /*$wgDBTableOptions*/;
|