Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:filetypes table

From mediawiki.org
Translate this page
Languages:
Manual:Contents
MediaWiki database layout
filetypes table
MediaWiki version:
1.44
Gerrit change 1091477

This table stores information about file types of uploaded images and other files.It is part of the replacement of the oldimage andfilearchive tables.

Fields

[edit]

ft_id

[edit]

Primary key.

ft_media_type

[edit]

Media type as defined by theMEDIATYPE_xxx constants.

ft_major_mime

[edit]

Major part of a MIME media type as defined by IANA, seehttps://www.iana.org/assignments/media-types/.Forchemical types, which are defined by the ACS, seehttp://dx.doi.org/10.1021/ci9803233.

ft_minor_mime

[edit]

Minor part of a MIME media type as defined by IANA the minor parts are not required to adhere to any standard but should be consistent throughout the database seehttps://www.iana.org/assignments/media-types/.

Schema summary

[edit]
MediaWiki version:
1.44
Gerrit change 1091477

DESCRIBEfiletypes;

+---------------+----------------------+------+-----+---------+----------------+| Field         | Type                 | Null | Key | Default | Extra          |+---------------+----------------------+------+-----+---------+----------------+| ft_id         | smallint(5) unsigned | NO   | PRI | NULL    | auto_increment || ft_media_type | varbinary(255)       | NO   | MUL | NULL    |                || ft_major_mime | varbinary(255)       | NO   |     | NULL    |                || ft_minor_mime | varbinary(255)       | NO   |     | NULL    |                |+---------------+----------------------+------+-----+---------+----------------+

Indexes

[edit]
MediaWiki version:
1.44
Gerrit change 1091477

SHOWINDEXINfiletypes;

+-----------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+| Table     | Non_unique | Key_name      | Seq_in_index | Column_name   | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |+-----------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+| filetypes |          0 | PRIMARY       |            1 | ft_id         | A         |           0 |     NULL | NULL   |      | BTREE      |         |               || filetypes |          0 | ft_media_mime |            1 | ft_media_type | A         |           0 |     NULL | NULL   |      | BTREE      |         |               || filetypes |          0 | ft_media_mime |            2 | ft_major_mime | A         |           0 |     NULL | NULL   |      | BTREE      |         |               || filetypes |          0 | ft_media_mime |            3 | ft_minor_mime | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |+-----------+------------+---------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
Engines
Current
Former
Technical documentation
Configuration
Development
Core tables
Current
Former
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Filetypes_table&oldid=7930313"

[8]ページ先頭

©2009-2025 Movatter.jp