手册:$wgCommandLineMode

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

Other languages:
English • ‎español • ‎magyar • ‎polski • ‎português do Brasil • ‎中文 • ‎日本語
维护脚本设置: $wgCommandLineMode
指示MediaWiki是否运行在命令行模式下。不应被人工设置!
引进版本:1.3.0
移除版本:仍在使用
允许的值:(boolean)
默认值:自动计算

细节

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.

警告 警告: 该设置不应被手动设置,因为其可能会对MediaWiki工作产生不良影响。