MediaWiki  master
Page\PageCommandFactory Class Reference

Implementation of various page action services. More...

Inheritance diagram for Page\PageCommandFactory:
Collaboration diagram for Page\PageCommandFactory:

Public Member Functions

 __construct (Config $config, LBFactory $lbFactory, NamespaceInfo $namespaceInfo, WatchedItemStoreInterface $watchedItemStore, RepoGroup $repoGroup, ReadOnlyMode $readOnlyMode, IContentHandlerFactory $contentHandlerFactory, RevisionStore $revisionStore, SpamChecker $spamChecker, TitleFormatter $titleFormatter, HookContainer $hookContainer, WikiPageFactory $wikiPageFactory, UserFactory $userFactory, ActorMigration $actorMigration, ActorNormalization $actorNormalization, TitleFactory $titleFactory, UserEditTracker $userEditTracker, CollationFactory $collationFactory, JobQueueGroup $jobQueueGroup, CommentStore $commentStore, BagOStuff $mainStash, string $localWikiID, string $webRequestID, BacklinkCacheFactory $backlinkCacheFactory, LoggerInterface $undeletePageLogger, PageUpdaterFactory $pageUpdaterFactory, ITextFormatter $contLangMsgTextFormatter, ArchivedRevisionLookup $archivedRevisionLookup, RestrictionStore $restrictionStore)
 
 newContentModelChange (Authority $performer, WikiPage $wikipage, string $newContentModel)
 
 newDeletePage (ProperPageIdentity $page, Authority $deleter)
 
Parameters
ProperPageIdentity$page
Authority$deleter
Returns
DeletePage
More...
 
 newMergeHistory (PageIdentity $source, PageIdentity $destination, string $timestamp=null)
 
 newMovePage (Title $from, Title $to)
 
 newRollbackPage (PageIdentity $page, Authority $performer, UserIdentity $byUser)
 Create a new command instance for page rollback. More...
 
 newUndeletePage (ProperPageIdentity $page, Authority $authority)
 
Parameters
ProperPageIdentity$page
Authority$authority
Returns
UndeletePage
More...
 

Private Attributes

ActorMigration $actorMigration
 
ActorNormalization $actorNormalization
 
ArchivedRevisionLookup $archivedRevisionLookup
 
BacklinkCacheFactory $backlinkCacheFactory
 
CollationFactory $collationFactory
 
CommentStore $commentStore
 
Config $config
 
IContentHandlerFactory $contentHandlerFactory
 
ITextFormatter $contLangMsgTextFormatter
 
HookContainer $hookContainer
 
JobQueueGroup $jobQueueGroup
 
LBFactory $lbFactory
 
string $localWikiID
 
BagOStuff $mainStash
 
NamespaceInfo $namespaceInfo
 
PageUpdaterFactory $pageUpdaterFactory
 
ReadOnlyMode $readOnlyMode
 
RepoGroup $repoGroup
 
RestrictionStore $restrictionStore
 
RevisionStore $revisionStore
 
SpamChecker $spamChecker
 
TitleFactory $titleFactory
 
TitleFormatter $titleFormatter
 
LoggerInterface $undeletePageLogger
 
UserEditTracker $userEditTracker
 
UserFactory $userFactory
 
WatchedItemStoreInterface $watchedItemStore
 
string $webRequestID
 
WikiPageFactory $wikiPageFactory
 

Detailed Description

Implementation of various page action services.

Access: internal

Definition at line 64 of file PageCommandFactory.php.

Constructor & Destructor Documentation

◆ __construct()

Page\PageCommandFactory::__construct ( Config  $config,
LBFactory  $lbFactory,
NamespaceInfo  $namespaceInfo,
WatchedItemStoreInterface  $watchedItemStore,
RepoGroup  $repoGroup,
ReadOnlyMode  $readOnlyMode,
IContentHandlerFactory  $contentHandlerFactory,
RevisionStore  $revisionStore,
SpamChecker  $spamChecker,
TitleFormatter  $titleFormatter,
HookContainer  $hookContainer,
WikiPageFactory  $wikiPageFactory,
UserFactory  $userFactory,
ActorMigration  $actorMigration,
ActorNormalization  $actorNormalization,
TitleFactory  $titleFactory,
UserEditTracker  $userEditTracker,
CollationFactory  $collationFactory,
JobQueueGroup  $jobQueueGroup,
CommentStore  $commentStore,
BagOStuff  $mainStash,
string  $localWikiID,
string  $webRequestID,
BacklinkCacheFactory  $backlinkCacheFactory,
LoggerInterface  $undeletePageLogger,
PageUpdaterFactory  $pageUpdaterFactory,
ITextFormatter  $contLangMsgTextFormatter,
ArchivedRevisionLookup  $archivedRevisionLookup,
RestrictionStore  $restrictionStore 
)

Member Function Documentation

◆ newContentModelChange()

Page\PageCommandFactory::newContentModelChange ( Authority  $performer,
WikiPage  $wikipage,
string  $newContentModel 
)
Parameters
Authority$performer
WikiPage$wikipage
string$newContentModel
Returns
ContentModelChange

Implements Page\ContentModelChangeFactory.

Definition at line 228 of file PageCommandFactory.php.

◆ newDeletePage()

