mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-01 18:56:42 +00:00
d93fdf9141
Currently the PNG and the LaTeXML rendering mode use a common table in the database. If both rendering modes are allowed in a wiki simultaneously this causes problems, because the fields are continuously overwritten. This change adds a new table for the LaTeXML rendering mode to the database. Bug: 65522 Change-Id: If5b887e908f22248789d478c34b03ea3c7da393a
19 lines
511 B
SQL
19 lines
511 B
SQL
--
|
|
-- Used by the math module to keep track
|
|
-- of previously-rendered items.
|
|
--
|
|
CREATE TABLE /*_*/mathlatexml (
|
|
-- Binary MD5 hash of math_inputtex, used as an identifier key.
|
|
math_inputhash varbinary(16) NOT NULL PRIMARY KEY,
|
|
-- the user input
|
|
math_inputtex 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 tinyint
|
|
) /*$wgDBTableOptions*/;
|