Manual:Configuration settings/pt-br

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Configuration settings and the translation is 0% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Türkçe • ‎dansk • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎svenska • ‎čeština • ‎русский • ‎中文 • ‎日本語 • ‎한국어

This is an index of all supported configuration settings based on the DefaultSettings.php file.

Never edit DefaultSettings.php; copy appropriate lines to LocalSettings.php instead and amend them as appropriate.

If you can't find a configuration setting here, see if it is defined in DefaultSettings.php. The variable should have some documentation there.

Settings removed in versions of MediaWiki prior to 1.27 are no longer listed here. Please use the search box to find the relevant manual page (e.g. Manual:$wgAllowAnonymousMinor).
Listed alphabetically | Listed by function | Category:Definições de configuração do MediaWiki

General Settings

Global Objects

Server URLs and file paths

Files and file uploads

Uploads have to be specially set up to be secure.

Shared uploads

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.

MIME types

Atenção Atenção: ↑This is not a configuration setting, but a global state variable. It should be used solely by thumb.php!

See also: Manual:Mime type detection

Images

See also: Manual:Configuring file uploads

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

Set $wgUseImageMagick to true to use ImageMagick instead of the builtin functions.

SVG

Thumbnail settings

Antivirus

Email settings

See also User Access: $wgEmailConfirmToEdit

  • $wgAdditionalMailParams Parâmetros de e-mail adicionais, serão passados como o último argumento para a chamada da função mail() do PHP.
  • $wgAllowHTMLEmail – Defina como true para habilitar emails em HTML.
  • $wgEmailAuthentication – Defina como true para ativar a autenticação por correio eletrónico (confirmação) para esta wiki. Exceto para mensagens de lembrete de palavra-passe, as funções de correio eletrónico funcionam apenas para os endereços de correio eletrónico autenticados.
  • $wgEmergencyContact – Endereço de email do administrador do site
  • $wgEnableEmail – Defina como true para habilitar recursos básicos de e-mail
  • $wgEnableSpecialMute (introduzido na 1.34) (obsoleto na versão 1.34) – Set to true to enable the Special Mute page.
  • $wgEnableUserEmail – Defina como true para habilitar o envio de e-mails de usuário a usuário.
  • $wgEnableUserEmailBlacklist – Set to true to enable user-to-user email blacklist.
  • $wgNoReplyAddress – Endereço para resposta de e-mails gerados automaticamente.
  • $wgPasswordReminderResendTime – Tempo mínimo, em horas, que deve transcorrer entre e-mails de lembrete de senha.
  • $wgPasswordSender – Endereço de e-mail para lembrete de senha.
  • $wgRequirePasswordforEmailChange (removido na 1.27) – Se o usuário deve digitar sua senha para alterar seu endereço de e-mail
  • $wgSMTP – Para utilizar uma conexão direta (autenticada) com o servidor SMTP.
  • $wgSysopEmailBans (removido na 1.35) – Permitir aos sysops proibir que os usuários acessem Special:Emailuser.
  • $wgUserEmailConfirmationTokenExpiry – O tempo, em segundos, após o qual um sinal de confirmação do endereço de e-mail expira.
  • $wgUserEmailUseReplyTo – Defina como true para colocar o e-mail do usuário que está enviando em um cabeçalho Reply-To, em vez de From.

Email notification (Enotif) settings

Actual notifications for each user are defined in the options. You can change defaults with $wgDefaultUserOptions .

Database settings

LoadBalancer settings

MySQL-specific

  • $wgDBmysql5 (removido na 1.33) – Set to true to set MySQL connection into UTF-8 encoding (experimental)
  • $wgDBTableOptions – Opções de tabela do MySQL para usar durante a instalação ou atualização.
  • $wgSQLMode Modo SQL

PostgreSQL-specific

  • $wgDBport – Porta da base de dados. Usado apenas pelo PostgreSQL.

SQLite-specific

Shared DB settings

Migration

Extension fields

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

Content handlers and storage

Cache

See: Interwiki for Interwiki cache settings.

File Cache

