Manual:content table

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎dansk • ‎日本語
Manual:Contents MediaWiki database layout content table


MediaWiki version: 1.31

The content table represents content objects. Its primary purpose is to provide the necessary meta-data for loading and interpreting a serialized data blob to create a content object.

Fields[edit]

content_id[edit]

ID of the content object

content_size[edit]

Nominal size of the content object (not necessarily of the serialized blob)

content_sha1[edit]

Nominal hash of the content object (not necessarily of the serialized blob)

content_model[edit]

Reference to content_models.model_id. Note the content format isn't specified; it should be assumed to be in the default format for the model unless auto-detected otherwise.

content_address[edit]

URL-like address of the content blob