Page\PageCommandFactory::newDeletePage ( ProperPageIdentity  $page,
Authority  $deleter 
)

Parameters
ProperPageIdentity$page
Authority$deleter
Returns
DeletePage

Implements Page\DeletePageFactory.

Definition at line 247 of file PageCommandFactory.php.

◆ newMergeHistory()

Page\PageCommandFactory::newMergeHistory ( PageIdentity  $source,
PageIdentity  $destination,
string  $timestamp = null 
)
Parameters
PageIdentity$source
PageIdentity$destination
string | null$timestamp
Returns
MergeHistory

Implements Page\MergeHistoryFactory.

Definition at line 274 of file PageCommandFactory.php.

◆ newMovePage()

Page\PageCommandFactory::newMovePage ( Title  $from,
Title  $to 
)
Parameters
Title$from
Title$to
Returns
MovePage

Implements Page\MovePageFactory.

Definition at line 300 of file PageCommandFactory.php.

◆ newRollbackPage()

Page\PageCommandFactory::newRollbackPage ( PageIdentity  $page,
Authority  $performer,
UserIdentity  $byUser 
)

Create a new command instance for page rollback.

Parameters
PageIdentity$page
Authority$performer
UserIdentity$byUser
Returns
RollbackPage

Implements Page\RollbackPageFactory.

Definition at line 331 of file PageCommandFactory.php.

◆ newUndeletePage()

Page\PageCommandFactory::newUndeletePage ( ProperPageIdentity  $page,
Authority  $authority 
)

Parameters
ProperPageIdentity$page
Authority$authority
Returns
UndeletePage

Implements Page\UndeletePageFactory.

Definition at line 356 of file PageCommandFactory.php.

Member Data Documentation

◆ $actorMigration

ActorMigration Page\PageCommandFactory::$actorMigration
private

Definition at line 113 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $actorNormalization

ActorNormalization Page\PageCommandFactory::$actorNormalization
private

Definition at line 116 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $archivedRevisionLookup

ArchivedRevisionLookup Page\PageCommandFactory::$archivedRevisionLookup
private

Definition at line 155 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $backlinkCacheFactory

BacklinkCacheFactory Page\PageCommandFactory::$backlinkCacheFactory
private

Definition at line 143 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $collationFactory

CollationFactory Page\PageCommandFactory::$collationFactory
private

Definition at line 125 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $commentStore

CommentStore Page\PageCommandFactory::$commentStore
private

Definition at line 131 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $config

Config Page\PageCommandFactory::$config
private

Definition at line 74 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $contentHandlerFactory

IContentHandlerFactory Page\PageCommandFactory::$contentHandlerFactory
private

Definition at line 92 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $contLangMsgTextFormatter

ITextFormatter Page\PageCommandFactory::$contLangMsgTextFormatter
private

Definition at line 152 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $hookContainer

HookContainer Page\PageCommandFactory::$hookContainer
private

Definition at line 104 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $jobQueueGroup

JobQueueGroup Page\PageCommandFactory::$jobQueueGroup
private

Definition at line 128 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $lbFactory

LBFactory Page\PageCommandFactory::$lbFactory
private

Definition at line 77 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $localWikiID

string Page\PageCommandFactory::$localWikiID
private

Definition at line 137 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $mainStash

BagOStuff Page\PageCommandFactory::$mainStash
private

Definition at line 134 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $namespaceInfo

NamespaceInfo Page\PageCommandFactory::$namespaceInfo
private

Definition at line 80 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $pageUpdaterFactory

PageUpdaterFactory Page\PageCommandFactory::$pageUpdaterFactory
private

Definition at line 149 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $readOnlyMode

ReadOnlyMode Page\PageCommandFactory::$readOnlyMode
private

Definition at line 89 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $repoGroup

RepoGroup Page\PageCommandFactory::$repoGroup
private

Definition at line 86 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $restrictionStore

RestrictionStore Page\PageCommandFactory::$restrictionStore
private

Definition at line 158 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $revisionStore

RevisionStore Page\PageCommandFactory::$revisionStore
private

Definition at line 95 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $spamChecker

SpamChecker Page\PageCommandFactory::$spamChecker
private

Definition at line 98 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $titleFactory

TitleFactory Page\PageCommandFactory::$titleFactory
private

Definition at line 119 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $titleFormatter

TitleFormatter Page\PageCommandFactory::$titleFormatter
private

Definition at line 101 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $undeletePageLogger

LoggerInterface Page\PageCommandFactory::$undeletePageLogger
private

Definition at line 146 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $userEditTracker

UserEditTracker Page\PageCommandFactory::$userEditTracker
private

Definition at line 122 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $userFactory

UserFactory Page\PageCommandFactory::$userFactory
private

Definition at line 110 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $watchedItemStore

WatchedItemStoreInterface Page\PageCommandFactory::$watchedItemStore
private

Definition at line 83 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $webRequestID

string Page\PageCommandFactory::$webRequestID
private

Definition at line 140 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().

◆ $wikiPageFactory

WikiPageFactory Page\PageCommandFactory::$wikiPageFactory
private

Definition at line 107 of file PageCommandFactory.php.

Referenced by Page\PageCommandFactory\__construct().


The documentation for this class was generated from the following file: