diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 18:12:39 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 18:12:39 +0000 |
commit | 183851b06bd6c52f3cae5375f433da720d410447 (patch) | |
tree | a477257decbf3360127f6739c2f9d0ec57a03d39 /maintenance/archives/patch-math.sql |
MediaWiki 1.7.1 wiederhergestellt
Diffstat (limited to 'maintenance/archives/patch-math.sql')
-rw-r--r-- | maintenance/archives/patch-math.sql | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/maintenance/archives/patch-math.sql b/maintenance/archives/patch-math.sql new file mode 100644 index 00000000..aee24a8a --- /dev/null +++ b/maintenance/archives/patch-math.sql @@ -0,0 +1,28 @@ +-- Creates table math used for caching TeX blocks. Needs to be run +-- on old installations when adding TeX support (2002-12-26) +-- Or, TeX can be disabled via $wgUseTeX=false in LocalSettings.php + +-- Note: math table has changed, and this script needs to be run again +-- to create it. (2003-02-02) + +DROP TABLE IF EXISTS /*$wgDBprefix*/math; +CREATE TABLE /*$wgDBprefix*/math ( + -- Binary MD5 hash of the latex fragment, used as an identifier key. + math_inputhash varchar(16) NOT NULL, + + -- Not sure what this is, exactly... + math_outputhash varchar(16) NOT NULL, + + -- texvc reports how well it thinks the HTML conversion worked; + -- if it's a low level the PNG rendering may be preferred. + math_html_conservativeness tinyint(1) NOT NULL, + + -- HTML output from texvc, if any + math_html text, + + -- MathML output from texvc, if any + math_mathml text, + + UNIQUE KEY math_inputhash (math_inputhash) + +) TYPE=InnoDB; |