Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCommandLineMode and the translation is 14% complete.

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎中文 • ‎日本語
Vedligeholdelsesscripts indstillinger: $wgCommandLineMode
Indicates whether MW is running in command-line mode. Should never be set manually!
Introduced in version:1.3.0
Removed in version:still in use
Allowed values:(boolean)
Default value:Automatically calculated
Other settings: Alphabetical | By function


This flag is automatically set to false in DefaultSettings.php if it has not already been set by this time. It is set to true in certain maintenance scripts that may be run from the command line.

Advarsel Advarsel: This setting should never be set manually, as it can mess with the way MediaWiki works.