Manual:Global object variables/ru

Сотни глобальных переменных создается при установки MediaWiki. The majority of these global variables are configuration settings that are set in and. (See Manual:Configuration settings for documentation on these variables.) There is no comprehensive documentation for the remaining few hundred globals, however some of the most important ones are listed below. They are typically initialized either in or in.

Global variables

 * - 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. This variable doesn't exist anymore in 1.13
 * - 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.