Handbuch:Konfigurationseinstellungen

From mediawiki.org
This page is a translated version of the page Manual:Configuration settings and the translation is 100% complete.

Dies ist ein Index aller unterstĂźtzten Konfigurationsoptionen, basierend auf der MainConfigSchema.php-Datei (oder DefaultSettings.php-Datei vor MediaWiki 1.39).

Bearbeite niemals MainConfigSchema.php; fĂźge stattdessen passende Zeilen in LocalSettings.php hinzu und passe sie gegebenenfalls an.

Wenn Du eine Konfigurationseinstellung hier nicht finden kannst, schaue nach, ob sie in DefaultSettings.php definiert ist. Die Variable sollte dort dokumentiert sein.

Einstellungen, die in MediaWiki-Versionen vor 1.35 entfernt wurden, sind hier nicht mehr aufgefĂźhrt. Bitte benutze das Suchfeld, um die entsprechende Manual-Seite zu finden (z.B. Manual:$wgAllowAnonymousMinor).
In alphabetischer Reihenfolge | Auflistung nach Funktion | Kategorie:MediaWiki-Konfigurationseinstellungen

Allgemeine Einstellungen

Globale Objekte

  • $wgAutoloadLocalClasses – Array mapping class names to filenames, for autoloading.
  • $wgConf – Erstellt ein Seitenkonfigurationsobjekt. Wird in einer Standardinstallation nicht oft verwendet.

Server-URLs und Dateipfade

Siehe auch file/image upload path settings.

Siehe auch skins path settings.

Dateien und Datei-Uploads

Uploads mĂźssen speziell eingerichtet werden, um sicher zu sein.

Geteilte Uploads

Diese Einstellungen werden aus Grßnden der Abwärtskompatibilität beibehalten, siehe $wgForeignFileRepos fßr die neue Einstellung oder $wgUseInstantCommons , wenn du nur Lesezugriff auf Bilder auf Commons brauchst.

MIME-Typen

Warnung Warnung: ↑Dies ist keine Konfigurationseinstellung, sondern eine globale Zustandsvariable. Es sollte nur von thumb.php verwendet werden!

Siehe auch: Manual:MIME type detection

Bilder

Siehe auch: Handbuch:Datei-Uploads konfigurieren

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-Einstellungen

Virenschutz

E-Mail-Einstellungen

Siehe auch zum Nutzerzugriff: $wgEmailConfirmToEdit

E-Mail Benachrichtigung (Enotif) Einstellungen

Eigentlich sind Benachrichtigungen fßr Benutzer in den Optionen festgelegt. Sie kÜnnen unter $wgDefaultUserOptions geändert werden.

Datenbankeinstellungen

LoadBalancer-Einstellungen

MySQL-spezifisch

PostgreSQL-spezifisch

  • $wgDBport – Port der Datenbasis. Nur von PostgreSQL verwendet.

SQLite-spezifisch

Shared DB-Einstellungen

Erweiterungsfelder

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

Inhaltshandler und Speicher

Performance-Hacks und -Grenzen

Cache

Hauptseite: Manual:Caching
Siehe: Interwiki fĂźr Interwiki-Cache-Einstellungen.

Datei-Cache

Einstellungen fĂźr serverseitiges Datei-Caching.

Nachrichten-Cache

Sidebar-Cache

Parser-Cache

Memcached-Einstellungen

Einstellungen zum Konfigurieren des speicherbasierten Objektspeichers Memcached (falls Sie ihn verwenden) docs/memcached.md enthält weitere Details.

WAN-Cache

HTTP-Proxy (CDN)-Einstellungen

