1 -- Creates table math used for caching TeX blocks. Needs to be run
2 -- on old installations when adding TeX support (2002-12-26)
3 -- Or, TeX can be disabled via $wgUseTeX=false in LocalSettings.php
5 -- Note: math table has changed, and this script needs to be run again
6 -- to create it. (2003-02-02)
8 DROP TABLE IF EXISTS /*$wgDBprefix*/math;
9 CREATE TABLE /*$wgDBprefix*/math (
10 -- Binary MD5 hash of the latex fragment, used as an identifier key.
11 math_inputhash varbinary(16) NOT NULL,
13 -- Not sure what this is, exactly...
14 math_outputhash varbinary(16) NOT NULL,
16 -- texvc reports how well it thinks the HTML conversion worked;
17 -- if it's a low level the PNG rendering may be preferred.
18 math_html_conservativeness tinyint NOT NULL,
20 -- HTML output from texvc, if any
23 -- MathML output from texvc, if any
26 UNIQUE KEY math_inputhash (math_inputhash)
28 ) /*$wgDBTableOptions*/;