Manual:$wgColorErrors/zh

细节
If true, some error messages will be colorized when running scripts on the command line; this can aid picking important things out when debugging. Ignored when running on Windows or when output is redirected to a file.