Manual:Configuration settings/pt

É um índice de todas as definições da configuração suportadas baseadas no ficheiro MainConfigSchema.php (ou DefaultSettings.php antes do MediaWiki 1.39).

Nunca edite MainConfigSchema.php; em vez disso, adicione as linhas apropriadas em LocalSettings.php e corrige-as conforme o apropriado.

Se não puder encontrar uma definição da configuração aqui, veja se está definido em MainConfigSchema.php. A variável deveria ter alguma documentação lá.

As definições que foram removidas nas versões do MediaWiki anteriores à versão 1.35 já não são listadas aqui. Por favor, utilize a caixa de pesquisa para encontrar a página do manual relevante (por exemplo, Manual:$wgAllowAnonymousMinor).
Listado alfabeticamente | Listado por função | Categoria:Definições de Configuração do MediaWiki

Definições gerais

Objetos Globais

  • $wgAutoloadLocalClasses Array mapping class names to filenames, for autoloading.
  • $wgConf – Crie um objeto de configuração de site. Não é muito utilizado na instalação predefinida.

URLs do servidor e caminhos de ficheiro

Consulte também ficheiro/definições do caminho de envio de imagem.

Consulte também definições do caminho de temas.

Ficheiros e envios de ficheiro

Os envios devem ser configurados especialmente para serem seguros.

Envios partilhados

These settings are kept for backward compatibility, see $wgForeignFileRepos for the new setting, or $wgUseInstantCommons if you only need read access to images on Commons.

Tipos de MIME

Aviso Aviso: This is not a configuration setting, but a global state variable. It should be used solely by thumb.php !

Consulte também: Manual:MIME type detection

Imagens

Consulte também: Manual:Configurar envios de ficheiro

DjVu

EXIF

  • $wgShowEXIF Show EXIF data at the end of file description pages.
  • $wgUpdateCompatibleMetadata Whether to automatically update the img_metadata field if it is outdated but compatible with the current version.

ImageMagick

SVG

Definições de miniatura

Antivírus

Definições de correio eletrónico

Consulte também 'Acesso de Utilizador': $wgEmailConfirmToEdit

Definições da notificação de E-mail (Enotif)

Actual notifications for each user are defined in the options. You can change defaults with $wgDefaultUserOptions.
  • $wgEnotifFromEditor Whether to make email notifications appear to come from the user who makes the edit
  • $wgEnotifImpersonal (removed in 1.45)Send a generic mail instead of a personalised mail for each user.
  • $wgEnotifMaxRecips (removed in 1.45)Maximum number of users to mail at once when using impersonal mail.
  • $wgEnotifMinorEdits – Definida como true para permitir o envido da notificação por correio eletrónico também para as edições marcadas como edições secundárias
  • $wgEnotifRevealEditorAddress Set to true to insert the page editor's email address into the email notifications Reply-To address
  • $wgEnotifUseRealName Use real name instead of username in email "from" field.
  • $wgEnotifUserTalk – Ative as notificações por e-mail para as edições nas páginas de discussão dos utilizadores.
  • $wgEnotifWatchlist – Defina como true para permitir a notificação por correio eletrónico para as páginas vigiadas.
  • $wgUseEnotif (removed in 1.39)Overall "use Enotif" setting
  • $wgUsersNotifiedOnAllChanges Array of usernames who will be sent a notification email for every change which occurs on a wiki.

Definições da base de dados

Definições de LoadBalancer

Específico de MySQL

Específico de PostgreSQL

  • $wgDBport Database port. Only used by PostgreSQL.

Específico de SQLite

Definições da BD Partilhada

Campos de extensão

  • $wgExtPGNewFields (removed in 1.36)Extension defined fields to be added to existing tables
  • $wgExtNewTables (removed in 1.36)Extension Defined tables to be added on schema change
  • $wgExtNewFields (removed in 1.36)Extension defined fields to be added to existing tables
  • $wgExtNewIndexes (removed in 1.36)Extension defined indexes to be added to existing tables
  • $wgExtPGAlteredFields (removed in 1.36)Extension defined columns to be altered in tables
  • $wgExtModifiedFields (removed in 1.36)Extension defined fields to change existing tables

Controladores de conteúdo e de armazenamento

Truques e limites de desempenho

Cache

Main page: Manual:Caching
"Consulte: Interwiki para as definições da cache da Interwiki."

Cache de Ficheiro

Definições para a cache de ficheiro lateral do 'Servidor'.

Cache de Mensagem

Cache da Barra Lateral

Cache do Analisador

Definições de Memcached

Definições para configurar o armazenamento de objetos baseado na memória de Memcached (se estiver a utiliá-la) docs/memcached.md tem mais detalhes.

Cache de WAN

Definições de proxy de HTTP (CDN)

