Added proper pf_server definition to table, enabled to turn on/off per-app-server...
[lhc/web/wiklou.git] / maintenance / archives / patch-math.sql
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
4
5 -- Note: math table has changed, and this script needs to be run again
6 -- to create it. (2003-02-02)
7
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 varchar(16) NOT NULL,
12
13 -- Not sure what this is, exactly...
14 math_outputhash varchar(16) NOT NULL,
15
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(1) NOT NULL,
19
20 -- HTML output from texvc, if any
21 math_html text,
22
23 -- MathML output from texvc, if any
24 math_mathml text,
25
26 UNIQUE KEY math_inputhash (math_inputhash)
27
28 ) TYPE=InnoDB;