Translations:Manual:RequestContext.php/2/ru

RequestContext или IContextSource предоставляет следующие методы доступа:
 * WebRequest для извлечения переменных запроса.
 * Заголовок для выводимой страницы.
 * a OutputPage tied to the RequestContext for sending page output to.
 * the Skin class instance being used to render the page.
 * the instance of User for the user the page is rendered for.
 * (added in 1.19 to replace the now deprecated ) the Language instance of the user language the page is rendered in.
 * (added in 1.19) the WikiPage being outputted (but see below).
 * (added in 1.19) checks whether  can be called, or it will throw an exception.
 * returns a Message object with context set to the context being called. It has the same parameters as wfMessage.
 * (added in 1.23) the main Config object