Handleiding:Configuratie instellingen
Dit is een index van alle ondersteunde configuratie-instellingen gebaseerd op het bestand MainConfigSchema.php
(of DefaultSettings.php
voor MediaWiki 1.39).
Wijzig MainConfigSchema.php
nooit; voeg de regels toe aan LocalSettings.php
.
Als u hier een instelling niet kunt vinden, kijk dan of de definitie in DefaultSettings.php
staat.
De variabele zou hier gedocumenteerd moeten zijn.
Manual:$wgAllowAnonymousMinor
).
Algemene instellingen
- $wgSitename – De naam van de site
- $wgVersion (verouderd sinds 1.35) – MediaWiki-versienummer.
Globale objecten
- $wgAutoloadLocalClasses – Array mapping class names naar bestandsnamen, voor autoloading.
- $wgConf – Maak een site-configuratieobject. Wordt niet veel gebruikt in een standaardinstallatie.
Server URL's en bestandspaden
- $IP – Het volledige pad naar de installatiemap.
- $wgActionPaths – Paden voor verschillende gebruikersacties. Wordt gebruikt om URL's mooier te maken.
- $wgAppleTouchIcon – Optionele URL naar een pictogram om te gebruiken bij het maken van een bladwijzer naar het startscherm van Apple-toestellen,
- $wgArticlePath – De basis-URL die wordt gebruikt om artikellinks te maken.
- $wgAssumeProxiesUseDefaultProtocolPorts – When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the wiki on the standard ports.
- $wgBaseDirectory – Absolute filesystem path of the root directory of the MediaWiki installation.
- $wgCanonicalServer – Canonical URL van de server, te gebruiken in IRC-feeds, notificatiee-mails, enz.
- $wgConfigRegistry – Register van fabrieksfuncties voor het maken van configuratie-objecten
- $wgExtensionAssetsPath – URL to extensions directory.
- $wgExtensionDirectory – The file system path to the extensions directory.
- $wgFavicon – De URL van site-favicon.
- $wgFFmpegLocation – Executable name of FFmpeg client.
- $wgFFprobeLocation – Executable name of FFprobe.
- $wgFileCacheDirectory – Directory where the cached pages will be saved when using server-side caching.
- $wgForceHTTPS – Verwijs onbeveiligde HTTP-verzoeken door naar HTTPS.
- $wgHttpsPort – Port where you have HTTPS running. Supports HTTPS on non-standard ports.
- $wgImgAuthPath – The base path for
img_auth.php
. - $wgLoadScript – Het URL pad naar load.php.
- $wgLocalStylePath – Same as
$wgStylePath
, but shouldn't point to an external domain. - $wgLogoHD (verwijderd in 1.42) – URL's voor de HD-versies van de sitelogo.
- $wgLogos – Het URL-pad naar verschillende wiki-logo's.
- $wgLogo – De URL naar de sitelogo.
- $wgMainPageIsDomainRoot – Controls if the main page should be served as the domain root.
- $wgReferrerPolicy – Waarde voor de referrer policy meta tag.
- $wgRestPath – Het URL-pad naar rest.php.
- $wgScriptPath – Het basis-URL-pad.
- $wgScript – De URL van index.php.
- $wgServerName – De naam van de server zonder het protocol.
- $wgServer – De basis URL van de server.
- $wgStyleDirectory – The file system path to the skins directory.
- $wgStylePath – De URL van de map met skins.
- $wgStyleSheetPath (verwijderd in 1.38) – Stel geen
$wgStyleSheetPath
in. Gebruik in plaats daarvan$wgStylePath
. - $wgThumbPath – The base path for thumb_handler.php.
- $wgTmpDirectory – Het pad van de tijdelijke directory.
- $wgUploadBaseUrl – The base URL for uploaded images if shared upload directory isn't to be used
- $wgUploadDirectory – Het systeempad voor de uploadmap.
- $wgUploadPath – The path segment of the upload directory.
- $wgUploadStashScalerBaseUrl (verouderd sinds 1.36) – To enable remote on-demand scaling, set this to the thumbnail base URL.
- $wgUsePathInfo – Wel of niet gebruiken van 'mooie' URL'.
Zie ook file/image upload pad instellingen.
Zie ook skins pad instellingen.
Bestanden en uploads
Uploads moeten op een bepaalde manier worden ingesteld om veilig te zijn.
- $wgAllowCopyUploads – Allow uploads from URLs as well as local files.
- $wgAllowJavaUploads (verwijderd in 1.39) – Allow Java archive uploads.
- $wgAttemptFailureEpoch – Bump this to quickly retry thumbnail creation failures.
- $wgCheckFileExtensions – Check if the file extension is allowed on upload.
- $wgCopyUploadAllowOnWikiDomainConfig – If
true
, the value of $wgCopyUploadsDomains will be merged with the contents of MediaWiki:Copyupload-allowed-domains. - $wgCopyUploadProxy – HTTP proxy to use for copy upload requests.
- $wgCopyUploadsDomains – Limit
$wgAllowCopyUploads
to a specific list of domains - $wgCopyUploadsFromSpecialUpload – Add an interface to Special:Upload to enable uploading from URLs
- $wgCopyUploadTimeout – HTTP timeout (in seconds) for upload by URL
- $wgDeletedDirectory – What directory to place deleted uploads in.
- $wgDirectoryMode – Standaard
chmod
toestemmingswaarde voor nieuw aangemaakte mappen. - $wgDisableUploadScriptChecks – Whether to disable the upload system's checks for HTML/JavaScript.
- $wgEnableAsyncUploads – Enable deferred upload tasks that use the job queue.
- $wgEnableAsyncUploadsByURL (nieuw in 1.42) – Enable the async processing of upload by url in Special:Upload.
- $wgEnableUploads – Het toestaan van het uploaden van afbeeldingen en andere bestanden naar de wiki.
- $wgFileBackends – File backend structure configuration.
- $wgFileBlacklist (verwijderd in 1.37) – Files with these extensions will never be allowed as uploads.
- $wgProhibitedFileExtensions – Files with these extensions will never be allowed as uploads.
- $wgFileExtensions – This is the list of preferred extensions for uploading files. Uploading files with extensions not in this list will trigger a warning.
- $wgHashedUploadDirectory – If true, uses the
/a/ab/foo.jpg
directory structure. - $wgIllegalFileChars (verouderd sinds 1.41) – Override the default list of illegal characters in file names.
- $wgImagePreconnect – Add a preconnect link for browsers to a remote FileRepo host..
- $wgImgAuthDetails – Display reason access to uploaded file was denied to users (img_auth only)
- $wgImgAuthUrlPathMap – Map of relative URL directories to match to internal
mwstore://
base storage paths. - $wgLocalFileRepo – A single repository structure for the local repository.
- $wgLockManagers – Array of configuration arrays for each lock manager.
- $wgMaxUploadSize – Maximum size of uploaded files (in bytes)
- $wgMediaInTargetLanguage – Whether translatable media (currently, only SVG images) should be shown in page's target language
- $wgMinUploadChunkSize – Minimum upload chunk size, in bytes.
- $wgNativeImageLazyLoading – Toggles native image lazy loading, via the "loading" attribute.
- $wgParserTestMediaHandlers – Media handler overrides for parser tests (they don't need to generate actual thumbnails, so a mock will do)
- $wgStrictFileExtensions – Toggle whether users may upload files not covered by
$wgFileExtensions
. - $wgThumbnailEpoch – If rendered thumbnail files are older than this timestamp, they will be re-rendered on demand as if the file didn't already exist.
- $wgUploadDialog – Configuration for Upload dialog and the files uploaded through it.
- $wgUploadMaintenance – To disable file delete/restore temporarily.
- $wgUploadMissingFileUrl – Point wikilinks to missing files ("red file links") to a custom URL.
- $wgUploadNavigationUrl – Point the upload navigation link in the sidebar to a custom URL.
- $wgUploadSizeWarning – Warn if uploaded files are larger than this.
- $wgUploadStashMaxAge – The maximum age of temporary (incomplete) uploaded files.
Gedeelde uploads
Deze instellingen worden bewaard vanwege de compatibiliteit met oudere versies. Zie $wgForeignFileRepos voor de nieuwe instelling, of $wgUseInstantCommons indien u allen leestoegang op Commons nodig heeft.
- $wgCacheSharedUploads – Cache shared metadata in memcached.
- $wgForeignFileRepos – An array of repository structure for foreign repositories.
- $wgForeignUploadTargets – Configuration for foreign upload targets for the upload dialog .
- $wgHashedSharedUploadDirectory – Whether to hash the shared upload directory.
- $wgRepositoryBaseUrl – Base URL for a repository wiki.
- $wgSharedUploadDBname – Databasenaam met metadata over gedeelde map.
- $wgSharedUploadDBprefix – DB prefix for shared image uploads
- $wgSharedUploadDirectory – Path on the file system where shared uploads can be found.
- $wgSharedUploadPath – Full path to the web server where shared uploads can be found.
- $wgUseSharedUploads – Whether to look in a shared repository when a file is not found locally
- $wgFetchCommonsDescriptions – Whether to fetch commons image description pages and display them on the local wiki.
MIME-types
- $wgMimeDetectorCommand – Sets an external MIME detector program.
- $wgMimeInfoFile – Sets the MIME type info file to be used by MimeAnalyzer.php .
- $wgMimeTypeFile – Sets the MIME type definition file to be used by MimeAnalyzer.php .
- $wgTrivialMimeDetection – Switch for trivial MIME detection.
- $wgVerifyMimeType – Determines if the MIME type of uploaded files should be checked.
- $wgVerifyMimeTypeIE (verwijderd in 1.40) – Determines whether extra checks for Internet Explorer type detection should be applied.
- $wgMimeTypeBlacklist (verwijderd in 1.37) – MIME types to disallow if $wgVerifyMimeType is enabled.
- $wgMimeTypeExclusions – MIME types to disallow if $wgVerifyMimeType is enabled.
- $wgXMLMimeTypes – An array of XML MIME types we can detect via MimeMagic
Zie ook: Handleiding:MIME-type detectie
Afbeeldingen
- $wgAllowImageMoving (verwijderd in 1.36) – Enable file renaming.
- $wgCustomConvertCommand – Use another resizing converter, e.g. GraphicMagick.
- $wgEnableAutoRotation – Whether to enable image auto-rotation based on EXIF information
- $wgExiftool – Path to exiftool binary. Used for lossless ICC profile swapping.
- $wgExiv2Command – Path to the exiv2 executable.
- $wgGalleryOptions – Default settings for the
<gallery>
tag. - $wgIgnoreImageErrors – If true, inline scaled images will still produce
<img>
tags ready for output instead of showing an error message. - $wgImageLimits – A list of user-selectable limits for the image thumbnail size on image description pages.
- $wgJpegQuality – When scaling a JPEG thumbnail, this is the quality we request from the backend.
- $wgJpegTran – Path to jpegtran, for lossless JPEG rotation.
- $wgMaxImageArea – Don't thumbnail an image if it will use too much working memory.
- $wgMediaHandlers – Plugins for media file type handling.
- parameters voor upload pad
- $wgTrustedMediaFormats – List of trusted media-types and MIME types.
Zie ook: Handleiding:Bestandsuploads configureren
DjVu
- $wgDjvuDump – Path to the djvudump executable.
- $wgDjvuOutputExtension – File extension for the DjVu post processor output.
- $wgDjvuPostProcessor – Path of the DjVu post-processor.
- $wgDjvuRenderer – Path of the ddjvu DjVu renderer.
- $wgDjvuToXML (verwijderd in 1.37) – Path of the djvutoxml executable.
- $wgDjvuTxt – Path of the djvutxt DjVu text extraction utility.
- $wgDjvuUseBoxedCommand (nieuw in 1.42) – Whether to use BoxedCommand or not.
- $wgShellboxShell (nieuw in 1.42) – The POSIX-compatible shell to use when running scripts.
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
- $wgImageMagickConvertCommand – The command used to invoke ImageMagick.
- $wgImageMagickTempDir – Temporary directory used for ImageMagick.
- $wgMaxInterlacingAreas – Array of max pixel areas for interlacing per MIME type.
- $wgSharpenParameter – Sharpening parameter to ImageMagick.
- $wgSharpenReductionThreshold – Reduction in linear dimensions below which sharpening will be enabled.
- $wgUseImageMagick – Set to true to use ImageMagick for image resizing.
- $wgUseTinyRGBForJPGThumbnails – Swaps JPGs that use sRGB ICC profile with TinyRGB profile
SVG
- $wgAllowTitlesInSVG (verwijderd in 1.35) – Allow
<title>
tag in SVG files. - $wgSVGConverter – A key from
$wgSVGConverters
to use as converter. - $wgSVGConverterPath – Path to the directory of the SVG converter being used.
- $wgSVGConverters – List of paths to Scalable Vector Graphics (SVG) converters.
- $wgSVGMaxSize – Don't scale a SVG larger than this unless its native size is larger.
- $wgSVGMetadataCutoff – Don't read SVG metadata beyond this point.
- $wgSVGNativeRendering (nieuw in 1.41) – Whether native rendering by the browser agent is allowed.
- $wgSVGNativeRenderingSizeLimit (nieuw in 1.41) – Limit on an SVG file's size for it to be rendered by the client, in bytes.
Thumbnail instellingen
- $wgUseImageResize – Whether to enable dynamic server-side image resizing (thumbnailing)
- $wgGenerateThumbnailOnParse – Allow thumbnail rendering on page view.
- $wgMaxAnimatedGifArea – Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnail.
- $wgSharedThumbnailScriptPath – Same as
$wgThumbnailScriptPath
, but for shared uploads. - $wgShowArchiveThumbnails – Whether to show thumbnails for old images on the image description page.
- $wgTiffThumbnailType – The format and MIME type to convert TIFF images to.
- $wgThumbnailNamespaces (nieuw in 1.40) – Defines what namespaces thumbnails will be displayed for in Special:Search.
- $wgThumbnailScriptPath – Path to thumb.php , if you want thumbnail generation on the fly.
- $wgThumbUpright – Scaling factor applied to width of images when parameter 'upright' is used.
- $wgThumbLimits – List of image thumbnail sizes users can pick from.
- $wgResponsiveImages – Whether or not to output high-resolution images for high-DPI displays
- $wgThumbnailBuckets – List of intermediary thumbnail sizes to use to speed up thumbnail rendering.
- $wgThumbnailMinimumBucketDistance – Minimal distance between intermediary thumbnail size and target thumbnail size.
- $wgJpegPixelFormat – Sets YUV chroma subsampling mode for JPEG thumbnails
- $wgUploadThumbnailRenderHttpCustomHost – When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
- $wgUploadThumbnailRenderHttpCustomDomain – When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTTP request to.
- $wgUploadThumbnailRenderMap – An array of thumbnail widths to be rendered at upload time.
- $wgUploadThumbnailRenderMethod – The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRenderMap.
Antivirus
- $wgAntivirus – Internal name of virus scanner.
- $wgAntivirusRequired – Determines if a failed virus scan will cause the file to be rejected.
- $wgAntivirusSetup – Configuration for different virus scanners.
E-mail instellingen
Zie ook gebruikerstoegang: $wgEmailConfirmToEdit
- $wgAdditionalMailParams – Extra e-mail parameters zullen als laatste argument aan de PHP-functie-aanroep
mail()
worden doorgegeven. - $wgAllowHTMLEmail – Stel op true in om HTML emails toe te staan.
- $wgEmailAuthentication – Stel in op true om e-mail authenticatie (bevestiging) voor deze wiki in te schakelen. Behalve voor wachtwoordherinneringse-mails werken e-mailfuncties alleen voor geauthenticeerde e-mailadressen.
- $wgEmergencyContact – Sitebeheerder en e-mailadres
- $wgEnableEmail – Instellen op true om de basisfuncties van e-mail in te schakelen.
- $wgEnableSpecialMute – Stel in op
true
om de pagina 'Special Mute' in te schakelen. - $wgEnableUserEmailBlacklist (verwijderd in 1.37) – Stel in op
true
om de zwarte lijst tussen gebruikers onderling in te stellen. - $wgEnableUserEmailMuteList – Set to
true
to enable user-to-user email mutelist. - $wgEnableUserEmail – Stel op true in om email tussen gebruikers toe te staan.
- $wgNewPasswordExpiry – The time, in seconds, after which an emailed temporary password expires.
- $wgNoReplyAddress – Reply-to adres voor automatisch gegenereerde e-mails.
- $wgPasswordExpirationDays – The number of days that a user's password is good for.
- $wgPasswordExpireGrace – The number of seconds after a user's password expires during which they can log in without a password change.
- $wgPasswordReminderResendTime – Minimale tijd, in uren, die moet verstrijken tussen de wachtwoordherinneringse-mails.
- $wgPasswordSender – Wachtwoordherinnering e-mailadres.
- $wgSMTP – Voor het gebruik van een directe (geauthenticeerde) SMTP-serververbinding.
- $wgUserEmailConfirmationTokenExpiry – De tijd, in seconden, waarna een bevestigingtoken van het e-mailadres vervalt.
- $wgUserEmailUseReplyTo – Stel deze optie in op
true
om de e-mail van de verzendende gebruiker in een Reply-To header te zetten in plaats van From.
Instellingen voor e-mailmeldingen (Enotif)
- De actuele notificaties voor een gebruiker zijn gedefinieerd in de opties. U kunt deze standaarden wijzigen met $wgDefaultUserOptions .
- $wgEnotifFromEditor – Of dat de e-mailberichten lijken te komen van de gebruiker die de bewerking uitvoert
- $wgEnotifImpersonal – Stuur een generieke mail in plaats van een gepersonaliseerde mail voor elke gebruiker.
- $wgEnotifMaxRecips – Maximaal aantal gebruikers om in één keer te mailen bij gebruik van een onpersoonlijke email.
- $wgEnotifMinorEdits – Instellen op true om het versturen van e-mailberichten ook mogelijk te maken voor bewerkingen die gemarkeerd zijn als kleine bewerkingen.
- $wgEnotifRevealEditorAddress – Stel in op true om het e-mailadres van de paginabewerker in te voegen in het Reply-To veld van e-mailberichten.
- $wgEnotifUseRealName – Gebruik de echte naam in plaats van de gebruikersnaam in het veld "van".
- $wgEnotifUserTalk – Schakel e-mailberichten in voor bewerkingen op de gesprekspagina's van gebruikers.
- $wgEnotifWatchlist – Set to true to allow the email notification for watched pages
- $wgUseEnotif – Algemene "use Enotif" instelling
- $wgUsersNotifiedOnAllChanges – Array van gebruikersnamen die een notificatie e-mail zullen krijgen voor elke verandering die zich voordoet op een wiki.
Database-instellingen
- $wgCommentTempTableSchemaMigrationStage (nieuw in 1.40) (verwijderd in 1.41) – Comment temp tables schema migration stage.
- $wgDataCenterUpdateStickTTL – Nadat een klant een statuswijzigingsaanvraag heeft gedaan, bepaalt dit hoeveel seconden die client gebruik moet blijven maken van het hoofddatacenter.
- $wgDBadminpassword – Password for $wgDBadminuser.
- $wgDBadminuser – Username of database administrator.
- $wgDBcompress – Of er gebruik gemaakt wordt van compressie in de DB-connectie.
- $wgDBDefaultGroup – Standaardgroep te gebruiken bij het verkrijgen van databaseverbindingen. Voor gebruik door onderhoudsscripts.
- $wgDBerrorLogTZ – Tijdzone welke gebruikt wordt in het errorlogboek
- $wgDBerrorLog – Bestand waarnaar database errors naartoe gelogd moeten worden
- $wgDBmwschema – Schema waarin de MediaWiki-tabellen worden opgeslagen.
- $wgDBname – Naam van de database.
- $wgDBpassword – Het wachtwoord voor
$wgDBuser
. - $wgDBprefix – Tabelnaamvoorvoegsel.
- $wgDBserver – Hostnaam of IP-adres van de databaseserver.q
- $wgDBssl – Of er gebruikt gemaakt moet worden van SSL in de DB-connectie.
- $wgDBStrictWarnings (nieuw in 1.42) – Check for warnings after DB queries and throw an exception if an unacceptable warning is detected.
- $wgDBtype – Type database
- $wgDBuser – Database gebruikersnaam.
- $wgDBWindowsAuthentication (verwijderd in 1.35) – Gebruik Integrated Windows Authentication in plaats van
$wgDBuser
/$wgDBpassword
. - $wgExternalLinksSchemaMigrationStage (nieuw in 1.40) (verwijderd in 1.41) – externallinks table schema migration stage.
- $wgExternalLinksDomainGaps (nieuw in 1.41) – Gaps in the
externallinks
table for certain domains. - $wgLocalDatabases – Andere wiki's op deze site kunnen worden beheerd vanuit een ontwikkelaarsaccount.
- $wgMaxExecutionTimeForExpensiveQueries – Max execution time for queries of several expensive special pages such as RecentChanges in milliseconds.
- $wgMultiContentRevisionSchemaMigrationStage (verwijderd in 1.39) – RevisionStore tabel schema migratie fase (content, slots, content_models & slot_roles tabellen).
- $wgPageLinksSchemaMigrationStage (nieuw in 1.41) – The pagelinks table schema migration stage, for normalising pl_namespace and pl_title fields.
- $wgSearchTypeAlternatives – Alternative search types.
- $wgSearchType – Type zoekopdracht gebruikt voor de wiki.
- $wgTemplateLinksSchemaMigrationStage (verwijderd in 1.43) – templatelinks table schema migration stage, for normalizing tl_namespace and tl_title fields.
- $wgVirtualDomainsMapping (nieuw in 1.41) – Mapping of virtual database domains to actual databases.
LoadBalancer-instellingen
- $wgDBservers – Instellingen voor de database loadbalancer (databaseservers en loadratio's).
- $wgLBFactoryConf – Configuratie van de service ILBFactory
- $wgMasterWaitTimeout (verouderd sinds 1.24) – Hoe er gewacht moet worden voor een slave om zijn achterstand met de master te laten wegwerken
- $wgSlaveLagCritical (verwijderd in 1.36) – Als de vertraging hoger is dan deze waarde, laat dan een duidelijkere waarschuwing zien dan
$wgSlaveLagWarning
. - $wgSlaveLagWarning (verwijderd in 1.36) – Als de vertraging hoger is dan deze waarde, toon dan een waarschuwing in enkele speciale pagina's (zoals de watchlist).
- $wgDatabaseReplicaLagCritical – If lag is higher than this value, show a more obvious warning than
$wgDatabaseReplicaLagWarning
. - $wgDatabaseReplicaLagWarning – If lag is higher than this value, show a warning in some special pages (like watchlist).
MySQL specifieke
- $wgDBTableOptions – MySQL-tabelopties om te gebruiken tijdens de installatie of update.
- $wgSQLMode – Waarde voor de MySQL
sql_mode
parameter
PostgreSQL specifiek
- $wgDBport – Database poort. Wordt enkel gebruikt door PostgreSQ.
SQLite specifiek
- $wgSQLiteDataDir – Om de standaard SQLite datamap te overschrijven.
Gedeelde DB-instellingen
- $wgSharedDB – De naam van de gedeelde database
- $wgSharedPrefix – Tabelvoorvoegsel om te gebruiken op de shared database tabellen.
- $wgSharedTables – Lijst van databasetabellen (zonder voorvoegsels) om te delen wanneer
$wgSharedDB
is ingeschakeld. - $wgSharedSchema – De tabelschema voor de gedeelde database.
Extensie velden
- $wgExtPGNewFields (verwijderd in 1.36) – Uitbreiding gedefinieerde velden die aan bestaande tabellen moeten worden toegevoegd
- $wgExtNewTables (verwijderd in 1.36) – Uitbreiding Gedefinieerde tabellen die bij wijziging van het schema moeten worden toegevoegd
- $wgExtNewFields (verwijderd in 1.36) – Uitbreiding gedefinieerde velden die aan bestaande tabellen moeten worden toegevoegd
- $wgExtNewIndexes (verwijderd in 1.36) – Extensie gedefinieerde indexen die aan bestaande tabellen moeten worden toegevoegd
- $wgExtPGAlteredFields (verwijderd in 1.36) – Extensie gedefinieerde kolommen die aan bestaande tabellen moeten worden toegevoegd
- $wgExtModifiedFields (verwijderd in 1.36) – Extension defined fields to change existing tables
Content handlers en opslag
- $wgCompressRevisions – Comprimeer nieuwe pagina-revisies indien mogelijk
- $wgContentHandlers – Mapping of content type handlers
- $wgContentHandlerTextFallback (verwijderd in 1.42) – How to react if a plain text version of a non-text Content object is requested using
ContentHandler::getContentText()
- $wgDefaultExternalStore – Standaard externe store voor nieuwe revisions.
- $wgDiffEngine – Specify the difference engine to use.
- $wgEnableRemoteBagOStuffTests – If this is set to
true
, phpunit will run integration tests against remote caches defined in $wgObjectCaches . - $wgExternalDiffEngine – Name of the external diff engine to use.
- $wgExternalServers – Afkorting voor instelling
$wgLBFactoryConf["externalClusters"]
. - $wgExternalStores – List of enabled ExternalStore protocols.
- $wgNamespaceContentModels – Content types defined for a given namespace
- $wgPageLanguageUseDB – Maakt het mogelijk om de taal van de MediaWiki-pagina's te wijzigen
- $wgRevisionCacheExpiry – Cache extracted revision text in MemCached.
- $wgRevisionSlotsCacheExpiry (nieuw in 1.43) – Revision slots may be cached in the main WAN cache and/or the local server cache to reduce load on the database.
- $wgTextModelsToParse – Determines which types of text are parsed as wikitext.
- $wgWikidiff2Options (nieuw in 1.41) – Options for wikidiff2
Performance hacks en liemieten
- $wgAllowSchemaUpdates – Allow database schema updates to be executed with update.php script.
- $wgAllowSlowParserFunctions – Allow slow parser functions.
- $wgCriticalSectionTimeLimit – The maximum time critical sections are allowed to stay open.
- $wgDisableQueryPages – Disable all query pages if miser mode is on, not just some.
- $wgForceDeferredUpdatesPreSend – Force deferred updates to be run before sending a response to the client, instead of attempting to run them after sending the response.
- $wgLinkHolderBatchSize – LinkHolderArray batch size.
- $wgMaxArticleSize – Maximale paginagrootte in kilobytes.
- $wgMaximumMovedPages – Maximum number of pages to move at once when moving subpages with a page.
- $wgMaxJobDBWriteDuration – Max time (in seconds) a job-generated transaction can spend in writes.
- $wgMaxUserDBWriteDuration – Maximale tijd (in seconden) die een door de gebruiker gegenereerde transactie kan besteden aan schrijven.
- $wgMemoryLimit – The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.
- $wgMiserMode – Enable/disable database-intensive features
- $wgMultiShardSiteStats – Whether
site_stats
table should have multiple rows. - $wgPoolCounterConf – Configuration for processing pool control.
- $wgPoolCountClientConf (nieuw in 1.40) – Configuration array for the PoolCounter client.
- $wgQueryCacheLimit – Number of rows to cache in 'querycache' table when miser mode is on.
- $wgQueryPages – List of Special pages that inherit from QueryPage, that should also be taken in account by the updateSpecialPages.php maintenance script.
- $wgRequestTimeLimit – Set a limit on server request wall clock time.
- $wgTransactionalTimeLimit – Throttle for timing out transactional POST requests
- $wgWantedPagesThreshold – Minimum number of pages that must link to a page before it will appear on Special:Wantedpages.
Cache
- $wgCacheDirectory – Directory for per-wiki long-life cache files in the local filesystem.
- $wgCacheEpoch – Set this to current time to invalidate all prior cached pages.
- $wgCachePages – Allow client-side caching of pages
- $wgChronologyProtectorStash (verwijderd in 1.43) – The object store type of the ChronologyProtector position store.
- $wgChronologyProtectorSecret (nieuw in 1.41) – Secret string for HMAC hashing in ChronologyProtector (optional)
- $wgExtensionInfoMTime – Time to invalidate cache of extensions loaded by the extension registration system.
- $wgFooterLinkCacheExpiry (verwijderd in 1.39) – Expiry time for the footer link cache, in seconds, or 0 if disabled.
- $wgGitInfoCacheDirectory – Directory waar GitInfo zal zoeken naar voorgecompileerde cache-bestanden.
- $wgInvalidateCacheOnLocalSettingsChange – Setting this to true will invalidate all cached pages whenever
LocalSettings.php
is changed - $wgLanguageConverterCacheType – The cache type for storing language conversion tables.
- $wgMainCacheType – Object cache setting
- $wgMainStash – Replicated object cache setting
- $wgMicroStashType (nieuw in 1.42) – Central store for reliable short-lived data.
- $wgObjectCaches – Advanced object cache configuration.
- $wgParserCacheFilterConfig (nieuw in 1.42) – Per-namespace configuration for the ParserCache filter.
- $wgParserCacheUseJson (verwijderd in 1.39) – Enable JSON serialization for ParserCache.
- $wgParsoidCacheConfig – Configuration for the caching related to parsoid output. The configuration contains the following keys:
- $wgPHPSessionHandling – Whether to use PHP session handling (
$_SESSION
andsession_*()
functions) - $wgSessionPbkdf2Iterations – Number of internal PBKDF2 iterations to use when deriving session secrets.
- $wgStatsCacheType (verwijderd in 1.42) – The object cache type for stats storage.
- $wgSuspiciousIpExpiry – Time in seconds to remember IPs for, for the purposes of logging IP changes within the same session.
- $wgUseGzip – Use GZip to store cached pages.
- Interwiki cache instellingen
Bestand cache
Instellingen voor caching op de server.
- $wgFileCacheDepth – Depth of subdirectory hierarchy under
$wgFileCacheDirectory
. - $wgUseFileCache – Maakt statische HTML-pagina's aan voor ongeregistreerde gebruikers om het database-verkeer te verminderen.
Berichten cache
- $wgAdaptiveMessageCache – Keep track which messages are requested and load only most used messages.
- $wgLocalisationCacheConf – Localisation cache configuration.
- $wgMessageCacheType – Message cache setting
- $wgUseLocalMessageCache – Make a local copy of the message cache, in addition to memcached.
Zijbalk cache
- $wgEnableSidebarCache – If true, cache the sidebar navigation links.
- $wgSidebarCacheExpiry – Expiry time for the sidebar cache, in seconds.
Parser cache
- $wgOldRevisionParserCacheExpireTime – The expiry time for the parser cache for old revisions, in seconds.
- $wgRenderHashAppend – Append a configured value to the parser cache and the sitenotice cache keys.
- $wgParserCacheExpireTime – Expiration time (in seconds) of cached parser information
- $wgParserCacheType – Parser cache setting
- $wgUseContentMediaStyles (nieuw in 1.41) (verouderd sinds 1.41) – Temporary flag to stop shipping the styles for the legacy media HTML structure that has been replaced when $wgParserEnableLegacyMediaDOM is
false
.
Memcached instellingen
Instellingen voor de Memcached memory-based objectstore (als u die gebruikt). Details: docs/memcached.md.
- $wgMemCachedDebug – Will be set to false in Setup.php, if the server isn't working.
- $wgMemCachedPersistent – Whether to use persistent connections to Memcached servers.
- $wgMemCachedServers – Memcached servers
- $wgMemCachedTimeout – Server connection timeout in microseconds.
- $wgObjectCacheSessionExpiry – Expiry time to use for session storage in seconds.
- $wgSessionCacheType – The cache type for storing session data.
WAN cache
- $wgMainWANCache (verwijderd in 1.40) – Main wide area network cache configuration.
- $wgWANObjectCaches (verwijderd in 1.40) – Advanced Wide-Area-Network cache configuration.
- $wgWANObjectCache (nieuw in 1.40) – Extra parameters to the WANObjectCache constructor.
HTTP proxy (CDN) instellingen
Deze instellingen zijn voor de eventueel gebruikte HTTP proxy server. Ze zijn bedoeld voor de caching bij gebruik van Varnish of met Squid.
- $wgCdnMatchParameterOrder – Geeft aan of er rekening gehouden moet worden met de volgorde van de query parameters voor de 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 (verwijderd in 1.38) – Cache TTL for the user agent sent as max-age, for logged out users.
- $wgSquidMaxage (verwijderd in 1.35) – Cache timeout for the squid.
- $wgSquidPurgeUseHostHeader (verwijderd in 1.42) – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
- $wgSquidServersNoPurge (verwijderd 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 (verwijderd 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 (verouderd sinds 1.33) – If you run Squid3 with ESI support, enable this.
- $wgUsePrivateIPs – Whether private X-Forwarded-For IPs should be accepted
- $wgUseSquid (verwijderd in 1.35) – Enable/disable Squid.
- $wgVaryOnXFP – Whether to add
X-Forwarded-Proto
to theVary
header for API requests and RSS/Atom feeds.
HTCP multicast purging
- $wgHTCPMulticastTTL – HTCP multicast purging
- $wgHTCPRouting – Routing configuration for HTCP multicast purging.
Taal, regio en karakter encoding instellingen
- $wgAllowRawHtmlCopyrightMessages (nieuw in 1.43) – Whether on-wiki overrides for the
copyright
andhistory_copyright
messages, which allow raw HTML, will be used. - $wgAllUnicodeFixes – Whether to always convert certain Unicode sequences to modern ones regardless of the content language.
- $wgDefaultLanguageVariant – Standaard taalviariant
- $wgDisabledVariants – Uitgeschakelde varianten voor de conversie van taalvarianten.
- $wgDisableLangConversion – Of de conversie van taalvarianten mogelijk moet worden gemaakt.
- $wgDisableTitleConversion – Of de conversie van taalvarianten mogelijk moet worden gemaakt voor links.
- $wgDummyLanguageCodes – Lijst van taalcodes die zijn hernoemd naar nieuwe (correcte) codes, of niet overeenkomen met een eigenlijke interfacetaal.
- $wgExtraInterlanguageLinkPrefixes – Array of interwiki prefixes to be treated as language links.
- $wgExtraLanguageCodes – Lijst van mappings van de ene taalcode naar de andere
- $wgExtraLanguageNames – List of language names or overrides for default names in Names.php.
- $wgFixArabicUnicode (verwijderd in 1.35) – Set this to true to clean up archaic Unicode sequences in Arabic text.
- $wgFixMalayalamUnicode (verwijderd in 1.35) – Set this to true to clean up archaic Unicode sequences in Malayalam text.
- $wgForceUIMsgAsContentMsg – Serie van UI-berichten die moeten worden behandeld als inhoudsberichten.
- $wgGrammarForms – Used for
{{GRAMMAR:}}
parser function. - $wgHideInterlanguageLinks – Hide interlanguage links from the sidebar.
- $wgInterlanguageLinkCodeMap – Map of interlanguage link codes to language codes to override what is shown as the language name when the interwiki code does not match it exactly.
- $wgInterwikiMagic – Behandel taallinks als magische connecties, niet als inline links.
- $wgLangObjCacheSize (verwijderd in 1.37) – Taal cache grootte, of echt hoeveel talen kunnen we tegelijkertijd behandelen zonder te degraderen tot kruipsnelheid.
- $wgLanguageCode – Taalcode van site.
- $wgLegacyEncoding – Stel dit in op de karakterset, die je gebruikte voordat je een update naar MediaWiki 1.5 uitvoerde (bijv. 'ISO-8859-1'). MediaWiki zal dan een tijdelijke karaktersetconversie uitvoeren bij het laden van oude revisies, die niet gemarkeerd zijn met de "utf-8" vlag (revisies gemaakt met MediaWiki 1.4 en eerder).
- $wgLegacySchemaConversion (verwijderd in 1.39) – Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5
- $wgLoginLanguageSelector – Show a bar of language selection links in the user login and user registration forms.
- $wgMaxMsgCacheEntrySize – Maximum entry size in the message cache, in bytes.
- $wgOverrideUcfirstCharacters – Lijst van Unicode-tekens waarvoor het hoofdlettergebruik wordt overschreven in Language::ucfirst.
- $wgRawHtmlMessages – Lijst van berichten die mogelijk raw HTML bevatten.
- $wgUseDatabaseMessages – Vertaling met behulp van MediaWiki: naamruimte.
- $wgUsePigLatinVariant – Of de pig latin variant van het Engels (en-x-piglatin), gebruikt om de ontwikkeling van de variant te vergemakkelijken, wordt ingeschakeld.
- $wgUseXssLanguage (nieuw in 1.41) – Whether to enable the x-xss language code, used to make checking for XSS issues more convenient.
- $wgVariantArticlePath – Wordt gebruikt voor links bij taalvarianten.
- $wgUserFallbackLanguages – maximum aantal talen waarop de gebruiker kan terugvallen
Tijdzone instellingen
- $wgLocaltimezone – Faket de tijdzone waar de server denkt dat hij in zit.
- $wgLocalTZoffset – Voeg een afstand toe aan de tijdzone van de server in minuten.
Taal specifiek
- Engels
- $wgAmericanDates – Gebruik 'mdy' in plaats van 'dmy' als standaarddatumformaat, bijvoorbeeld 'May 12' in plaats van '12 May'.
- Arabisch/Hindi
- $wgTranslateNumerals – Voor Hindi, Arabisch en andere talen met hun eigen numerieke systemen, gebruik je lokale cijfers in plaats van westerse (0-9) cijfers in sommige gebieden van de interface.
Uitvoerformaat en skin instellingen
Uitvoer
- $wgBrowserFormatDetection – Override ability of certain browsers to attempt to autodetect dataformats in pages.
- $wgDisableOutputCompression – Outputcompressie uitschakelen (compressie standaard ingeschakeld als zlib beschikbaar is).
- $wgEdititis – Display user edit counts on special page "User list".
- $wgEditSubmitButtonLabelPublish – Vary the 'save' labels to 'publish' for public wikis.
- $wgEnableCanonicalServerLink – Output a
<link rel="canonical">
tag on every page indicating the canonical server which should be used, i.e.$wgServer
or$wgCanonicalServer
. - $wgExternalInterwikiFragmentMode – Determines which ID escaping mode should be used for external interwiki links
- $wgFragmentMode – Determines how section IDs should be encoded
- $wgInterwikiLogoOverride (nieuw in 1.41) – List of interwiki logos overrides.
- $wgHTMLFormAllowTableFormat (verwijderd in 1.42) – Allow form components to render tables.
- $wgHtml5Version – Defines the value of the version attribute in the
<html>
tag, if any. - $wgMangleFlashPolicy (verwijderd in 1.40) – Of elke tag
<cross-domain-policy>
(Adobe cross-domain policy) moet worden genegeert, om XSS aanvallen te voorkomen. - $wgMimeType – The type to send in the
Content-Type
header. - $wgSend404Code – Send 404 HTTP status for not found pages.
- $wgShowRollbackEditCount – Maximum number to count when a rollback link is shown
- $wgSiteNotice – Een bericht dat bovenaan elke pagina moet worden weergegeven.
- $wgUseMediaWikiUIEverywhere (verwijderd in 1.42) – Applies MediaWiki UI wherever it can be supported.
- $wgXhtmlNamespaces – Permit other XHTML namespaces in addition to the w3.org default.
Skins
- $wgDefaultSkin – De standaard skin voor nieuwe gebruikers.
- $wgFallbackSkin – Fallback skin used when the skin defined by
$wgDefaultSkin
can't be found. - $wgFooterIcons – Abstract list of footer icons for skins.
- $wgSkinMetaTags – 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 (verwijderd in 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
- Zie ResourceLoader voor meer informatie.
- $wgAllowSiteCSSOnRestrictedPages – Allow site-wide Cascading Style Sheets (CSS) on restricted special pages
- $wgCodexDevelopmentDir (nieuw in 1.43) – If this is set, MediaWiki will look for Codex files in this directory instead of in
resources/lib/codex/
and friends. - $wgIncludeLegacyJavaScript (verwijderd in 1.39) – Whether to include the mediawiki.legacy JavaScript library (old wikibits.js), and its dependencies.
- $wgLegacyJavaScriptGlobals (verwijderd in 1.37) – Whether or not to assign configuration variables to the global window object.
- $wgResourceBasePath – Default
remoteBasePath
value for resource loader modules. - $wgResourceLoaderClientPreferences (nieuw in 1.40) (verwijderd in 1.41) – Enable client-side preferences for unregistered users.
- $wgResourceLoaderDebug – The default debug mode (on/off) for ResourceLoader requests.
- $wgResourceLoaderEnableJSProfiler – When enabled, execution of JavaScript modules is profiled client-side.
- $wgResourceLoaderEnableSourceMapLinks (nieuw in 1.41) – Whether to include a SourceMap header in ResourceLoader responses for JavaScript modules.
- $wgResourceLoaderMaxage – How long a CDN or browser may cache a ResourceLoader HTTP response.
- $wgResourceLoaderMaxQueryLength – Maximum query string length for ResourceLoader requests.
- $wgResourceLoaderSources – Foreign module sources registry.
- $wgResourceLoaderStorageEnabled – Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the Web Storage API.
- $wgResourceLoaderStorageVersion – Cache version for client-side ResourceLoader module storage.
- $wgResourceLoaderUseObjectCacheForDeps (verwijderd in 1.44) – Use the main stash instead of the module_deps table for indirect dependency tracking
- $wgResourceLoaderValidateJS – Validate JavaScript code loaded from wiki pages.
- $wgResourceModuleSkinStyles – Array of additional skin-provided stylesheets to existing ResourceLoader modules.
- $wgResourceModules – Array of all extra defined modules that can later be loaded during the output.
- $wgVueDevelopmentMode – Whether to use the development version of Vue.js.
Pagina-titels en doorverwijzingen
- $wgDisableHardRedirects – Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link.
- $wgFixDoubleRedirects – Repareert dubbele doorverwijzingen na een pagina hernoeming.
- $wgInvalidRedirectTargets – Array of invalid page redirect targets.
- $wgShortPagesNamespaceBlacklist (verwijderd in 1.37) – Optional array of namespaces which should be blacklisted from Special:ShortPages
- $wgShortPagesNamespaceExclusions – Optional array of namespaces which should be excluded from Special:ShortPages
- $wgCapitalLinkOverrides – Per naamruimte configuratie voor $wgCapitalLinks .
- $wgCapitalLinks – Zet dit op false om te voorkomen dat de eerste letter van de links naar hoofdletters wordt geforceerd.
- $wgLegalTitleChars (verouderd sinds 1.41) – Override the default list of illegal characters in page titles.
- $wgMaxRedirects (verwijderd in 1.39) – Maximaal aantal te volgen doorverwijzingen bij het oplossen van doorverwijzingen.
Namespaces
- $wgContentNamespaces – Namespaces which are considered to contain real content, or articles
- $wgCanonicalNamespaceNames – Canonical namespace names.
- $wgExtraNamespaces – Additional namespaces.
- $wgExtraGenderNamespaces – Same as $wgExtraNamespaces , but for namespaces with gender distinction.
- $wgExtraSignatureNamespaces – Controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed.
- $wgMetaNamespace – Name used for the meta namespace.
- $wgMetaNamespaceTalk – Naam van de naamruimte voor projectoverleg.
- $wgNamespaceAliases – Provide additional names for namespaces.
- $wgNamespacesWithSubpages – Which namespaces should support subpages?
Mobiele ondersteuning
Interwiki links en websites
- $wgInterwikiPrefixDisplayTypes (verwijderd 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 (verwijderd 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 voor specifieke soorten sites.
Interwiki cache
- Zie interwiki cache voor meer informatie.
- $wgInterwikiCache – Interwiki cache as an associative array.
- $wgInterwikiExpiry – Expiry time for memcached cache of
interwiki
table. - $wgInterwikiFallbackSite – Used by maintenance scripts to dump
interwiki
table - $wgInterwikiScopes – Used by
getInterwikiCache()
to retrieve from interwiki database file
Parser
- $wgAllowDisplayTitle – Allows use of
{{DISPLAYTITLE}}
magic word - $wgAllowExternalImagesFrom – If
$wgAllowExternalImages
is false, you can specify exceptions here. - $wgAllowExternalImages – Determines whether or not MediaWiki will allow external images to be rendered inline with text.
- $wgAllowImageTag (verwijderd in 1.42) – Allow
<img>
tag to be used in wikitext. - $wgCleanSignatures – Substitute templates in signatures.
- $wgEnableImageWhitelist – Enables an on-wiki external image whitelist
- $wgEnableMagicLinks – Controls whether magic link functionality should be enabled
- $wgEnableScaryTranscluding – Allow templates to be imported/transcluded from another wiki.
- $wgExpensiveParserFunctionLimit – Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
- $wgExternalLinkTarget – Stel een standaard voor het 'target' in bij externe verwijzingen.
- $wgMaxGeneratedPPNodeCount (verwijderd in 1.35) – A complexity limit on template expansion: the maximum number of nodes generated by
Preprocessor::preprocessToObj()
- $wgMaxPPExpandDepth – Stack depth limit for expansion with the preprocessor.
- $wgMaxPPNodeCount – A complexity limit on template expansion: the maximum number of nodes visited by
PPFrame::expand()
- $wgMaxTemplateDepth – Maximum recursion depth for templates within templates.
- $wgMaxTocLevel – Maximum indent level of the table of contents (ToC).
- $wgNoFollowDomainExceptions – Externe links naar deze domeinnamen (of subdomeinen) worden niet ingesteld op
rel="nofollow"
. - $wgNoFollowLinks – Indien true, krijgen externe URL-links in wiki-tekst het attribuut
rel="nofollow"
. - $wgNoFollowNsExceptions – Namespaces in which Manual:$wgNoFollowLinks doesn't apply.
- $wgParserCacheNewKeySchemaRatio (nieuw in 1.44) – Ratio for use of new parser cache key schema.
- $wgParserConf (verwijderd in 1.36) – Parser configuration.
- $wgParserEnableLegacyHeadingDOM (nieuw in 1.43) – Enable legacy HTML structure for headings in the output from the Parser.
- $wgParserEnableLegacyMediaDOM (verouderd sinds 1.41) – Enable legacy media HTML structure in the output from the Parser.
- $wgParserEnableUserLanguage (nieuw in 1.43) – Set this to
true
to allow the{{USERLANGUAGE}}
magic word to return the actual user language. - $wgParsoidFragmentSupport (nieuw in 1.44) – Enable fragment support in Parsoid (transclusions returning html).
- $wgParsoidSettings – Default Parsoid configuration.
- $wgParsoidSelectiveUpdateSampleRate (nieuw in 1.43) – Sample rate for collecting statistics on Parsoid selective update.
- $wgPreprocessorCacheThreshold – Preprocessor caching threshold.
- $wgRegisterInternalExternals – Whether to register external links pointing to the same server.
- $wgRestrictDisplayTitle – Restrict
{{DISPLAYTITLE}}
to titles that normalize to the same canonical database key - $wgTranscludeCacheExpiry – Expiry time for interwiki transclusion cache
- $wgUrlProtocols – Definieert de protocollen die worden ondersteund en vertaald in HTML door de mediawiki parser.
- $wgUseNewMediaStructure (verwijderd in 1.37) – Emit using the new media structure described at, Parsing/Media structure
- $wgUseLegacyMediaStyles (nieuw in 1.41) – Temporary flag to re-enable the old thumbnail styles provided by core for the legacy media HTML structure.
HTML
- $wgRawHtml – Allow raw, unchecked HTML in
<html>...</html>
sections. - $wgTidyConfig – Configuratie van het hulpmiddel voor HTML naverwerking om ongeldige HTML-code te herstellen.
Statistieken en inhoud analyse
- $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 (verwijderd in 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.
Gebruikersaccounts, authenticatie
- $wgAllowRequiringEmailForResets (verwijderd in 1.43) – Temporary feature flag that controls whether users will see a checkbox allowing them to require providing email during password resets.
- $wgAutoCreateTempUser – Configuration for automatic creation of temporary accounts on page save.
- $wgConditionalUserOptions (nieuw in 1.42) – Default user preferences.
- $wgDefaultUserOptions – Default user preferences.
- $wgHiddenPrefs – Disable certain user preferences.
- $wgInvalidUsernameCharacters – Characters to prevent during new account creations.
- $wgMaximalPasswordLength (verwijderd in 1.42) – Specifies the maximal length of a user password.
- $wgMaxNameChars – Maximum number of bytes in username.
- $wgMaxSigChars – Maximum wiki code length for customized signatures.
- $wgMinimalPasswordLength (verwijderd in 1.42) – Specifies the minimal length of a user password.
- $wgPasswordPolicy – Specifies various settings related to password strength and security.
- $wgReservedUsernames – List of account names that cannot exist.
- $wgSignatureValidation – Behavior of signature validation.
- $wgSignatureAllowedLintErrors – List of lint error codes which don't cause signature validation to fail.
- $wgUserrightsInterwikiDelimiter – Character used as the separator between username and database name on Special:UserRights.
Authenticatie
- $wgAllowSecuritySensitiveOperationIfCannotReauthenticate – Whether to allow security-sensitive operations when reauthentication is not possible
- $wgAuthenticationTokenVersion – When changed, all existing sessions are invalidated.
- $wgAuthManagerAutoConfig – Register authentication providers to use with AuthManager
- $wgAuthManagerConfig – Manual override for authentication provider configuration
- $wgCentralIdLookupProviders – Register central ID lookup providers.
- $wgCentralIdLookupProvider – Default central id lookup implementation to use
- $wgChangeCredentialsBlacklist – List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials and the changeauthenticationdata API.
- $wgInvalidPasswordReset – Specifies if users should be sent to a password-reset form on login in case of an inadequate password.
- $wgPasswordConfig – Configuration for built-in password types.
- $wgPasswordDefault – Default password type to use when hashing user passwords.
- $wgPasswordResetRoutes – Whether to allow password resets identified by various bits of data.
- $wgReauthenticateTime – Time frame for re-authentication
- $wgRememberMe – Configures RememberMe authentication request added by AuthManager.
- $wgRemoveCredentialsBlacklist – List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials and the removeauthenticationdata API.
- $wgSecureLogin – Whether to let user authenticate using https when they come from http.
- $wgSessionProviders – Session provider configuration.
- $wgUserRegistrationProviders (nieuw in 1.41) – User registration timestamp provider classes
Gebruikersrechten, toegangscontrole en monitoring
- $wgAddGroups – Controls who can add specific groups using Special:Userrights.
- $wgAutoblockExpiry – Number of seconds before autoblock entries expire
- $wgBlockAllowsUTEdit – Allow blocked users to edit their talk pages
- $wgDeleteRevisionsBatchSize – Page deletions with > this number of revisions will use the job queue.
- $wgDnsBlacklistUrls – List of DNS blacklists to use, if
$wgEnableDnsBlacklist
istrue
. - $wgEmailConfirmToEdit – Require users to confirm email address before they can edit, true to enable.
- $wgEnableDnsBlacklist – Whether to use DNS blocklists in
$wgDnsBlacklistUrls
to check for open proxies. - $wgGrantPermissionGroups – Used to define grant groups and assign grants to them.
- $wgGrantPermissions – Used to define grants and assign permissions to them.
- $wgGrantRiskGroups (nieuw in 1.42) – Group grants by risk level.
- $wgGroupInheritsPermissions – Groups that should inherit permissions from another group.
- $wgGroupPermissions – Gebruik dit om toegangsrechten in te stellen voor groepen en gebruikers in deze groepen.
- $wgGroupsAddToSelf – Use this to allow users to add themselves to specified groups via Special:Userrights.
- $wgGroupsRemoveFromSelf – Use this to allow users to remove themselves from specified groups via Special:Userrights.
- $wgHideUserContribLimit – The maximum number of edits a user can have and can still be hidden by users with the
hideuser
permission. - $wgImplicitGroups – Groups that are not shown on Special:Listusers or somewhere else
- $wgPasswordAttemptThrottle – Limit password attempts per IP per address.
- $wgPrivilegedGroups (nieuw in 1.40.1) – List of groups which should be considered privileged (user accounts belonging in these groups can be abused in dangerous ways).
- $wgProxyList – A list of IP addresses to be banned
- $wgProxyWhitelist – Proxy allowlist: list of addresses that are assumed to be non-proxy despite what the other methods might say.
- $wgRateLimitsExcludedIPs – Array of IPs/CIDR ranges which should never trigger the rate limiter.
- $wgRateLimits – Simple rate limiter options to brake edit floods.
- $wgRemoveGroups – Controleerd wie specifieke groepen kan verwijderen door Speciaal:Gebruikersrechten te gebruiken.
- $wgRevokePermissions – De keys van rechten van gebruikers die zijn ingetrokken per groep.
- $wgWhitelistReadRegexp – Whitelists publicly readable titles with regular expressions.
- $wgWhitelistRead – Pages anonymous user may see.
Toegang
Blokkeren/verbannen en gerelateerde instellingen.
- $wgAccountCreationThrottle – Number of accounts each IP address may create, 0 to disable.
- $wgApplyIpBlocksToXff – Apply IP address blocks also to users having a blocked IP in their XFF header.
- $wgAutoConfirmAge – Number of seconds an account is required to age before it's given the implicit 'autoconfirmed' group membership.
- $wgAutoConfirmCount – Number of edits an account requires before it is autoconfirmed.
- $wgAutopromoteOnceLogInRC – Whether to put user rights log entries for autopromotion in recent changes.
- $wgAutopromoteOnceRCExcludedGroups (nieuw in 1.44) – Defines a denylist of group names.
- $wgAutopromoteOnce – Conditions of automatic promotion of user to specific groups that are done only once.
- $wgAutopromote – Conditions of automatic promotion of user to specific groups
- $wgAvailableRights – A list of available rights, in addition to the ones defined by the core.
- $wgBlockCIDRLimit – Maximum CIDR range when blocking an IP range.
- $wgBlockDisablesLogin – If set to true, blocked users will no longer be allowed to log in
- $wgBlockTargetMigrationStage (nieuw in 1.42) (verouderd sinds 1.43) –
ipblocks
table schema migration stage, for normalizingipb_address
field and adding theblock_target
table. - $wgBotPasswordsCluster (verouderd sinds 1.42) – Cluster name for the
bot_passwords
table - $wgBotPasswordsDatabase (verouderd sinds 1.42) – Database name for the
bot_passwords
table - $wgCascadingRestrictionLevels – Restriction levels that can be used with cascading protection
- $wgDeleteRevisionsLimit – Integer of how many revisions a page must have before the bigdelete right is required to delete it.
- $wgEnableBotPasswords – Whether to enable bot passwords
- $wgEnableMultiBlocks (nieuw in 1.42) – If this is
false
, the number of blocks of a given target is limited to only 1. - $wgEnablePartialBlocks (verwijderd in 1.35) – Allow partial blocks to be created
- $wgEnablePartialActionBlocks – Flag to enable partial blocks against performing certain actions.
- $wgHideIdentifiableRedirects – Protects user's privacy when doing redirects
- $wgImplicitRights (nieuw in 1.41) – A list of implicit rights, in addition to the ones defined by the core.
- $wgNamespaceProtection – Which namespaces can be edited by whom?
- $wgNonincludableNamespaces – Use this to deny inclusion of pages from specific namespaces.
- $wgPutIPinRC – Log IP addresses in the recentchanges table.
- $wgQueryPageDefaultLimit – Integer defining default number of entries to show on query pages
- $wgRestrictionLevels – Set of permission keys that can be selected on the "page protection" page.
- $wgRestrictionTypes – Actions that can be restricted
- $wgSemiprotectedRestrictionLevels – Restriction levels that are considered "semi-protected"
- $wgSoftBlockRanges – IP ranges that should be considered soft-blocked (anon-only, account creation allowed)
- $wgSpamRegex – A regular expression pattern which, if the page content matched it, stops a page from being saved.
- $wgSummarySpamRegex – Same as
$wgSpamRegex
except for edit summaries. - $wgSysopEmailBans (verwijderd in 1.35) – Laat administrators toe om gebruikers het recht to Special:Emailuser te ontnemen.
- $wgTempAccountCreationThrottle (nieuw in 1.42) – Number of temporary accounts each IP address may create per specified period(s).
- $wgTempAccountNameAcquisitionThrottle (nieuw in 1.42) – Number of temporary accounts usernames each IP address may acquire per specified period(s).
Zie Manual:Preventing access voor meer methoden en instellingen met betrekking tot toegang. Zie ook Manual:User rights voor meer informatie over $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, enz.
- Zie gebruikerstoegang voor die instellingen.
Veiligheid
- $wgAllowCrossOrigin – Allow anonymous cross origin requests to the REST API.
- $wgAllowUserCssPrefs – Allow user preferences implemented in CSS.
- $wgAllowUserCss – Cascading Style Sheets (CSS) van gebruiker toestaan
- $wgAllowUserJs – Allow user JavaScript pages
- $wgApiFrameOptions – Control framing of api pages.
- $wgBreakFrames – Break out van framesets. Dit kan worden gebruikt om te voorkomen dat externe sites uw site framen met advertenties.
- $wgCSPFalsePositiveUrls – Controls what URLs to ignore in upcoming Content-Security-Policy feature's reporting.
- $wgCSPHeader – Controls Content-Security-Policy header [Experimental]
- $wgCSPReportOnlyHeader – Controls Content-Security-Policy-Report-Only header [Experimental]
- $wgEditPageFrameOptions – Control framing of wiki pages globally.
- $wgHKDFAlgorithm (verwijderd in 1.43) – Algorithm for HMAC-based key derivation function (fast, cryptographically secure random numbers).
- $wgHKDFSecret (verwijderd in 1.43) – Secret for HMAC-based key derivation function (fast, cryptographically secure random numbers).
- $wgRestAllowCrossOriginCookieAuth – Allows authenticated cross-origin requests to the REST API with session cookies.
- $wgSecretKey – This should always be customized to a secret, unique string in LocalSettings.php .
- $wgSessionInsecureSecrets (verwijderd in 1.43) – Allows MediaWiki to work at the cost of storing sensitive session data insecurely.
- $wgSessionSecret – Secret for session storage.
- $wgUseSiteCss – Gebruik de CSS (Cascading Style Sheets) van de website
- $wgUseSiteJs – Gebruik de JavaScript pagina van de website
Cookies
- $wgCacheVaryCookies – A list of cookies that influence the cache.
- $wgCookieDomain – Specifiek domein voor login cookies.
- $wgCookieExpiration – Number of seconds before HTTP cookies expire. You can override this for 'Aangemeld blijven' cookies with
$wgExtendedLoginCookieExpiration
- $wgCookieHttpOnly – Set the
httpOnly
flag on all cookies set by MediaWiki (to prevent access from JavaScript). - $wgCookiePath – Explicitly declared "path" for cookies at the cookie domain
- $wgCookiePrefix – Custom cookie prefix.
- $wgCookieSameSite – Het SameSite cookie-attribuut welke wordt gebruikt voor aanmeldingscookies.
- $wgCookieSecure – Whether cookies are secured.
- $wgCookieSetOnAutoblock – Determines whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even after logging out and moving to a new IP address, will still be blocked.
- $wgCookieSetOnIpBlock – Determines whether to set a cookie when an IP user is blocked. Doing so means that a blocked user, even after moving to a new IP address, will still be blocked.
- $wgDisableCookieCheck (verwijderd in 1.42) – Disables session cookies
- $wgExtendedLoginCookieExpiration – If non-null, duration in seconds to use for "Aangemeld blijven" sessions; 0 means until the browser is closed. If null, uses $wgCookieExpiration
- $wgSessionName – Overschrijven om de sessienaam aan te passen.
- $wgUseSameSiteLegacyCookies (verwijderd in 1.42) – Send a legacy cookie with an
ss0-
prefix whenSameSite=None
is sent.
Profileren, testen en debuggen
- $wgCachePrefix – Custom value for the cache key prefix.
- $wgEnableJavaScriptTest – Allows running of JavaScript test suites via Special:JavaScriptTest (such as QUnit).
- $wgParserTestFiles (verwijderd in 1.40) – Parser test suite files to be run by parserTests.php.
Debuggen
- Lees ook: Handleiding:Hoe te debuggen
- $wgDebugComments – Neem gedeelten van de logboekuitvoer op in de HTML-commentaar pagina
- $wgDebugDumpSql – Dump SQL-query's om de output te debuggen
- $wgDebugLogFile – De bestandsnaam van het debug-logboek, of leeg indien uitgeschakeld.
- $wgDebugLogGroups – Direct
wfDebugLog()
output for certain groups to files other than$wgDebugLogFile
. - $wgDebugLogPrefix – Prefix voor het debuggen van loglijnen.
- $wgDebugRawPage – Indien 'false', zullen 'action=raw' en load.php hits niet resulteren in debug output.
- $wgDebugRedirects – Geeft de locatie weer in plaats van de daadwerkelijke doorverwijzing naar de doel-URL.
- $wgDebugTimestamps (verwijderd in 1.35) – Voorfixeer de debug-berichten met een relatieve tijdstempel.
- $wgDebugToolbar – Geef de debuggingbalk weer
- $wgDeprecationReleaseLimit – Laat de beperking tot
wfDeprecated
warnings los. - $wgDevelopmentWarnings – Of u PHP-meldingen voor enkele mogelijke foutcondities en voor afgeschreven functies krijgt.
- $wgLogExceptionBacktrace – Of dat de exception backtrace naar het errorlogboek moet worden gestuurd.
- $wgMWLoggerDefaultSpi – Standaard serviceprovider voor het maken van MWLogger-instanties.
- $wgOverrideHostname – Override server hostname detectie met een hardcoded waarde.
- $wgPageInfoTransclusionLimit – Beperk de transclusie van het sjabloon op InfoAction
- $wgPropagateErrors – Als het waar is, geeft de MediaWiki-foutafhandelingseenheid fouten/waarschuwingen door aan de standaard foutafhandelingseenheid na het loggen.
- $wgShowDBErrorBacktrace (verwijderd in 1.37) – Indien true, toon dan een backtrace voor databasefouten.
- $wgShowDebug – Toon debuggegevens aan de onderkant van het inhoudsgebied
- $wgShowExceptionDetails – Indien ingesteld op 'true', zullen niet afgevangen exceptions een gedetailleerde stack trace geven.
- $wgShowHostnames – If set to
true
, exposes host names through API and HTML comments. - $wgShowSQLErrors (verwijderd in 1.37) – Of om SQL-fouten te tonen op "we're sorry, but there has been a database error" pagina's.
- $wgSpecialVersionShowHooks – Whether to show the contents of $wgHooks in Special:Version.
- $wgTrxProfilerLimits – Prestatieverwachtingen voor DB-gebruik
Profileren
- $wgEnableProfileInfo (verwijderd in 1.35) – Controleert de beschikbaarheid van profileinfo.php.
- $wgMetricsTarget (verwijderd in 1.40) – Output target URI for the MetricsFactory service, e.g. udp://127.0.0.1:8125.
- $wgMetricsPrefix (verwijderd in 1.40) – Service name prefix for the MetricsFactory service.
- $wgMetricsFormat (verwijderd in 1.40) – Output format for the MetricsFactory service, e.g. 'statsd'.
- $wgOpenTelemetryConfig (nieuw in 1.43) – Configuration for OpenTelemetry instrumentation, or
null
to disable it. - $wgProfiler – Instellingen met betrekking tot profilering.
- $wgProfileLimit (verwijderd in 1.35) – Alleen recordprofielinformatie voor pagina's die langer dan dit aantal seconden nodig hadden om te laden.
- $wgProfileOnly (verwijderd in 1.35) – Zet geen niet-profileringsinformatie in het logbestand.
- $wgStatsdMetricPrefix – Prefix for metric names sent to $wgStatsdServer
- $wgStatsdSamplingRates (verwijderd in 1.43) – Sampling rate for statsd metrics as an associative array of patterns and rates.
- $wgStatsdServer – A host or host:port of a statsd server.
- $wgStatsFormat (nieuw in 1.40) – Output format for the StatsFactory service, e.g. 'statsd'.
- $wgStatsPrefix (nieuw in 1.40) – Service name prefix for the StatsFactory service.
- $wgStatsTarget (nieuw in 1.40) – Output target URI for the StatsFactory service, e.g. udp://127.0.0.1:8125.
Zoeken
- $wgAdvancedSearchHighlighting – Set to true to have more useful text snippets in search results.
- $wgDisableInternalSearch – Disable internal search so that extensions can implement it.
- $wgDisableSearchUpdate – If you've disabled search semi-permanently, this also disables updates to the table.
- $wgDisableTextSearch – Disable full-text search.
- $wgEnableOpenSearchSuggest (verwijderd in 1.40) – Enable OpenSearch suggestions requested by MediaWiki.
- $wgEnableSearchContributorsByIP – Whether searching for an IP address will be redirected to that IP's contributions page.
- $wgNamespacesToBeSearchedDefault – Which namespaces should be searched?
- $wgOpenSearchDefaultLimit – Integer defining default number of entries to show on OpenSearch call.
- $wgOpenSearchDescriptionLength – Minimum length of extract in
<Description>
. - $wgOpenSearchTemplates – Templates for OpenSearch suggestions.
- $wgOpenSearchTemplate (verwijderd in 1.42) – Template for OpenSearch suggestions.
- $wgSearchForwardUrl – Set this to a URL to forward search requests to some external location.
- $wgSearchHighlightBoundaries – Regexp to match word boundaries
- $wgSearchMatchRedirectPreference – Set
true
to allow logged-in users to set a preference whether or not matches in search results should force redirection to that page. - $wgSearchRunSuggestedQuery – If search returns zero results and current search engine has a "did you mean" suggestion, results for the suggestion will be shown.
- $wgSearchSuggestCacheExpiry – Expiry time for search suggestion responses.
- $wgSitemapNamespacesPriorities – Custom namespace priorities for sitemaps.
- $wgSitemapNamespaces – Array of namespaces identified by their IDs to generate a sitemap or false for all namespaces.
- $wgSpecialSearchFormOptions – Options for Special:Search completion widget form created by SearchFormWidget class.
- $wgUseTwoButtonsSearchForm (verwijderd in 1.36) – Sidebar's search form behavior.
Gebruikersinterface aanpassen
- $wgDiff3 – Pad naar de GNU diff3 utility.
- $wgDiff – Pad naar de GNU diff utility.
- $wgPreviewOnOpenNamespaces – Namespaces where preview-on-first-edit is forced.
- $wgUniversalEditButton – Inschakelen van UniversalEditButton voor browsers die het ondersteunen.
- $wgUseAutomaticEditSummaries – Whether MediaWiki should make automatic edit summaries.
Onderhoudsscripts instelling
- $wgCommandLineDarkBg – Assume a dark terminal background for maintenance scripts.
- $wgCommandLineMode – Indicates whether MW is running in command-line mode. Should never be set manually!
- $wgGitBin – Pad naar het git-bestand
- $wgGitRepositoryViewers – Map of Git repository URLs to their gitweb interface URLs
- $wgInstallerInitialPages (nieuw in 1.44) – Pages to autocreate after installing MediaWiki.
- $wgReadOnlyFile – Wanneer dit bestand bestaat, wordt de database vergrendeld met de reden opgegeven in de inhoud van het bestand.
- $wgReadOnlyWatchedItemStore – Set this to
true
to put the wiki watchlists into read-only mode. - $wgReadOnly – Laat bewerken niet toe, met de opgegeven string als reden.
- $wgUpgradeKey – Wachtwoord dat toegang tot een web-based updater controleert.
Recente wijzigingen, nieuwe pagina's, volglijst en geschiedenis
Bekijk ook Help:Recente wijzigingen en $wgDefaultUserOptions
.
- $wgDisableAnonTalk – Disable talk pages for anonymous users (not logged in).
- $wgRCChangedSizeThreshold – Highlight character count difference lower than this.
- $wgRCEngines (verouderd sinds 1.38) – Legacy mapping from URI schemes to RCFeed subclasses.
- $wgRCFeeds – Configuration for sending RC updates
- $wgRCFilterByAge – Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be stored.
- $wgRCLinkDays – List days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
- $wgRCLinkLimits – List changes limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
- $wgRCMaxAge – Items in the recentchanges table are periodically purged; entries older than this many seconds will go.
- $wgRCShowChangedSize – Show the amount of changed characters in recent changes.
- $wgRCShowWatchingUsers – Show watching users in recent changes, watchlist and page history views.
- $wgRCWatchCategoryMembership – Treat category membership changes as a RecentChange.
- $wgRecentChangesFlags – Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
- $wgShowUpdatedMarker – Show new changes: bold in watchlist, with "updated since my last visit" in history.
- $wgSoftwareTags – List of core tags to enable.
- $wgStructuredChangeFiltersLiveUpdatePollingRate – Polling rate, in seconds, used by the 'live update' feature of Special:RecentChanges and Special:Watchlist
- $wgUnwatchedPageSecret – If active watchers (per $wgWatchersMaxAge ) are this number or less, do not disclose it.
- $wgUnwatchedPageThreshold – Allows users without the "unwatchedpages" user right to view the number of page watchers for a specified page via the "info" action if the number of watchers is above the specified threshold.
- $wgUseFilePatrol – Use file patrolling to check new files on Special:NewFiles
- $wgUseNPPatrol – Use new pages patrolling to check for vandalism
- $wgUseRCPatrol – Use RC patrolling to check for vandalism
- $wgUseTagFilter – Allow filtering by change tag in recentchanges, history, etc.
- $wgWatchersMaxAge – Page watchers inactive for more than this many seconds are considered inactive. Used mainly by action=info .
- $wgWatchlistExpiryMaxDuration – Relative maximum duration for watchlist expiries, as accepted by strtotime().
- $wgWatchlistExpiry – Enable the watchlist expiry feature.
- $wgWatchlistPurgeRate – The per-edit rate at which expired watchlist items will be purged from the database.
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
- $wgMaxCredits – Set this to the number of authors that you want to be credited below an article text.
- $wgRightsIcon – Override for copyright metadata.
- $wgRightsPage – Override for copyright metadata.
- $wgRightsText – Override for copyright metadata.
- $wgRightsUrl – Override for copyright metadata.
- $wgShowCreditsIfMax – If there are more than
$wgMaxCredits
authors, show$wgMaxCredits
of them. - $wgUseCopyrightUpload – Set this to true if you want detailed copyright information forms on Upload.
Importeren/Exporteren
- $wgExportAllowAll – Whether to allow exporting the entire wiki into a single file.
- $wgExportAllowHistory – Controls the availability of the full-history feature on "Special:Export".
- $wgExportAllowListContributors – Controls whether to allow to list all contributors while exporting a page using
Special:Export
. - $wgExportFromNamespaces – Whether to allow the "export all pages in namespace" option.
- $wgExportMaxHistory – Requests using "Special:Export" for pages with a revision history higher than set will be rejected.
- $wgExportMaxLinkDepth – Maximum value of the "pagelink-depth" parameter in Special:Export.
- $wgExportPagelistLimit – Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
- $wgImportSources – List of interwiki prefixes for wikis we'll accept as sources for Special:Import
- $wgImportTargetNamespace – Optional default target namespace for interwiki imports.
- $wgXmlDumpSchemaVersion – The schema to use by default when generating XML dumps.
Extensies
- $wgAutoloadAttemptLowercase (verwijderd in 1.40) – Switch controlling legacy case-insensitive classloading.
- $wgAutoloadClasses – Array mapping class names to filenames, for autoloading.
- $wgEnableParserLimitReporting – Controls whether the NewPP parser report is output in a HTML comment.
- $wgExtensionCredits – Global list of extension credits
- $wgExtensionEntryPointListFiles – Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList.php
- $wgExtensionFunctions – A list of callback functions which are called once MediaWiki is fully initialised.
- $wgExtensionMessagesFiles – Extension messages files.
- $wgHooks – Global list of hooks.
- $wgJobBackoffThrottling – Number of times work items of a job type can be run per second.
- $wgJobClasses – Maps jobs to their handling classes.
- $wgJobQueueIncludeInMaxLagFactor – Whether to include the number of jobs that are queued for the API's maxlag parameter.
- $wgJobSerialCommitThreshold (verwijderd in 1.42) – Make job runners commit changes for replica DB-lag prone jobs one job at a time.
- $wgJobTypeConf – Configuration for job storage.
- $wgJobTypesExcludedFromDefaultQueue – Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.
- $wgMessagesDirs – Extension messages directories.
- $wgPagePropLinkInvalidations – Page property link table invalidation lists.
- $wgParserOutputHooks (verwijderd in 1.41) – Parser output hooks.
- $wgServiceWiringFiles – List of service wiring files to be loaded by the default instance of MediaWikiServices.
- $wgSpecialPageCacheUpdates – Additional functions to be performed with updateSpecialPages.php .
- $wgSpecialPages – A list of custom special pages.
- $wgValidSkinNames – List of valid skin names. Skins can optionally use this variable to tell MediaWiki that they are available.
Categorie
- $wgCategoryCollation – What collation categories use to sort with
- $wgCategoryMagicGallery – On category pages, show thumbnail gallery for images belonging to that category instead of listing them as articles.
- $wgCategoryPagingLimit – Paging limit for items in categories.
- $wgUseCategoryBrowser (verwijderd in 1.38) – Enable/Disable experimental breadcrumb (or dmoz-style) category browsing.
- $wgSortedCategories (nieuw in 1.43) – Whether to sort categories in OutputPage for display.
- $wgTempCategoryCollations – Additional category collations to store during LinksUpdate.
- $wgTrackingCategories (verouderd sinds 1.25) – The list of messages representing tracking categories which are listed at Special:TrackingCategories.
Loggen
- $wgActionFilteredLogs – List of log types that can be filtered by action types
- $wgFilterLogTypes – Show/hide links on Special:Log will be shown for these log types.
- $wgLogActionsHandlers – Same as
$wgLogActions
, but values are LogFormatter derived class names. - $wgLogActions – Lists the message key string for formatting individual events of each type and action when listed in the logs.
- $wgLogHeaders – Lists the message key string for descriptive text to be shown at the top of each log type.
- $wgLogNames – Lists the message key string for each log type.
- $wgLogRestrictions – Restricts log access to those who have a certain right.
- $wgLogTypes – List of log types.
- $wgNewUserLog – Whether to maintain a log of newusers, which can be viewed at Special:Log/newusers.
- $wgPageCreationLog – Whether to maintain a log of new page creations, which can be viewed at Special:Log/create.
Speciale pagina's
- $wgAllowSpecialInclusion – Allow special page inclusions such as
{{Special:Allpages}}
. - $wgCountCategorizedImagesAsUsed – On Special:UnusedFiles, consider images "used" if they are put into a category.
- $wgDisableQueryPageUpdate – Array of special pages that should not be updated.
- $wgMaxRedirectLinksRetrieved – Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination
- $wgRangeContributionsCIDRLimit – Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
Acties
- $wgActions – Array of allowed values for the "action" parameter for normal pages.
Robot beleid
- $wgArticleRobotPolicies – Allow customisation of robot policies on a per-page basis.
- $wgDefaultRobotPolicy – Allows specifying the default robot policy for all pages on the wiki
- $wgExemptFromUserRobotsControl – An array of namespace keys in which the
__INDEX__
/__NOINDEX__
magic words will not function. - $wgNamespaceRobotPolicies – Allow customisation of robot policies on a per-namespace basis.
Ajax, Action API en REST API
Ajax
- $wgAjaxEditStash (verwijderd in 1.37) – Whether edits should be prepared via AJAX as users type edit summaries.
- $wgAjaxExportList (verwijderd in 1.38) – List of functions in
AjaxFunctions.php
that are callable viaaction=ajax
- $wgAjaxLicensePreview – Use Ajax to preview licensing for uploads.
- $wgAjaxUploadDestCheck (verwijderd in 1.41) – Enable Ajax check for file overwrite, pre-upload.
- $wgUseAjax (verwijderd in 1.38) – Enable AJAX support.
API
- $wgAllowedCorsHeaders – List of allowed headers for cross-origin API requests.
- $wgAPICacheHelpTimeout – Set the timeout for the API help text cache. Set to 0 to disable caching of API help text.
- $wgAPIFormatModules – API format module extensions.
- $wgAPIListModules – API list module extensions.
- $wgAPIMaxDBRows – Maximum number of rows to scan in API database queries.
- $wgAPIMaxLagThreshold – Maximum amount of DB lag on a majority of DB replica DBs to tolerate before forcing bots to retry any write requests via API errors.
- $wgAPIMaxResultSize – Maximum size (in bytes) of an API result.
- $wgAPIMaxUncachedDiffs – The maximum number of uncached diffs that can be retrieved in one API request.
- $wgAPIMetaModules – API meta module extensions.
- $wgAPIModules – API module extensions.
- $wgAPIPropModules – API prop module extensions.
- $wgAPIRequestLog (verouderd sinds 1.43) – Log file or URL (TCP or UDP) to log API requests to.
- $wgAPIUselessQueryPages – The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
- $wgCrossSiteAJAXdomainExceptions – Domains that should not be allowed to make AJAX requests, even if they match one of the domains allowed by
$wgCrossSiteAJAXdomains
. - $wgCrossSiteAJAXdomains – Domains that may make cross-site Ajax requests to the MediaWiki API.
- $wgDebugAPI – Loosens API security to allow for easier debugging
- $wgEnableRestAPI (verwijderd in 1.36) – Enable the MediaWiki REST API.
- $wgRestAPIAdditionalRouteFiles – Additional REST API Route files.
- $wgRestSandboxSpecs (nieuw in 1.43) – A list of OpenAPI specs to be made available for exploration on Special:RestSandbox.
Shell en procescontrole
- $wgPhpCli – Uitvoerbare naam van PHP cli client (php/php5).
- $wgMaxShellFileSize – Maximum file size created by shell processes under linux, in KiB.
- $wgMaxShellMemory – Maximum amount of virtual memory available to shell processes under Linux, in KiB.
- $wgMaxShellTime – Maximum CPU time in seconds for shell processes under Linux.
- $wgMaxShellWallClockTime – Limit shell commands duration using real time.
- $wgShellboxSecretKey – The secret key for HMAC verification of Shellbox requests.
- $wgShellboxUrl (verwijderd in 1.40) – Shell commands can be run on a remote server using Shellbox.
- $wgShellboxUrls – Shell commands can be run on a remote server using Shellbox .
- $wgShellCgroup – Limit shell commands memory using linux Cgroups.
- $wgShellLocale (verwijderd in 1.38) – Locale for
LC_ALL
. - $wgShellRestrictionMethod – Method to use to restrict shell commands
HTTP client
- $wgAllowExternalReqID – controls whether MediaWiki accepts the request ID set by the incoming request via the "X-Request-Id" header.
- $wgAsyncHTTPTimeout – Timeout for asynchronous HTTP requests.
- $wgHTTPConnectTimeout – Timeout for connections done internally (in seconds)
- $wgHTTPMaxTimeout – The maximum HTTP request timeout in seconds.
- $wgHTTPMaxConnectTimeout – The maximum HTTP connect timeout in seconds.
- $wgHTTPImportTimeout – Timeout for HTTP requests done internally for transwiki imports, in seconds.
- $wgHTTPProxy – Proxy to use for cURL requests
- $wgHTTPTimeout – Timeout for HTTP requests done via cURL.
- $wgLocalHTTPProxy – Reverse proxy to use for requests to domains in $wgLocalVirtualHosts
- $wgLocalVirtualHosts – Local virtual hosts.
Jobs
- $wgJobRunRate – Number of jobs to perform per request.
- $wgRunJobsAsync – Controls whether on-request jobs are run asynchronously or synchronously.
- $wgUpdateRowsPerJob – Number of rows to update per job.
- $wgUpdateRowsPerQuery – Number of rows to update per query.
Wiki farm
- $wgWikiFarmSettingsDirectory – A directory that contains site-specific configuration files.
- $wgWikiFarmSettingsExtension – The file extension to be used when looking up site-specific settings files in $wgWikiFarmSettingsDirectory , such as
'json'
or'yaml'
. - $wgWikiFarmSiteDetector (verwijderd in 1.39) – Callback to use to determine the name of the requested site for the current request.
Overige instellingen
- $wgActorTableSchemaMigrationStage (verwijderd in 1.39) –
actor
tabel schema migratie fase. - $wgContentHandlerUseDB (verwijderd in 1.35) – Of de door de ContentHandler-faciliteit ingevoerde databasevelden moeten worden gebruikt
- $wgEditRecoveryExpiry (nieuw in 1.42) – Number of seconds to keep Edit Recovery data after the edit is stored.
- $wgElementTiming (verwijderd in 1.39) – Enable Element Timing.
- $wgEnableEditRecovery (nieuw in 1.41) – Whether to enable the client-side Edit Recovery feature.
- $wgEnableProtectionIndicators (nieuw in 1.43) – Whether to show indicators on a page when it is protected.
- $wgEventRelayerConfig – Mapping of event channels (or channel categories) to EventRelayer configuration.
- $wgFeaturePolicyReportOnly – List of Feature Policy Reporting types to enable.
- $wgOutputPipelineStages (nieuw in 1.43) – OutputPipelineStages to add to the DefaultOutputPipeline.
- $wgOriginTrials – Origin Trials tokens.
- $wgPagePropsHaveSortkey (verwijderd in 1.36) – Défini à false si la table
page_props
n’a pas de colonnepp_sortkey
- $wgPingback – Indien true zal MediaWiki van tijd tot tijd gegevens over de installatie rapporteren om ontwikkelaars te helpen.
- $wgPopularPasswordFile (verwijderd in 1.35) – Where popular password file is located.
- $wgPriorityHintsRatio (verwijderd in 1.39) – Ratio of requests that should get Priority Hints when the feature is enabled.
- $wgPriorityHints (verwijderd in 1.39) – Enable client-side Priority Hints.
- $wgRedirectOnLogin – Redirect users to page on login
- $wgReportToEndpoints – Lijst van endpoints voor de Reporting API.
- $wgReportToExpiry – Verlopen van de endpoint definitie van de Reporting API.
- $wgShowDiffToggleSwitch (nieuw in 1.41) (verouderd sinds 1.41) – Specifies if users should see the inline switch in diff pages.
- $wgShowLogoutConfirmation (nieuw in 1.42) – Whether to display a confirmation screen during user log out.
- $wgSkinsPreferred – List of preferred skins to be listed higher in Special:Preferences
- $wgSpecialContributeSkinsDisabled (nieuw in 1.40) (verwijderd in 1.40) – List of skins to not show the Special:Contribute page
- $wgSpecialContributeSkinsEnabled (nieuw in 1.40) – List of skins that show a link to the Special:Contribute page
- $wgTranslationAliasesDirs (nieuw in 1.42) – Message directories containing JSON files for localisation of special page aliases.
- $wgUseCodexSpecialBlock (nieuw in 1.42) – Whether to use Codex in Special:Block form.
- $wgVirtualRestConfig – REST services configuration
- $wgWikiDiff2MovedParagraphDetectionCutoff (verouderd sinds 1.34) – This setting controls the maximum number of paragraphs to compare before it bails out.
Zie ook
- Manual:Configuration for developers - het instellen en ophalen van configuratie variabelen.
- Instellingen extensie - het registeren van nieuwe configuratie variabelen voor extensies en skins.