Manual:Code/pt

Esta página descreve as diretorias de nível superior no repositório do código principal do MediaWiki.

Consulte também as seguintes páginas no site da documentação do MediaWiki de versão (gerado automaticamente utilizando Doxygen):

Pontos de entrada

Consulte os pontos de 'Entrada' no doc.wikimedia.org para saber sobre os ficheiros de ponto de entrada, tais como: index.php, api.php and load.php.

cache/

O instalador recomenda os utilizadores para ativar a funcionalidade $wgCacheDirectory , tornando esta diretoria gravável e utilizando-o para essa funcionalidade.

Esta diretoria está vazio por predefinição.

docs/

Contains high-level documentation about MediaWiki, which is automatically published for each MediaWiki release (and for "master") to doc.wikimedia.org.

For the living version of the MediaWiki doc site, see https://doc.wikimedia.org/mediawiki-core/.

extensions/

É aqui que as extensões do MediaWiki são instaladas. To install an extension, its source code is placed in a subdirectory here (typically by unpacking a tarball downloaded from the extension's mediawiki.org documentation page, or by cloning the source code from Gerrit). Then, to enable the extension it must be loaded from LocalSettings.php, typically by calling wfLoadExtension().

The default distribution for MediaWiki (as advertised on our homepage and as packaged with Debian) also bundles a number of extensions and skins. Consulte Extensões e temas agrupados.

includes/

This directory stores the majority of the MediaWiki source code.

To learn about the different classes and components of MediaWiki, see "Topics" on doc.wikimedia.org/mediawiki-core/.

images/

This is the default directory where user-uploaded media files will be stored. It is also where the generated thumbnails are stored by default.

Consulte também Manual:Configurar envios de ficheiro e Manual:Administração de Imagem.

languages/

This directory contains pure data and configuration for localization and internationalization.

Especificamente:

  • the messages/ subdirectory contains misc characteristics of MediaWiki that are localisable (but not interface messages).

Como os nomes de Espaços Nominais, Funções do Analisador e special pages.

maintenance/

This directory contains shell scripts for use by system administrators to perform maintenance tasks. This includes scripts for performing database schema migrations, and batch operations. Consulte Manual: Comandos de Manutenção para um resumo.

mw-config/

This directory is the entry point for the Web installer which new administrators can use to install their wiki. It helps with configuring the wiki and creating the database schema.

resources/

This directory contains frontend resources (JavaScript and CSS) managed by ResourceLoader.

skins/

É aqui que temas do MediaWiki são instalados. To install a skin, its source code is placed in a subdirectory here (typically by unpacking a tarball, or by cloning the source code from Git). Then, to enable the skin it must be loaded from LocalSettings.php, typically by calling wfLoadSkin().

Consulte também Extensões e temas agrupados.

tests/

Contém os testes de unidade, testes de integração, e os testes de ponta-a-ponta.

Category:MediaWiki technical documentation/pt#Code/pt Category:MediaWiki code/pt#Code/pt Category:Entry point URLs/pt#Code/pt
Category:Entry point URLs/pt Category:MediaWiki code/pt Category:MediaWiki technical documentation/pt