Manual:Database layout/id


 * Schema redirects here; for information about the Schema: namespace, see, and for the structure of extension.json, see.
 * Tables redirects here; for information about wikitext table syntax, see.

The SQL code that creates the core tables for any MediaWiki version—with extensive comments—is in the  source file. The most important tables are probably, , and.

Version history
The following table depicts the range of MediaWiki versions over which each table has existed in the schema. Red rows indicate tables that are no longer used by the core nor added by the installer as of a particular version. They might however still be used by extensions. Note, table headings are repeated every 10 rows for clarity.

Database management systems
See the latest MariaDB/MySQL-compatible version from Git:.

If using, the file should be viewed instead.

If using Microsoft SQL Server, see.

If using Oracle, see.

Lihat pula

 * w:Wikipedia:Database queries
 * Records of edits in the database
 * A research on MediaWiki DB schema evolution
 * the /diagram subpage documents the procedure to update the diagram
 * Records of edits in the database
 * A research on MediaWiki DB schema evolution
 * the /diagram subpage documents the procedure to update the diagram
 * the /diagram subpage documents the procedure to update the diagram