Manual:Code/pt-br

From MediaWiki.org
Jump to: navigation, search

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]

on SVN

Ponto de acesso principal para o software de MediaWiki. Manipula a maioria dos pedidos. Veja o arquivo Manual:Index.php.

api.php [edit]

on SVN

Ponto de acesso externo para o API. Veja página API para uma descrição aprofundada.

img_auth.php [edit]

on SVN

Manuscrito só serve imagens para usuários logados. Para configurar o wiki para usar esse manuscrito, veja Manual:Image Authorisation.

opensearch_desc.php [edit]

on SVN

Retorna uma descrição documento OpenSearch (veja opensearch.org) isso aponta às máquinas de busca do wiki.

profileinfo.php [edit]

on SVN

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]

on SVN

Manuscrito que só redireciona ao artigo passado no parâmetro " wpDropdown " do pedido.

thumb.php [edit]

on SVN

Manuscrito usado para redimensionar as imagens.

trackback.php [edit]

on SVN

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]

on SVN

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]

on SVN

Keeps information on existence of articles. See LINKCACHE.TXT.

Linker.php [edit]

on SVN

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]

on SVN

Hold HTML and wikitext parsing. Will also generate the <head> element or part of it. See OutputPage.php.

Pager.php [edit]

on SVN

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]

on SVN

It included some commonly used files and create the global object variables so that MediaWiki can work. See Manual:Setup.php.

Skin.php [edit]

on SVN

Encapsulates a "look and feel" for the wiki. See Manual:Skin.php.

Title.php [edit]

on SVN

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]

on SVN

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]

on SVN

This file contains the definition of the class WebRequest. See Manual:WebRequest.php.

WebStart.php [edit]

on SVN

It does the initial setup for a web request: security checks, loads LocalSettings.php and Setup.php. See Manual:WebStart.php.

Wiki.php [edit]

on SVN

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]

on SVN

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 • русский • 中文(简体)‎