Manual:Global object variables

From MediaWiki.org
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎日本語

Hundreds of globals are initialized on startup by MediaWiki. The majority of these global variables are configuration settings that are set in DefaultSettings.phpManual:DefaultSettings.php and LocalSettings.phpManual:LocalSettings.php. (See Manual:Configuration settings for documentation on these variables.) There is no comprehensive documentation for the remaining few hundred globals, however, some of the most important ones are listed below. They are typically initialized either in index.phpManual:Index.php or in Setup.phpManual:Code#Setup.php.

Global variables[edit]

See also[edit]