MediaWiki master
|
A factory for PageUpdater and DerivedPageDataUpdater instances. More...
Public Member Functions | |
__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) | |
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 54 of file PageUpdaterFactory.php.
MediaWiki\Storage\PageUpdaterFactory::__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 ) |
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 | |
string[] | $softwareTags |
Definition at line 169 of file PageUpdaterFactory.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\Storage\PageUpdaterFactory::newDerivedPageDataUpdater | ( | PageIdentity | $page | ) |
PageIdentity | $page |
Definition at line 304 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 237 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 261 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 61 of file PageUpdaterFactory.php.