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 $termsEditSummaryConverter, FullEntityEditSummaryToFormattableSummaryConverter $fullEntityEditSummaryConverter)
 
 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)
 
 newSummaryForAliasesInLanguageEdit (AliasesInLanguageEditSummary $editSummary)
 
 newSummaryForSitelinkEdit (SitelinkEditSummary $editSummary, string $actionName)
 

Private Attributes

SummaryFormatter $summaryFormatter
 
TermsEditSummaryToFormattableSummaryConverter $termsEditSummaryConverter
 
FullEntityEditSummaryToFormattableSummaryConverter $fullEntityEditSummaryConverter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::__construct ( SummaryFormatter $summaryFormatter,
TermsEditSummaryToFormattableSummaryConverter $termsEditSummaryConverter,
FullEntityEditSummaryToFormattableSummaryConverter $fullEntityEditSummaryConverter )

Member Function Documentation

◆ convertToFormattableSummary()

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

◆ format()

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

◆ newSummaryForAliasesInLanguageEdit()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::newSummaryForAliasesInLanguageEdit ( AliasesInLanguageEditSummary $editSummary)
private

◆ newSummaryForDescriptionEdit()

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

◆ newSummaryForLabelEdit()

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

◆ newSummaryForSitelinkEdit()

Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::newSummaryForSitelinkEdit ( SitelinkEditSummary $editSummary,
string $actionName )
private

◆ newSummaryForStatementEdit()

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

Member Data Documentation

◆ $fullEntityEditSummaryConverter

FullEntityEditSummaryToFormattableSummaryConverter Wikibase\Repo\RestApi\Infrastructure\EditSummaryFormatter::$fullEntityEditSummaryConverter
private

◆ $summaryFormatter

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

◆ $termsEditSummaryConverter

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

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