Diese Einstellungen konfigurieren MediaWiki, wenn ein Caching-HTTP-Proxy-Server verwendet wird. Sie gelten sowohl fĂźr Caching mit Varnish als auch fĂźr Squid.

  • $wgCdnMatchParameterOrder – Gibt an, ob die Reihenfolge der Abfrageparameter bei eingehenden Anforderungen fĂźr das CDN-Caching berĂźcksichtigt werden soll
  • $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 – Standardmaximalalter (in Sekunden) fĂźr rein CSS/JavaScript-Zugriffe.
  • $wgInternalServer – Internal server name as known to Squid, if different than $wgServer .
  • $wgLoggedOutMaxAge (entfernt in 1.38) – Cache TTL for the user agent sent as max-age, for logged out users.
  • $wgSquidMaxage (entfernt in 1.35) – Cache timeout for the squid.
  • $wgSquidPurgeUseHostHeader (entfernt in 1.42) – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
  • $wgSquidServersNoPurge (entfernt 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 (entfernt 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 (veraltet in 1.33) – If you run Squid3 with ESI support, enable this.
  • $wgUsePrivateIPs – Whether private X-Forwarded-For IPs should be accepted
  • $wgUseSquid (entfernt in 1.35) – Aktiviere/deaktiviere Squid.
  • $wgVaryOnXFP – Whether to add X-Forwarded-Proto to the Vary header for API requests and RSS/Atom feeds.

HTCP-Multicast-Bereinigung

Sprach-, Regional- und Zeichenkodierungseinstellungen

Zeitzonen-Einstellungen

Sprachen-spezifisch

Englisch
  • $wgAmericanDates – Benutzt 'MTJ' statt 'TMJ' als Standard-Datumsformat, z.B. 'May 12' statt '12 May'.
Arabisch/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.

Ausgabeformat und Skineinstellungen

Ausgabe

Skins

  • $wgDefaultSkin – Der Standard-Skin fĂźr neue Nutzer.
  • $wgFallbackSkin – Fallback skin used when the skin defined by $wgDefaultSkin 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 $wgCopyrightIcon
  • $wgSkinMetaTags – An array of open graph tags which should be added by all skins.
  • $wgSkipSkins – Spezifiziert den Namen der Skins, die nicht in der Liste der verfĂźgbaren Benutzeroberflächen aufscheinen sollen.
  • $wgSkipSkin (entfernt in 1.35) – Spezifiziert den Namen des Skins, der nicht in der Liste
    der verfßgbaren Benutzeroberflächen aufscheinen soll.
  • $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

Siehe ResourceLoader fĂźr weitere Informationen.

Seitentitel und Weiterleitungen

Namensräume

Mobile UnterstĂźtzung

Interwiki-Links und Seiten

  • $wgInterwikiPrefixDisplayTypes (entfernt in 1.39) – Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwiki search results.
  • $wgLocalInterwikis – Array of interwiki prefixes for this wiki.
  • $wgLocalInterwiki (entfernt in 1.35) – Interwiki prefix for this wiki.
  • $wgRedirectSources – Regular expression to restrict URLs which will be displayed as "redirected from" links.
  • $wgSiteTypes – Register handlers for specific types of sites.

Interwiki-Cache

Siehe interwiki cache fĂźr weitere Informationen.

Parser

HTML

  • $wgRawHtml – Erlaube rohes, ungeprĂźftes HTML in ‎<html>...‎</html> Abschnitten.
  • $wgTidyConfig – Configuration of the HTML postprocessing tool to use for fixing invalid HTML code.

Statistik und Inhaltsanalyse

  • $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 (entfernt in 1.35) – Die Zähler fĂźr die Seitenansicht deaktivieren.
  • $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.

Benutzerkonten, Authentifizierung

Authentifizierung

Benutzerrechte, Zugangskontrolle und Überwachung

Zugang

Sperren/bannen und einige andere verwandte Einstellungen.

Siehe Zugriff verhindern fĂźr weitere Methoden und Einstellungen bezĂźglich des Zugriffs. Siehe auch Manual:Benutzerrechte fĂźr weitere Informationen Ăźber $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups usw.

Siehe Benutzerzugriff fĂźr Benutzerzugriffseinstellungen.

Sicherheit

Cookies

Profilerstellung, Testen und Debuggen

Fehlersuche

Siehe auch: Handbuch:Wie man debuggt

Profilerstellung

Suche

Benutzeroberfläche bearbeiten

Wartungsskripteinstellung

  • $wgCommandLineDarkBg – Assume a dark terminal background for maintenance scripts.
  • $wgCommandLineMode – Indicates whether MW is running in command-line mode. Sollte nie manuell eingestellt werden!
  • $wgGitBin – Pfad zur Git-Binärdatei.
  • $wgGitRepositoryViewers – Map of Git repository URLs to their gitweb interface URLs
  • $wgReadOnlyFile – If this file is found, the database is locked for the reason given in the contents of the file.
  • $wgReadOnlyWatchedItemStore – Set this to true to put the wiki watchlists into read-only mode.
  • $wgReadOnly – Sperrt die Bearbeitung und zeigt den Ăźbergebenen String als Grund an
  • $wgUpgradeKey – Passwort, das den Zugriff auf den webbasierten Updater steuert.

Letzte Änderungen, neue Seiten, Beobachtungsliste und Verlauf

Siehe auch Hilfe:Letzte Änderungen und $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 – Legt die maximale Anzahl von Ergebnissen fest, die in Syndication-Feeds (RSS, Atom) zurĂźckgegeben werden sollen, z. B. Recentchanges, Newpages.
  • $wgOverrideSiteFeed – Override the site's default rss/atom feed that appears on every page.


Urheberrecht

Import/Export

Erweiterungen

The time allocated for running scripts has expired.

Kategorie

The time allocated for running scripts has expired.

Protokollierung

The time allocated for running scripts has expired.

Spezialseiten

The time allocated for running scripts has expired.

Aktionen

  • $wgActions The time allocated for running scripts has expired.

The time allocated for running scripts has expired.

Roboter-Richtlinien

The time allocated for running scripts has expired.

Ajax, Aktions-API und REST-API

The time allocated for running scripts has expired.

Ajax

The time allocated for running scripts has expired.

API

The time allocated for running scripts has expired.

Shell und Prozesssteuerung

The time allocated for running scripts has expired.

HTTP-Client

The time allocated for running scripts has expired.

Jobs

The time allocated for running scripts has expired.

Wikifarm

The time allocated for running scripts has expired. The time allocated for running scripts has expired.

Sonstige Einstellungen

Siehe auch