|
MediaWiki master
|
A factory for PageUpdater and DerivedPageDataUpdater instances. More...
Public Member Functions | |
| __construct (private readonly RevisionStore $revisionStore, private readonly RevisionRenderer $revisionRenderer, private readonly SlotRoleRegistry $slotRoleRegistry, private readonly ParserCache $parserCache, private readonly JobQueueGroup $jobQueueGroup, private readonly Language $contLang, private readonly ILBFactory $loadbalancerFactory, private readonly IContentHandlerFactory $contentHandlerFactory, private readonly DomainEventDispatcher $eventDispatcher, private readonly HookContainer $hookContainer, private readonly EditResultCache $editResultCache, private readonly LoggerInterface $logger, private readonly ServiceOptions $options, private readonly UserGroupManager $userGroupManager, private readonly TitleFormatter $titleFormatter, private readonly ContentTransformer $contentTransformer, private readonly PageEditStash $pageEditStash, private readonly WANObjectCache $mainWANObjectCache, private readonly WikiPageFactory $wikiPageFactory, private readonly ChangeTagsStore $changeTagsStore, private readonly array $softwareTags,) | |
| newDerivedPageDataUpdater (PageIdentity $page) | |
| newPageUpdater (PageIdentity $page, UserIdentity $user) | |
| Return a PageUpdater for building an update to a page. | |
| newPageUpdaterForDerivedPageDataUpdater (PageIdentity $page, UserIdentity $user, DerivedPageDataUpdater $derivedPageDataUpdater) | |
| Return a PageUpdater for building an update to a page, reusing the state of an existing DerivedPageDataUpdater. | |
Public Attributes | |
| const | CONSTRUCTOR_OPTIONS |
| Options that have to be present in the ServiceOptions object passed to the constructor. | |
A factory for PageUpdater and DerivedPageDataUpdater instances.
Definition at line 37 of file PageUpdaterFactory.php.
| MediaWiki\Storage\PageUpdaterFactory::__construct | ( | private readonly RevisionStore | $revisionStore, |
| private readonly RevisionRenderer | $revisionRenderer, | ||
| private readonly SlotRoleRegistry | $slotRoleRegistry, | ||
| private readonly ParserCache | $parserCache, | ||
| private readonly JobQueueGroup | $jobQueueGroup, | ||
| private readonly Language | $contLang, | ||
| private readonly ILBFactory | $loadbalancerFactory, | ||
| private readonly IContentHandlerFactory | $contentHandlerFactory, | ||
| private readonly DomainEventDispatcher | $eventDispatcher, | ||
| private readonly HookContainer | $hookContainer, | ||
| private readonly EditResultCache | $editResultCache, | ||
| private readonly LoggerInterface | $logger, | ||
| private readonly ServiceOptions | $options, | ||
| private readonly UserGroupManager | $userGroupManager, | ||
| private readonly TitleFormatter | $titleFormatter, | ||
| private readonly ContentTransformer | $contentTransformer, | ||
| private readonly PageEditStash | $pageEditStash, | ||
| private readonly WANObjectCache | $mainWANObjectCache, | ||
| private readonly WikiPageFactory | $wikiPageFactory, | ||
| private readonly ChangeTagsStore | $changeTagsStore, | ||
| private readonly array | $softwareTags ) |
| RevisionStore | $revisionStore | |
| RevisionRenderer | $revisionRenderer | |
| SlotRoleRegistry | $slotRoleRegistry | |
| ParserCache | $parserCache | |
| JobQueueGroup | $jobQueueGroup | |
| Language | $contLang | |
| ILBFactory | $loadbalancerFactory | |
| IContentHandlerFactory | $contentHandlerFactory | |
| DomainEventDispatcher | $eventDispatcher | |
| HookContainer | $hookContainer | |
| EditResultCache | $editResultCache | |
| LoggerInterface | $logger | |
| ServiceOptions | $options | |
| UserGroupManager | $userGroupManager | |
| TitleFormatter | $titleFormatter | |
| ContentTransformer | $contentTransformer | |
| PageEditStash | $pageEditStash | |
| WANObjectCache | $mainWANObjectCache | |
| WikiPageFactory | $wikiPageFactory | |
| ChangeTagsStore | $changeTagsStore | |
| string[] | $softwareTags |
Definition at line 78 of file PageUpdaterFactory.php.
| MediaWiki\Storage\PageUpdaterFactory::newDerivedPageDataUpdater | ( | PageIdentity | $page | ) |
| PageIdentity | $page |
Definition at line 189 of file PageUpdaterFactory.php.
| MediaWiki\Storage\PageUpdaterFactory::newPageUpdater | ( | PageIdentity | $page, |
| UserIdentity | $user ) |
Return a PageUpdater for building an update to a page.
| PageIdentity | $page | |
| UserIdentity | $user |
Definition at line 118 of file PageUpdaterFactory.php.
| MediaWiki\Storage\PageUpdaterFactory::newPageUpdaterForDerivedPageDataUpdater | ( | PageIdentity | $page, |
| UserIdentity | $user, | ||
| DerivedPageDataUpdater | $derivedPageDataUpdater ) |
Return a PageUpdater for building an update to a page, reusing the state of an existing DerivedPageDataUpdater.
| PageIdentity | $page | |
| UserIdentity | $user | |
| DerivedPageDataUpdater | $derivedPageDataUpdater |
Definition at line 142 of file PageUpdaterFactory.php.
| const MediaWiki\Storage\PageUpdaterFactory::CONSTRUCTOR_OPTIONS |
Options that have to be present in the ServiceOptions object passed to the constructor.
Definition at line 44 of file PageUpdaterFactory.php.