MediaWiki REL1_39
|
A factory for PageUpdater instances. More...
Public Member Functions | |
__construct (RevisionStore $revisionStore, RevisionRenderer $revisionRenderer, SlotRoleRegistry $slotRoleRegistry, ParserCache $parserCache, ParsoidOutputAccess $parsoidOutputAccess, 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 (WikiPage $page) | |
newPageUpdater (PageIdentity $page, UserIdentity $user) | |
Return a PageUpdater for building an update to a page. | |
newPageUpdaterForDerivedPageDataUpdater (WikiPage $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 instances.
Definition at line 58 of file PageUpdaterFactory.php.
MediaWiki\Storage\PageUpdaterFactory::__construct | ( | RevisionStore | $revisionStore, |
RevisionRenderer | $revisionRenderer, | ||
SlotRoleRegistry | $slotRoleRegistry, | ||
ParserCache | $parserCache, | ||
ParsoidOutputAccess | $parsoidOutputAccess, | ||
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 | |
ParsoidOutputAccess | $parsoidOutputAccess | |
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 177 of file PageUpdaterFactory.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\Storage\PageUpdaterFactory::newDerivedPageDataUpdater | ( | WikiPage | $page | ) |
WikiPage | $page |
Definition at line 315 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 247 of file PageUpdaterFactory.php.
MediaWiki\Storage\PageUpdaterFactory::newPageUpdaterForDerivedPageDataUpdater | ( | WikiPage | $page, |
UserIdentity | $user, | ||
DerivedPageDataUpdater | $derivedPageDataUpdater ) |
Return a PageUpdater for building an update to a page, reusing the state of an existing DerivedPageDataUpdater.
WikiPage | $page | |
UserIdentity | $user | |
DerivedPageDataUpdater | $derivedPageDataUpdater |
Definition at line 273 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 65 of file PageUpdaterFactory.php.