Manual:Code/pt-br
| Esta página do MediaWiki está sendo traduzida para o português do Brasil de Manual:Code — em inglês. Então talvez você encontre erros gramaticais ou seções que ainda não foram traduzidas. Você pode contribuir com a tradução.
|
Contents |
Esta página descreve os arquivos das fontes primárias (classes) / objetos do Código do MediaWiki.
Também há um arquivo gerado automaticamente pela versão desta documentação.
Pontos de acesso [edit]
index.php [edit]
Ponto de acesso principal para o software de MediaWiki. Manipula a maioria dos pedidos. Veja o arquivo Manual:Index.php.
api.php [edit]
Ponto de acesso externo para o API. Veja página API para uma descrição aprofundada.
img_auth.php [edit]
Manuscrito só serve imagens para usuários logados. Para configurar o wiki para usar esse manuscrito, veja Manual:Image Authorisation.
opensearch_desc.php [edit]
Retorna uma descrição documento OpenSearch (veja opensearch.org) isso aponta às máquinas de busca do wiki.
profileinfo.php [edit]
Permite que todos os usuários vejam as informação de perfil que estão armazenadas no banco de dados. Veja How to debug#Profiling.
redirect.php [edit]
Manuscrito que só redireciona ao artigo passado no parâmetro " wpDropdown " do pedido.
thumb.php [edit]
Manuscrito usado para redimensionar as imagens.
trackback.php [edit]
Permitir acrescentar um novo trackback ao banco de dados.
Directory /includes/ [edit]
Este diretório armazena todos os arquivos necessitados por MediaWiki.
Article.php [edit]
Contains the Article class. It represents an article of the wiki, can modify the article (edit, deletion, ...) and maintains state such as text (in wikitext format), flags, etc. See Manual:Article.php.
LinkCache.php [edit]
Keeps information on existence of articles. See LINKCACHE.TXT.
Linker.php [edit]
Linker is the parent class for the Skin class. It contains methods to create internal, external or image links. To use this class, use $wgUser->getSkin().
OutputPage.php [edit]
Hold HTML and wikitext parsing. Will also generate the <head> element or part of it. See OutputPage.php.
Pager.php [edit]
Contains the IndexPager class used for paging results of MySQL queries. See Manual:Pager.php.
Parser.php [edit]
- on SVN (directory "/includes/parser/" since 1.13)
This file defines the parser object used to convert wikitext to HTML. See Manual:Parser.php.
Setup.php [edit]
It included some commonly used files and create the global object variables so that MediaWiki can work. See Manual:Setup.php.
Skin.php [edit]
Encapsulates a "look and feel" for the wiki. See Manual:Skin.php.
Title.php [edit]
Represents the title of an article, and does all the work of translating among various forms such as plain text, URL, database key, etc. For convenience, and for historical reasons, it also represents a few features of articles that don't involve their text, such as access rights.
User.php [edit]
Encapsulates the state of the user viewing/using the site. Can be queried for things like the user's settings, name, etc. Handles the details of getting and saving to the user table of the database, and dealing with sessions and cookies.
WebRequest.php [edit]
This file contains the definition of the class WebRequest. See Manual:WebRequest.php.
WebStart.php [edit]
It does the initial setup for a web request: security checks, loads LocalSettings.php and Setup.php. See Manual:WebStart.php.
Wiki.php [edit]
This file consists of the definition of the class MediaWiki. See Manual:Wiki.php.
Directory /languages/ [edit]
This directory contains files used for internationalisation.
Language.php [edit]
Contains the Language class, it represents the language used for incidental text, and also has some character encoding functions and other locale stuff. Two globals contain an instance of this class: $wgContLang for the site language and $wgLang for the user language.
Directory /maintenance/ [edit]
This directory contains maintenace scrpits that must be run from a command line interface.
See Manual:Maintenance scripts for an overview of those scripts.
Directory /skins/ [edit]
This directory contain all skins classes, JavaScripts, CSS and some images used by that skins.
Veja também [edit]
| Língua: | English • Deutsch • français • Bahasa Indonesia • 日本語 • português do Brasil • русский • 中文(简体) |
|---|