Manual:Content models table/fr

La table content_models est une table de normalisation pour les moms des modèles de contenu. They are referenced from the table.

In PHP code, normalization is managed via.

It was introduced in MediaWiki 1.31 as part of the project; see  for details. During migration from older versions, the table is populated by (run automatically by the upgrade script).

model_id
Clé primaire.

model_name
To be documented.

Résumé du schéma
++---+--+-+-++ ++---+--+-+-++ ++---+--+-+-++
 * Field     | Type          | Null | Key | Default | Extra          |
 * model_id  | int(11)       | NO   | PRI | NULL    | auto_increment |
 * model_name | varbinary(64) | NO  | UNI | NULL    |                |

++---+--+-+-++ ++---+--+-+-++ ++---+--+-+-++
 * Field     | Type          | Null | Key | Default | Extra          |
 * model_id  | smallint(6)   | NO   | PRI | NULL    | auto_increment |
 * model_name | varbinary(64) | NO  | UNI | NULL    |                |