Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ChangeOp\ChangedLanguagesCounter Class Reference

Counts distinct languages of changed parts in ChangeOpResult tree. More...

Public Member Functions

 countChangedLanguages (ChangeOpResult $changeOpResult)
 

Public Attributes

const ZERO_EDIT = 0
 
const SHORTENED_SUMMARY_MAX_EDIT = 50
 

Detailed Description

Counts distinct languages of changed parts in ChangeOpResult tree.

Member Function Documentation

◆ countChangedLanguages()

Wikibase\Repo\ChangeOp\ChangedLanguagesCounter::countChangedLanguages ( ChangeOpResult $changeOpResult)
Parameters
ChangeOpResult$changeOpResult
Returns
int count of distinct languages of language-bound results that changed the entity

Member Data Documentation

◆ SHORTENED_SUMMARY_MAX_EDIT

const Wikibase\Repo\ChangeOp\ChangedLanguagesCounter::SHORTENED_SUMMARY_MAX_EDIT = 50

◆ ZERO_EDIT

const Wikibase\Repo\ChangeOp\ChangedLanguagesCounter::ZERO_EDIT = 0

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