Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter:

Public Member Functions

 __construct (SummaryFormatter $summaryFormatter, TermsEditSummaryToFormattableSummaryConverter $summaryConverter)
 
 format (EditSummary $summary)
 

Private Member Functions

 convertToFormattableSummary (EditSummary $editSummary)
 
 newSummaryForLabelEdit (LabelEditSummary $editSummary, string $actionName)
 
 newSummaryForDescriptionEdit (DescriptionEditSummary $editSummary, string $actionName)
 
 newSummaryForStatementEdit (StatementEditSummary $editSummary, string $moduleName, string $actionName, int $autoCommentArgs=null)
 

Private Attributes

SummaryFormatter $summaryFormatter
 
TermsEditSummaryToFormattableSummaryConverter $summaryConverter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::__construct ( SummaryFormatter $summaryFormatter,
TermsEditSummaryToFormattableSummaryConverter $summaryConverter )

Member Function Documentation

◆ convertToFormattableSummary()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::convertToFormattableSummary ( EditSummary $editSummary)
private

◆ format()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::format ( EditSummary $summary)

◆ newSummaryForDescriptionEdit()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::newSummaryForDescriptionEdit ( DescriptionEditSummary $editSummary,
string $actionName )
private

◆ newSummaryForLabelEdit()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::newSummaryForLabelEdit ( LabelEditSummary $editSummary,
string $actionName )
private

◆ newSummaryForStatementEdit()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::newSummaryForStatementEdit ( StatementEditSummary $editSummary,
string $moduleName,
string $actionName,
int $autoCommentArgs = null )
private

Member Data Documentation

◆ $summaryConverter

TermsEditSummaryToFormattableSummaryConverter Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::$summaryConverter
private

◆ $summaryFormatter

SummaryFormatter Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::$summaryFormatter
private

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