Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater:
+ Collaboration diagram for Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater:

Public Member Functions

 __construct (IContextSource $context, MediawikiEditEntityFactory $editEntityFactory, LoggerInterface $logger, EditSummaryFormatter $summaryFormatter, PermissionManager $permissionManager, StatementReadModelConverter $statementReadModelConverter)
 
- Public Member Functions inherited from Wikibase\Repo\RestApi\Domain\Services\ItemUpdater
 update (Item $item, EditMetadata $editMetadata)
 

Private Member Functions

 isPreventedEdit (\Status $status)
 
 checkBotRightIfProvided (User $user, bool $isBot)
 
 convertDataModelItemToReadModel (DataModelItem $item)
 

Private Attributes

IContextSource $context
 
MediawikiEditEntityFactory $editEntityFactory
 
LoggerInterface $logger
 
EditSummaryFormatter $summaryFormatter
 
PermissionManager $permissionManager
 
StatementReadModelConverter $statementReadModelConverter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::__construct ( IContextSource $context,
MediawikiEditEntityFactory $editEntityFactory,
LoggerInterface $logger,
EditSummaryFormatter $summaryFormatter,
PermissionManager $permissionManager,
StatementReadModelConverter $statementReadModelConverter )

Member Function Documentation

◆ checkBotRightIfProvided()

Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::checkBotRightIfProvided ( User $user,
bool $isBot )
private

◆ convertDataModelItemToReadModel()

Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::convertDataModelItemToReadModel ( DataModelItem $item)
private

◆ isPreventedEdit()

Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::isPreventedEdit ( \Status $status)
private

Member Data Documentation

◆ $context

IContextSource Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::$context
private

◆ $editEntityFactory

MediawikiEditEntityFactory Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::$editEntityFactory
private

◆ $logger

LoggerInterface Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::$logger
private

◆ $permissionManager

PermissionManager Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::$permissionManager
private

◆ $statementReadModelConverter

StatementReadModelConverter Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::$statementReadModelConverter
private

◆ $summaryFormatter

EditSummaryFormatter Wikibase\Repo\RestApi\DataAccess\MediaWikiEditEntityFactoryItemUpdater::$summaryFormatter
private

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