Manual:Global object variables/zh

在程序启动的时候会初始化几百个全局的变量. 这些全局变量主要是用来配置自定义设置的，并且这些变量都在和中设置. （参考） 这里列举的全部变量并不全，但是覆盖了大部分的变量. 他们基本都在和中初始化.



全局变量

 * - MediaWiki object, the main base class for the MediaWiki software. Initializes the  and   objects, and executes the URL actions.
 * - Article object corresponding to.
 * - Language object associated with the wiki being viewed.
 * - Language object selected by user preferences.
 * - LoadBalancer object, manages database connections.
 * - Message cache to manage interface messages.
 * - OutputPage object for HTTP response.
 * - Parser object. Parser extensions register their hooks here.
 * - WebRequest object, to get request data.
 * - Title object created from the request URL.  This variable should be avoided when possible, more sane title objects are usually available.
 * - User object for the user associated with the current request.