Settings for Server side file caching.

Message Cache

Sidebar Cache

Parser Cache

Memcached settings

Settings for configuring the Memcached memory-based object store (if you are using it) docs/memcached.txt has more details.

WAN cache

HTTP proxy (CDN) settings

These settings configure MediaWiki when using a caching HTTP proxy server. They apply to caching using Varnish as well as Squid.

  • $wgCdnMaxageLagged – Cache timeout for the CDN when DB replica lag is high
  • $wgCdnMaxageStale (introduzido na 1.35) – Cache timeout in seconds when delivering a stale ParserCache response due to PoolCounter contention.
  • $wgCdnMaxageSubstitute – Tempo limite de cache para o CDN quando uma resposta é conhecida como errada ou incompleta (devido ao carregamento)
  • $wgCdnMaxAge (introduzido na 1.34) – Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
  • $wgCdnReboundPurgeDelay – Secondary delayed purges of URLs
  • $wgCdnServersNoPurge (introduzido na 1.34) – Same as $wgCdnServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgCdnServers (introduzido na 1.34) – An array of individual proxy servers to help MediaWiki detect if the request has been proxyed.
    But also to send back to the proxy PURGE commands on changes.
  • $wgEventRelayerConfig – Mapping of event channels (or channel categories) to EventRelayer configuration.
  • $wgInternalServer – Nome do servidor interno mais conhecido como Squid, se for diferente de $wgServer .
  • $wgLoggedOutMaxAge (introduzido na 1.35) – Cache TTL for the user agent sent as max-age, for logged out users.
  • $wgMaxSquidPurgeTitles (removido na 1.27) – Maximum number of titles to purge in any one client operation
  • $wgSecretKey – This should always be customized to a secret, unique string in LocalSettings.php .
  • $wgSquidMaxage (removido na 1.35) – Cache timeout for the squid.
  • $wgSquidPurgeUseHostHeader (obsoleto na versão 1.33) – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
  • $wgSquidServersNoPurge (removido na 1.35) – Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgSquidServers (removido na 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 (introduzido na 1.34) – Enable/disable page view caching.
  • $wgUseESI (obsoleto na versão 1.33) – If you run Squid3 with ESI support, enable this.
  • $wgUseKeyHeader (removido na 1.34) – Send the Key HTTP header for better caching.
  • $wgUsePrivateIPs – Whether private X-Forwarded-For IPs should be accepted
  • $wgUseSquid (removido na 1.35) – Enable/disable Squid.
  • $wgUseXVO (removido na 1.27) – Send X-Vary-Options header for better caching (requires patched 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/híndi
  • $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

Skins

  • $wgDefaultSkin – O tema padrão para novos usuários.
  • $wgFallbackSkin – Fallback skin used when the skin defined by $DefaultSkin can't be found.
  • $wgFooterIcons – Abstract list of footer icons for skins. It replaces the old copyrightico and poweredbyico code, which until MediaWiki 1.27 could be influenced with $CopyrightIcon
  • $wgSkinMetaTags (introduzido na 1.36) – An array of open graph tags which should be added by all skins.
  • $wgSkipSkins – Specify the name of skins that should not be presented in the list of available skins.
  • $wgSkipSkin (removido na 1.35) – Specify the name of a skin that should not be presented in the list of available skins.
  • $wgUseCombinedLoginLink – Login / create account link behavior when it's possible for anonymous users to create an account.
  • $wgVectorUseIconWatch – Watch and unwatch as a star icon rather than a link (for Vector skin only).
  • $wgVectorUseSimpleSearch Search form behavior for Vector skin only.

ResourceLoader

See ResourceLoader for more information.

Interwiki links and sites

Interwiki cache

See interwiki cache for more information.

Profiling, testing and debugging

Debug/logging

See also: Manual:Como depurar

Profiling

Parser

HTML

  • $wgRawHtml – Allow raw, unchecked HTML in <html>...</html> sections.

Tidy

Tidy is an open source tool that cleans up broken HTML. You can use this to ensure that broken HTML in articles doesn't affect the layout of your wiki. While Tidy itself is going to be replaced, the configuration settings can still be used for the replacements.

  • $wgTidyConfig – Configuração da ferramenta de pós-processamento HTML para usar para corrigir o código HTML inválido.
  • $wgDebugTidy (removido na 1.33) – Put tidy warnings in HTML comments, only works for internal tidy.
  • $wgTidyBin (removido na 1.33) – Should be set to the path of the tidy binary.
  • $wgTidyConf (removido na 1.33) – Should be set to the path of the tidy configuration file.
  • $wgTidyInternal (removido na 1.33) – Controls the use of the tidy extension to use an in-process tidy library instead of spawning a separate program.
  • $wgTidyOpts (removido na 1.33) – Options passed to tidy on the command line.
  • $wgUseTidy (removido na 1.33) – Use tidy to make sure HTML output is sane.
  • $wgValidateAllHtml (removido na 1.31) – Validate the overall output using tidy and refuse to display the page if it's not valid.
See also: Manual:Build Tidy from source .

Statistics and content analysis

  • $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 (removido na 1.35) – Disable page view counters.
  • $wgExperiencedUserEdits – Determines the number of edits needed to qualify at the "Experienced user" level.
  • $wgExperiencedUserMemberSince – Determines the number of days needed since account creation to qualify at the "Experienced user" level.
  • $wgLearnerEdits – Determines the number of edits needed to qualify at the "Learner" experience level.
  • $wgLearnerMemberSince – Determines the number of days needed since account creation to qualify at the "Learner" experience level.
  • $wgManualRevertSearchRadius (introduzido na 1.36) – 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.
  • $wgSiteStatsAsyncFactor (removido na 1.34) – Sets how often site statistics should be updated.
  • $wgWantedPagesThreshold – Minimum number of pages that must link to a page before it will appear on Special:Wantedpages.

Users

Authentication

User rights, access control and monitoring

User agent

  • $wgBrowserBlackList (obsoleto na versão 1.30) – Browser blacklist for non-Unicode-compliant browsers.

Search

Edit user interface

Maintenance Scripts setting

  • $wgAllowSchemaUpdates – Allow database schema updates to be executed with update.php script.
  • $wgCommandLineDarkBg – Assume a dark terminal background for maintenance scripts.
  • $wgCommandLineMode Indica se o MediaWiki está sendo executado no modo de linha de comando. Nunca deve ser definida manualmente! Should never be set manually!
  • $wgGitBin – Path to the git binary.
  • $wgGitRepositoryViewers – Map of Git repository URLs to their gitweb interface URLs
  • $wgReadOnlyFile – Se este arquivo for encontrado, o banco de dados estará bloqueado pela razão dada no conteúdo do arquivo.
  • $wgReadOnlyWatchedItemStore – Set this to true to put the wiki watchlists into read-only mode.
  • $wgReadOnly – Disallows editing, displaying the string given as the reason.
  • $wgUpgradeKey Senha que controla o acesso a atualizações baseadas na web.

Recent changes, new pages, watchlist and history

See also Help:Mudanças recentes and $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.

Copyright

Import/Export

Extensions

Category

Access

Blocking/banning, and some other related settings.

See Manual:Preventing access for more methods and settings concerning access. See also Manual:Direitos de usuário for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See User Access for User Access settings.

Rate limiter

Reduction

Special pages

Robot policies

Ajax, Action API and REST API

Ajax

API

Site customization

Frontend

Namespaces

The following setting is no longer used in supported versions of MediaWiki, but still exists for backward compatibility

Mobile support

Content Security Policy

  • $wgCSPHeader (introduzido na 1.32) – Controls Content-Security-Policy header [Experimental]
  • $wgCSPReportOnlyHeader (introduzido na 1.32) – Controls Content-Security-Policy-Report-Only header [Experimental]
  • $wgCSPFalsePositiveUrls – Controls what URLs to ignore in upcoming Content-Security-Policy feature's reporting.

Cookies

HTTP client

Jobs

Miscellaneous settings

See also