__construct(Config $config, PermissionManager $permissionManager, RevisionLookup $revisionLookup, TitleFormatter $titleFormatter, TitleFactory $titleFactory, ParserCacheFactory $parserCacheFactory, WikiPageFactory $wikiPageFactory, GlobalIdGenerator $globalIdGenerator)
Group all the pieces relevant to the context of a request into one instance @newable.
static getMain()
Get the RequestContext object associated with the main request.