Podręcznik:Ustawienia konfiguracyjne

From mediawiki.org
This page is a translated version of the page Manual:Configuration settings and the translation is 46% complete.
Outdated translations are marked like this.
Począwszy od MediaWiki 1.39 , ustawienia konfiguracyjne są oparte na MainConfigSchema.php.

Jest to indeks wszystkich obsługiwanych ustawień konfiguracyjnych na podstawie pliku DefaultSettings.php.

Nigdy nie edytuj DefaultSettings.php; zamiast tego skopiuj odpowiednie wiersze do LocalSettings.php i odpowiednio je zmień.

Jeśli nie możesz znaleźć tutaj ustawienia konfiguracji, sprawdź, czy jest ono zdefiniowane w DefaultSettings.php. Zmienna powinna mieć tam jakąś dokumentację.

Settings removed in versions of MediaWiki prior to 1.35 are no longer listed here. Please use the search box to find the relevant manual page (e.g. Manual:$wgAllowAnonymousMinor).
Wymienione alfabetycznie | Wymienione według funkcji | Kategoria:Ustawienia konfiguracyjne MediaWiki

Ustawienia Ogólne

Obiekty globalne

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

Adresy URL serwera i ścieżki plików

Zobacz też: file/image upload path settings.

Zobacz tez: skins path settings.

Pliki i przesyłanie plików

Uploads have to be specially set up to be secure.

Udostępniane pliki

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.

Typy MIME

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

Zobacz też: Manual:MIME type detection

Obrazki

Zobacz też: 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

SVG

Thumbnail settings

Antywirus

Ustawienia emaila

See also User Access: $wgEmailConfirmToEdit

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

PostgreSQL-specific

  • $wgDBport – Port bazy danych. Używane tylko przez PostgreSQL.

SQLite-specific

Shared DB settings

Extension fields

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

Content handlers and storage

Performance hacks and limits

Pamięć podręczna

Strona główna: Manual:Caching
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.md 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.

  • $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 (usunięto w 1.38)Cache TTL for the user agent sent as max-age, for logged out users.
  • $wgSquidMaxage (usunięto w 1.35)Cache timeout for the squid.
  • $wgSquidPurgeUseHostHeader (usunięto w 1.42)Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
  • $wgSquidServersNoPurge (usunięto w 1.35)Same as $wgSquidServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgSquidServers (usunięto w 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 (przestarzałe od 1.33)If you run Squid3 with ESI support, enable this.
  • $wgUsePrivateIPs Whether private X-Forwarded-For IPs should be accepted
  • $wgUseSquid (usunięto w 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

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

Wyjście

Skórki

ResourceLoader

See ResourceLoader for more information.

Page titles and redirects

Przestrzenie nazw

Wsparcie urządzeń mobilnych

Interwiki links and sites

Interwiki cache

See interwiki cache for more information.

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.

Statystyki i analiza treści

  • $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 (usunięto w 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.

User accounts, authentication

Uwierzytelnianie

User rights, access control and monitoring

Dostęp

Blocking/banning, and some other related settings.

See Manual:Preventing access for more methods and settings concerning access. See also Podręcznik:Uprawnienia użytkowników for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See User Access for User Access settings.

Bezpieczeństwo

Ciasteczka (tzw. cookies)

Profilowanie, testowanie oraz debugowanie

Debug

Zobacz też: Podręcznik:Jak debugować

Profilowanie

Wyszukiwanie

Edit user interface

Maintenance Scripts setting

  • $wgCommandLineDarkBg – Zakłada, że terminal ma czarne tło dla skryptów konserwacyjnych.
  • $wgCommandLineMode Indicates whether MW is running in command-line mode. Should never be set manually!
  • $wgGitBin Path to the git binary.
  • $wgGitRepositoryViewers Map of Git repository URLs to their gitweb interface URLs
  • $wgReadOnlyFile – Jeżeli zostanie znaleziony taki plik to baza danych zostanie zablokowana i wyświetlony zostanie powód podany w zawartości tego pliku.
  • $wgReadOnlyWatchedItemStore Set this to true to put the wiki watchlists into read-only mode.
  • $wgReadOnly – Blokuje edytowanie, wyświetla podany jako ciąg powód.
  • $wgUpgradeKey Password that controls access to web-based updater.

Recent changes, new pages, watchlist and history

Zobacz też Help:Ostatnie zmiany oraz $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.


Prawa autorskie

Import/Eksport

Rozszerzenia

Kategoria

Logowanie

Strony specjalne

Akcje

  • $wgActions – Tablica dozwolonych wartości parametru "action" dla normalnych stron.

Polityka robotów

Ajax, Action API oraz REST API

Ajax

API

Shell and process control

HTTP client

Praca

Wiki farm

Różne ustawienia

Zobacz też