MediaWiki REL1_39
|
Implementation of various page action services. More...
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) | |||||||
| |||||||
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. | |||||||
newUndeletePage (ProperPageIdentity $page, Authority $authority) | |||||||
| |||||||
Implementation of various page action services.
Definition at line 64 of file PageCommandFactory.php.
MediaWiki\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 ) |
Definition at line 160 of file PageCommandFactory.php.
MediaWiki\Page\PageCommandFactory::newContentModelChange | ( | Authority | $performer, |
WikiPage | $wikipage, | ||
string | $newContentModel ) |
Authority | $performer | |
WikiPage | $wikipage | |
string | $newContentModel |
Implements MediaWiki\Page\ContentModelChangeFactory.
Definition at line 228 of file PageCommandFactory.php.
MediaWiki\Page\PageCommandFactory::newDeletePage | ( | ProperPageIdentity | $page, |
Authority | $deleter ) |
ProperPageIdentity | $page | |
Authority | $deleter |
Implements MediaWiki\Page\DeletePageFactory.
Definition at line 247 of file PageCommandFactory.php.
MediaWiki\Page\PageCommandFactory::newMergeHistory | ( | PageIdentity | $source, |
PageIdentity | $destination, | ||
string | $timestamp = null ) |
PageIdentity | $source | |
PageIdentity | $destination | |
string | null | $timestamp |
Implements MediaWiki\Page\MergeHistoryFactory.
Definition at line 274 of file PageCommandFactory.php.
Implements MediaWiki\Page\MovePageFactory.
Definition at line 300 of file PageCommandFactory.php.
MediaWiki\Page\PageCommandFactory::newRollbackPage | ( | PageIdentity | $page, |
Authority | $performer, | ||
UserIdentity | $byUser ) |
Create a new command instance for page rollback.
PageIdentity | $page | |
Authority | $performer | |
UserIdentity | $byUser |
Implements MediaWiki\Page\RollbackPageFactory.
Definition at line 331 of file PageCommandFactory.php.
MediaWiki\Page\PageCommandFactory::newUndeletePage | ( | ProperPageIdentity | $page, |
Authority | $authority ) |
ProperPageIdentity | $page | |
Authority | $authority |
Implements MediaWiki\Page\UndeletePageFactory.
Definition at line 356 of file PageCommandFactory.php.