Manual:$wgLegacyJavaScriptGlobals/zh

详情
Whether or not to assign configuration variables to the global window object.

If this is set to false, old code using deprecated variables like:

或：

will no longer work and needs to use mw.config instead. For example:

或：