MediaWiki REL1_37
|
Common factory to construct page handling classes. 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 $dbReplicatedCache, string $localWikiID, string $webRequestID, BacklinkCacheFactory $backlinkCacheFactory) | |||||||
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. | |||||||
Common factory to construct page handling classes.
Definition at line 60 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 | $dbReplicatedCache, | ||
string | $localWikiID, | ||
string | $webRequestID, | ||
BacklinkCacheFactory | $backlinkCacheFactory | ||
) |
Definition at line 140 of file PageCommandFactory.php.
References MediaWiki\Page\PageCommandFactory\$actorMigration, MediaWiki\Page\PageCommandFactory\$actorNormalization, MediaWiki\Page\PageCommandFactory\$backlinkCacheFactory, MediaWiki\Page\PageCommandFactory\$collationFactory, MediaWiki\Page\PageCommandFactory\$commentStore, MediaWiki\Page\PageCommandFactory\$config, MediaWiki\Page\PageCommandFactory\$contentHandlerFactory, MediaWiki\Page\PageCommandFactory\$dbReplicatedCache, MediaWiki\Page\PageCommandFactory\$hookContainer, MediaWiki\Page\PageCommandFactory\$jobQueueGroup, MediaWiki\Page\PageCommandFactory\$lbFactory, MediaWiki\Page\PageCommandFactory\$localWikiID, MediaWiki\Page\PageCommandFactory\$namespaceInfo, MediaWiki\Page\PageCommandFactory\$readOnlyMode, MediaWiki\Page\PageCommandFactory\$repoGroup, MediaWiki\Page\PageCommandFactory\$revisionStore, MediaWiki\Page\PageCommandFactory\$spamChecker, MediaWiki\Page\PageCommandFactory\$titleFactory, MediaWiki\Page\PageCommandFactory\$titleFormatter, MediaWiki\Page\PageCommandFactory\$userEditTracker, MediaWiki\Page\PageCommandFactory\$userFactory, MediaWiki\Page\PageCommandFactory\$watchedItemStore, MediaWiki\Page\PageCommandFactory\$webRequestID, and MediaWiki\Page\PageCommandFactory\$wikiPageFactory.
MediaWiki\Page\PageCommandFactory::newContentModelChange | ( | Authority | $performer, |
WikiPage | $wikipage, | ||
string | $newContentModel | ||
) |
Authority | $performer | |
WikiPage | $wikipage | |
string | $newContentModel |
Implements MediaWiki\Page\ContentModelChangeFactory.
Definition at line 198 of file PageCommandFactory.php.
MediaWiki\Page\PageCommandFactory::newDeletePage | ( | ProperPageIdentity | $page, |
Authority | $deleter | ||
) |
ProperPageIdentity | $page | |
Authority | $deleter |
Implements MediaWiki\Page\DeletePageFactory.
Definition at line 217 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 242 of file PageCommandFactory.php.
Implements MediaWiki\Page\MovePageFactory.
Definition at line 268 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 297 of file PageCommandFactory.php.
|
private |
Definition at line 108 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 111 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 138 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 120 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 126 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 69 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 87 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 129 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 99 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 123 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 72 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 132 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 75 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 84 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 81 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 90 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 93 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 114 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 96 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 117 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 105 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 78 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 135 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().
|
private |
Definition at line 102 of file PageCommandFactory.php.
Referenced by MediaWiki\Page\PageCommandFactory\__construct().