45 use Psr\Log\LoggerInterface;
243 $page = $this->wikiPageFactory->newFromTitle( $page );
273 $derivedPageDataUpdater,
274 $this->loadbalancerFactory->getMainLB(),
275 $this->revisionStore,
276 $this->slotRoleRegistry,
277 $this->contentHandlerFactory,
278 $this->hookContainer,
279 $this->userEditTracker,
280 $this->userGroupManager,
281 $this->titleFormatter,
292 $pageUpdater->setUseAutomaticEditSummaries(
310 $this->revisionStore,
311 $this->revisionRenderer,
312 $this->slotRoleRegistry,
314 $this->jobQueueGroup,
317 $this->loadbalancerFactory,
318 $this->contentHandlerFactory,
319 $this->hookContainer,
320 $this->editResultCache,
321 $this->userNameUtils,
322 $this->contentTransformer,
323 $this->pageEditStash,
324 $this->talkPageNotificationManager,
325 $this->mainWANObjectCache,
326 $this->permissionManager
329 $derivedDataUpdater->
setLogger( $this->logger );
330 $derivedDataUpdater->setArticleCountMethod(
331 $this->options->get( MainConfigNames::ArticleCountMethod ) );
332 $derivedDataUpdater->setRcWatchCategoryMembership(
333 $this->options->get( MainConfigNames::RCWatchCategoryMembership )
336 return $derivedDataUpdater;
Class to handle enqueueing of background jobs.
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...
A service to transform content.
A class containing constants representing the names of configuration variables.
const UseRCPatrol
Name constant for the UseRCPatrol setting, for use with Config::get()
const ArticleCountMethod
Name constant for the ArticleCountMethod setting, for use with Config::get()
const ManualRevertSearchRadius
Name constant for the ManualRevertSearchRadius setting, for use with Config::get()
const PageCreationLog
Name constant for the PageCreationLog setting, for use with Config::get()
const RCWatchCategoryMembership
Name constant for the RCWatchCategoryMembership setting, for use with Config::get()
const UseAutomaticEditSummaries
Name constant for the UseAutomaticEditSummaries setting, for use with Config::get()
Service for creating WikiPage objects.
A handle for managing updates for derived page data on edit, import, purge, etc.
setLogger(LoggerInterface $logger)
Manage the pre-emptive page parsing for edits to wiki pages.
A factory for PageUpdater instances.
HookContainer $hookContainer
RevisionRenderer $revisionRenderer
UserEditTracker $userEditTracker
MessageCache $messageCache
EditResultCache $editResultCache
UserGroupManager $userGroupManager
TitleFormatter $titleFormatter
ILBFactory $loadbalancerFactory
IContentHandlerFactory $contentHandlerFactory
ContentTransformer $contentTransformer
UserNameUtils $userNameUtils
RevisionStore $revisionStore
WANObjectCache $mainWANObjectCache
newDerivedPageDataUpdater(WikiPage $page)
newPageUpdaterForDerivedPageDataUpdater(WikiPage $page, UserIdentity $user, DerivedPageDataUpdater $derivedPageDataUpdater)
Return a PageUpdater for building an update to a page, reusing the state of an existing DerivedPageDa...
newPageUpdater(PageIdentity $page, UserIdentity $user)
Return a PageUpdater for building an update to a page.
SlotRoleRegistry $slotRoleRegistry
WikiPageFactory $wikiPageFactory
TalkPageNotificationManager $talkPageNotificationManager
const CONSTRUCTOR_OPTIONS
Options that have to be present in the ServiceOptions object passed to the constructor.
PermissionManager $permissionManager
PageEditStash $pageEditStash
JobQueueGroup $jobQueueGroup
__construct(RevisionStore $revisionStore, RevisionRenderer $revisionRenderer, SlotRoleRegistry $slotRoleRegistry, ParserCache $parserCache, JobQueueGroup $jobQueueGroup, MessageCache $messageCache, Language $contLang, ILBFactory $loadbalancerFactory, IContentHandlerFactory $contentHandlerFactory, HookContainer $hookContainer, EditResultCache $editResultCache, UserNameUtils $userNameUtils, LoggerInterface $logger, ServiceOptions $options, UserEditTracker $userEditTracker, UserGroupManager $userGroupManager, TitleFormatter $titleFormatter, ContentTransformer $contentTransformer, PageEditStash $pageEditStash, TalkPageNotificationManager $talkPageNotificationManager, WANObjectCache $mainWANObjectCache, PermissionManager $permissionManager, WikiPageFactory $wikiPageFactory, array $softwareTags)
Controller-like object for creating and updating pages by creating new revisions.
setUsePageCreationLog( $use)
Whether to create a log entry for new page creations.
Manages user talk page notifications.
Cache of messages that are defined by MediaWiki namespace pages or by hooks.
Cache for ParserOutput objects corresponding to the latest page revisions.
Multi-datacenter aware caching interface.
Base representation for an editable wiki page.
Interface for objects (potentially) representing an editable wiki page.