Manual:Templatelinks table

Contains for each current page inclusion the id of the host page, the namespace number of the included page, and its title without namespace.

The target page may or may not exist, and due to renames and deletions may refer to different page records as time goes by.

New to version 1.6.

DESCRIBE templatelinks results in:

+---+-+--+-+---+---+ +---+-+--+-+---+---+ +---+-+--+-+---+---+
 * Field        | Type                | Null | Key | Default   | Extra |
 * tl_from      | int(8)              | NO   | PRI | 0         |       |
 * tl_namespace | tinyint(2) unsigned | NO   | PRI |           |       |
 * tl_title     | varchar(255)        | NO   | PRI | 0         |       |

DESCRIBE templatelinks in MediaWiki 1.8 results in: +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+
 * Field       | Type            | Null | Key | Default | Extra |
 * tl_from     | int(8) unsigned | NO   | PRI | 0       |       |
 * tl_namespace | int(11)        | NO   | PRI | 0       |       |
 * tl_title    | varchar(255)    | NO   | PRI | NULL    |       |

mysql> describe mw_templatelinks; +--+-+--+-+-+---+ +--+-+--+-+-+---+ +--+-+--+-+-+---+ 3 rows in set (0.02 sec)
 * Field       | Type            | Null | Key | Default | Extra |
 * tl_from     | int(8) unsigned | NO   | PRI | 0       |       |
 * tl_namespace | int(11)        | NO   | PRI | 0       |       |
 * tl_title    | varchar(255)    | NO   | PRI | NULL    |       |

mysql> describe mw_templatelinks; +--+--+--+-+-+---+ +--+--+--+-+-+---+ +--+--+--+-+-+---+ 3 rows in set (0.00 sec)
 * Field       | Type             | Null | Key | Default | Extra |
 * tl_from     | int(10) unsigned | NO   | PRI | 0       |       |
 * tl_namespace | int(11)         | NO   | PRI | 0       |       |
 * tl_title    | varbinary(255)   | NO   | PRI |         |       |