Manual:Database layout/pt


 * Esquema redireciona para aqui; para informação sobre o espaço nominal Esquema:, consulte, e para a estrutura de extension.json, consulte.

Prior to MediaWiki 1.35, the SQL code that creates the core tables for any MediaWiki version—with extensive comments—is in the  source file.

As of 1.35 (and continuing during 1.36), the appropriate file is in the source file, which is then transformed into. In these versions is less relevant, though some tables are still in there that haven't been migrated yet.

The most important tables are probably, , and.

Histórico de versões
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.

Sistema de gestão de Base de Dados
In MediaWiki master, tables.sql is currently being migrated to, and documenting comments should be found there instead of the resultant SQL files.

Consulte a versão compatível com MariaDB/MySQL do Git: $mysql.

If using, the file and the unmigrated MySQL tables in  should be viewed instead.

If using, the files and  should be viewed instead.

If using Microsoft SQL Server, see.

If using Oracle, see.

Consulte também

 * Wikipédia:Consultas de base de dados
 * Wikipédia:Consultas de base de dados
 * Wikipédia:Consultas de base de dados
 * Wikipédia:Consultas de base de dados
 * Regista as edições na base de dados
 * Uma pesquisa sobre a evolução do esquema na BD do MediaWiki
 * a subpágina /diagram documenta o procedimento para atualizar o diagrama