Manual:Imagelinks table/zh

imagelinks表保存了文件嵌入. 有很多功能需要它，例如在输出功能的链接缓存和"链入页面"页面. 注意有的图片可能在外部文件集. In the case of Wikimedia wikis, this table includes files hosted on Wikimedia Commons.

il_from
链接所在的页面的.

il_from_namespace
链接所在的页面的.

il_to
被链接的文件名.

模式摘要
+---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field            | Type             | Null | Key | Default | Extra |
 * il_from          | int(10) unsigned | NO   | PRI | 0       |       |
 * il_to            | varbinary(255)   | NO   | PRI |         |       |
 * il_from_namespace | int(11)         | NO   | MUL | 0       |       |

+---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field            | Type             | Null | Key | Default | Extra |
 * il_from          | int(10) unsigned | NO   | PRI | 0       |       |
 * il_from_namespace | int(11)         | NO   | MUL | 0       |       |
 * il_to            | varbinary(255)   | NO   | PRI |         |       |

+---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field            | Type             | Null | Key | Default | Extra |
 * il_from          | int(10) unsigned | NO   | PRI | 0       |       |
 * il_from_namespace | int(11)         | NO   |     | 0       |       |
 * il_to            | varbinary(255)   | NO   | PRI |         |       |

+-+-+--+-+-+---+ +-+-+--+-+-+---+ +-+-+--+-+-+---+
 * Field  | Type                | Null | Key | Default | Extra |
 * il_from | int(10) unsigned   | NO   | PRI | 0       |       |
 * il_to  | varchar(255) binary | NO   | PRI | NULL    |       |

+-+-+--+-+-+---+ +-+-+--+-+-+---+ +-+-+--+-+-+---+
 * Field  | Type                | Null | Key | Default | Extra |
 * il_from | int(8) unsigned    | NO   | PRI | 0       |       |
 * il_to  | varchar(255) binary | NO   | PRI | NULL    |       |

+-+-+--+-+-+---+ +-+-+--+-+-+---+ +-+-+--+-+-+---+
 * Field  | Type                | Null | Key | Default | Extra |
 * il_from | varchar(255) binary | NO  | PRI | NULL    |       |
 * il_to  | varchar(255) binary | NO   | PRI | NULL    |       |

Indexes
 ++++--+---+---+-+--++--++-+---+ ++++--+---+---+-+--++--++-+---+ ++++--+---+---+-+--++--++-+---+
 * Table     | Non_unique | Key_name               | Seq_in_index | Column_name       | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
 * imagelinks |         0 | PRIMARY                |            1 | il_from           | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * imagelinks |         0 | PRIMARY                |            2 | il_to             | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * imagelinks |         1 | il_to                  |            1 | il_to             | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * imagelinks |         1 | il_to                  |            2 | il_from           | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * imagelinks |         1 | il_backlinks_namespace |            1 | il_from_namespace | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * imagelinks |         1 | il_backlinks_namespace |            2 | il_to             | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * imagelinks |         1 | il_backlinks_namespace |            3 | il_from           | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |