Manuale:Impostazioni di configurazione

This page is a translated version of the page Manual:Configuration settings and the translation is 96% complete.
Outdated translations are marked like this.
A partire da MediaWiki 1.39 le impostazioni di configurazione sono basate su MainConfigSchema.php.

Questo è un indice di tutte le impostazioni di configurazione basato sul file DefaultSettings.php

Non modificare mai DefaultSettings.php; copia invece le righe che ti interessano e incollale in LocalSettings.php adattandole come opportuno.

Se non riesci a trovare qui un'impostazione di configurazione, prova a vedere se è definita in DefaultSettings.php. La variabile dovrebbe essere documentata là.

Le impostazioni eliminate in versioni di MediaWiki precedenti alla 1.35 non sono più elencate qui. Usa la casella di ricerca per trovare la pagina di manuale pertinente (es. Manual:$wgAllowAnonymousMinor).
In ordine alfabetico | In ordine di funzione | Categoria:MediaWiki impostazioni di configurazione

Impostazioni generali

Oggetti globali

  • $wgAutoloadLocalClasses Array mapping class names to filenames, for autoloading.
  • $wgConf Create a site configuration object. Not used for much in a default install.

Server URL e percorsi file

Vedi anche file/image impostazioni percorso di upload.

Vedi anche impostazioni percorso per le skin.

File e upload di file

Gli upload devono essere accuratamente impostati in modo da essere sicuri.

Caricamenti condivisi

Queste impostazioni sono mantenute per garantire la compatibilità con le versioni precedenti, vedi $wgForeignFileRepos per le nuove impostazioni, o $wgUseInstantCommons se necessiti soltanto del permesso di lettura alle immagini disponibili su Commons.

MIME types

  Attenzione: ↑Questo non é un impostazione di configurazione, ma una variabile di stato globale. Dovrebbe essere utilizzato unicamente da thumb.php !

Vedi anche: Manual:MIME type detection

Immagini

Vedi anche: Manuale: Configurare l'upload dei file

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

Impostazioni miniature

Antivirus

Impostazioni email

Vedi anche Accesso Utente: $wgEmailConfirmToEdit

Impostazioni per le notifiche via email (Enotif)

Le notifiche impostate per ciascun utente sono definite nelle opzioni. Puoi cambiare le impostazioni predefinite con $wgDefaultUserOptions .

Impostazioni del database

Impostazioni del LoadBalancer

MySQL-specific

PostgreSQL-specific

  • $wgDBport Database port. Only used by PostgreSQL.

SQLite-specific

Impostazioni database condiviso

Campi delle estensioni

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

Gestori di contenuti e archiviazione

Hack e limiti delle prestazioni

Cache

Pagina principale: Manual:Caching
Vedi: Interwiki per impostazioni di cache Interwiki.

Cache di file

Impostazioni per la cache di file lato server.

Cache messaggi

Cache della barra laterale

Cache del parser

Impostazioni Memcached

Impostazioni per configurare lo stivaggio di oggetti memory-based Memcached (se ne stai facendo uso); docs/memcached.md offre maggiori dettagli.

Cache WAN

Impostazioni del proxy HTTP (CDN)

Queste impostazioni configurano MediaWiki quando si usa un server proxy HTTP per cache. Sono valide per caching usando Varnish così come 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 (rimosso nella 1.38)Cache TTL for the user agent sent as max-age, for logged out users.
  • $wgSquidMaxage (rimosso nella 1.35)Cache timeout for the squid.
  • $wgSquidPurgeUseHostHeader (rimosso nella 1.42)Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
  • $wgSquidServersNoPurge (rimosso nella 1.35)Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgSquidServers (rimosso nella 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 (deprecato nella 1.33)If you run Squid3 with ESI support, enable this.
  • $wgUsePrivateIPs Whether private X-Forwarded-For IPs should be accepted
  • $wgUseSquid (rimosso nella 1.35)Enable/disable Squid.
  • $wgVaryOnXFP Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds.

Eliminazione multicast HTCP

Impostazioni di lingua, regionali e di codifica dei caratteri

Impostazioni fusi orari

Language-specific

inglese
  • $wgAmericanDates Use 'mdy' instead of 'dmy' as the default date format, e.g. 'May 12' instead of '12 May'.
arabo/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.

Formato di output e impostazioni della skin

Output

Skin

ResourceLoader

Vedi ResourceLoader per maggiori informazioni.

Titoli di pagina e reindirizzamenti

Namespace

Supporto per sistemi mobile

Link interni alla wiki e siti

Cache Interwiki

Vedi interwiki cache per maggiori informazioni.

Parser

HTML

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

Satistiche e analisi del contenuto

  • $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 (rimosso nella 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 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.

Account degli utenti, autentificazione

Autenticazione

Diritti degli utenti, controllo degli accessi e monitoraggio

Accesso

Blocchi/ban e altre impostazioni connesse.

Vedi Manuale:Impedire l'accesso per altri metodi e impostazioni riguardanti l'accesso. Vedi anche Manuale:Permessi utente per maggiori informazioni su $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

Vedi Accesso Utente per impostazioni sul login.

Sicurezza

Cookie

Profilazione, test e debug

Debug

See also: Manual:How to debug

Profilazione

Ricerca

Modifica l'interfaccia utente

Impostazione script di manutenzione

Modifiche recenti, nuove pagine, watchlist e cronologia

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

Importa/Esporta

Estensioni

Categoria

Accesso

Pagine speciali

Azioni

  • $wgActions – Vettore di valori permessi del parametro "action" per le pagine normali

Policy sui robot

Ajax, API di azione e API di pausa

Ajax

API

Shell e controllo di processo

Client HTTP

Operazioni

Wiki aziendali

Impostazioni varie ed eventuali

Vedi anche