Manual:Math table

Manual:Contents MediaWiki database layout math table

The math table was used by the math module to keep track of previously-rendered items.

This table is not used in the MediaWiki 1.18 release, and can be safely deleted.

It was, and still is used as part of Extension:Math , however, no core software needs it.

Schema summary

MediaWiki versions:
1.10 – 1.17

DESCRIBE math;

+----------------------------+---------------+------+-----+---------+-------+
| Field                      | Type          | Null | Key | Default | Extra |
+----------------------------+---------------+------+-----+---------+-------+
| math_inputhash             | varbinary(16) | NO   | PRI | NULL    |       |
| math_outputhash            | varbinary(16) | NO   |     | NULL    |       |
| math_html_conservativeness | tinyint(4)    | NO   |     | NULL    |       |
| math_html                  | blob          | YES  |     | NULL    |       |
| math_mathml                | blob          | YES  |     | NULL    |       |
+----------------------------+---------------+------+-----+---------+-------+
MediaWiki version:
1.9

DESCRIBE math;

+----------------------------+-------------+------+-----+---------+-------+
| Field                      | Type        | Null | Key | Default | Extra |
+----------------------------+-------------+------+-----+---------+-------+
| math_inputhash             | varchar(16) | NO   | PRI |         |       |
| math_outputhash            | varchar(16) | NO   |     |         |       |
| math_html_conservativeness | tinyint(1)  | NO   |     |         |       |
| math_html                  | text        | YES  |     | NULL    |       |
| math_mathml                | text        | YES  |     | NULL    |       |
+----------------------------+-------------+------+-----+---------+-------+

Indexes

MediaWiki versions:
1.1 – 1.17

SHOW INDEX IN math;

+-------+------------+----------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_unique | Key_name       | Seq_in_index | Column_name    | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+-------+------------+----------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| math  |          0 | math_inputhash |            1 | math_inputhash | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+-------+------------+----------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+