MediaWiki REL1_40
|
A factory for PageUpdater and DerivedPageDataUpdater 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 and DerivedPageDataUpdater instances.
Definition at line 56 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 175 of file PageUpdaterFactory.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\Storage\PageUpdaterFactory::newDerivedPageDataUpdater | ( | WikiPage | $page | ) |
WikiPage | $page |
Definition at line 313 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 245 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 271 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 63 of file PageUpdaterFactory.php.