Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Api\EditSummaryHelper Class Reference

Helper methods for preparing summary instance for editing entity activity. More...

Public Member Functions

 __construct (ChangedLanguagesCollector $changedLanguagesCollector, ChangedLanguagesCounter $changedLanguagesCounter, NonLanguageBoundChangesCounter $nonLanguageBoundChangesCounter)
 
 prepareEditSummary (Summary $summary, ChangeOpResult $changeOpResult)
 Prepares edit summaries with appropriate action and comment args based on what has changed on the entity.
 

Private Attributes

 $changedLanguagesCounter
 
 $changedLanguagesCollector
 
 $nonLanguageBoundChangesCounter
 

Detailed Description

Helper methods for preparing summary instance for editing entity activity.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Api\EditSummaryHelper::__construct ( ChangedLanguagesCollector $changedLanguagesCollector,
ChangedLanguagesCounter $changedLanguagesCounter,
NonLanguageBoundChangesCounter $nonLanguageBoundChangesCounter )

Member Function Documentation

◆ prepareEditSummary()

Wikibase\Repo\Api\EditSummaryHelper::prepareEditSummary ( Summary $summary,
ChangeOpResult $changeOpResult )

Prepares edit summaries with appropriate action and comment args based on what has changed on the entity.

Parameters
Summary$summary
ChangeOpResult$changeOpResult
Returns
void

Member Data Documentation

◆ $changedLanguagesCollector

Wikibase\Repo\Api\EditSummaryHelper::$changedLanguagesCollector
private

◆ $changedLanguagesCounter

Wikibase\Repo\Api\EditSummaryHelper::$changedLanguagesCounter
private

◆ $nonLanguageBoundChangesCounter

Wikibase\Repo\Api\EditSummaryHelper::$nonLanguageBoundChangesCounter
private

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