Manual:$wgCommandLineMode

From Linux Web Expert

<translate> Maintenance scripts setting</translate>: $wgCommandLineMode
Indicates whether MW is running in command-line mode. Should never be set manually!
<translate> Introduced in version:</translate>1.3.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>Automatically calculated

Details

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.

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> This setting should never be set manually, as it can mess with the way MediaWiki works.