Estas definições configuram o MediaWiki quando se utiliza um servidor proxy HTTP em cache. They apply to caching using Varnish as well as Squid.

  • $wgCdnMatchParameterOrder Indicates if should take query parameters order on incoming requests into account for CDN caching
  • $wgCdnMaxageLagged Cache timeout for the CDN when DB replica lag is high
  • $wgCdnMaxageStale Cache timeout in seconds when delivering a stale ParserCache response due to PoolCounter contention.
  • $wgCdnMaxageSubstitute Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
  • $wgCdnMaxAge Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
  • $wgCdnReboundPurgeDelay Secondary delayed purges of URLs
  • $wgCdnServersNoPurge Same as $wgCdnServers , except no HTTP purges will be sent and CIDR ranges are accepted
  • $wgCdnServers An array of individual proxy servers to help MediaWiki detect if the request has been proxied.
    But also to send back to the proxy PURGE commands on changes.
  • $wgForcedRawSMaxage Default maximum age (in seconds) for raw CSS/JavaScript accesses.
  • $wgInternalServer Internal server name as known to Squid, if different than $wgServer .
  • $wgLoggedOutMaxAge (removed in 1.38)Cache TTL for the user agent sent as max-age, for logged out users.
  • $wgSquidMaxage (removed in 1.35)Cache timeout for the squid.
  • $wgSquidPurgeUseHostHeader (removed in 1.42)Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
  • $wgSquidServersNoPurge (removed in 1.35)Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgSquidServers (removed in 1.35)An array of individual proxy servers to help MediaWiki detect if the request has been proxied.
    But also to send back to the proxy PURGE commands on changes.
  • $wgUseCdn Enable/disable page view caching.
  • $wgUseESI (deprecated in 1.33)If you run Squid3 with ESI support, enable this.
  • $wgUsePrivateIPs Whether private X-Forwarded-For IPs should be accepted
  • $wgUseSquid (removed in 1.35)Enable/disable Squid.
  • $wgVaryOnXFP Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds.

HTCP multicast purging

Language, regional and character encoding settings

Timezone settings

Language-specific

inglês
  • $wgAmericanDates Use 'mdy' instead of 'dmy' as the default date format, e.g. 'May 12' instead of '12 May'.
árabe/hindi
  • $wgTranslateNumerals For Hindi, Arabic, and other languages with their own numeral systems, use local numerals instead of Western style (0-9) numerals in some areas of the interface.

Output format and skin settings

Output

Temas

ResourceLoader

See ResourceLoader for more information.

Page titles and redirects

Espaços nominais

Suporte para dispositivos móveis

Sites e hiperligações de interwiki

Cache de interwiki

Consulte interwiki cache para mais informação.

Analisador

HTML

  • $wgRawHtml Allow raw, unchecked HTML in <html>...</html> sections.
  • $wgTidyConfig Configuration of the HTML postprocessing tool to use for fixing invalid HTML code.

Estatísticas e análise de conteúdo

  • $wgActiveUserDays The number of days within which a person must make edits to be considered an "active" user
  • $wgArticleCountMethod Method used to determine if a page in a content namespace should be counted as a valid content page (article).
  • $wgDisableCounters (removed in 1.35)Disable page view counters.
  • $wgManualRevertSearchRadius Maximum number of revisions of a page that will be checked against every new edit made to determine whether the edit was a manual revert.
  • $wgRevertedTagMaxDepth Maximum depth (revision count) of reverts that will have their reverted edits marked with the mw-reverted change tag.

Contas de utilizador, autenticação

Autenticação

Direitos de utilizador, controlo de acesso e monitorização

Acesso

Blocking/banning, and some other related settings.

See Manual:Preventing access for more methods and settings concerning access. See also Manual:Privilégios de Utilizador for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See User Access for User Access settings.

Segurança

Cookies

Profiling, testing and debugging

Depuração

Consulte também: Manual:How to debug

Profiling

Pesquisar

Editar interface do utilizador

Maintenance Scripts setting

Recent changes, new pages, watchlist and history

Consulte também Ajuda:Alterações Recentes e $wgDefaultUserOptions .

Feed

  • $wgFeed Toggle syndication feeds (RSS, Atom e.g. Recentchanges, Newpages) on and off.
  • $wgAdvertisedFeedTypes Feed types that should be provided by default.
  • $wgFeedCacheTimeout Minimum timeout for cached Recentchanges feed, in seconds.
  • $wgFeedClasses Available feeds objects.
  • $wgFeedDiffCutoff When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this size.
  • $wgFeedLimit Set maximum number of results to return in syndication feeds (RSS, Atom) for e.g. Recentchanges, Newpages.
  • $wgOverrideSiteFeed Override the site's default rss/atom feed that appears on every page.


Direitos de Autor

Importar/Exportar

Extensões

Categoria

Registos

Páginas especiais

Ações

  • $wgActions Array of allowed values for the action parameter for normal pages.

Políticas de robô

Ajax, API de Ação e API de REST

Ajax

API

Shell and process control

Cliente de HTTP

Trabalhos

Wiki farm

Definições de Diversos

Consultar também

Category:Configure/pt#%20 Category:MediaWiki configuration/pt#%20 Category:MediaWiki configuration settings/pt#%20 Category:Variables/pt#%20
Category:Configure/pt Category:MediaWiki configuration/pt Category:MediaWiki configuration settings/pt Category:Variables/pt