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

Base class for change operations. More...

+ Inheritance diagram for Wikibase\Repo\ChangeOp\ChangeOpBase:
+ Collaboration diagram for Wikibase\Repo\ChangeOp\ChangeOpBase:

Public Member Functions

 getActions ()
 
- Public Member Functions inherited from Wikibase\Repo\ChangeOp\ChangeOp
 validate (EntityDocument $entity)
 Validates the current ChangeOp.
 
 apply (EntityDocument $entity, ?Summary $summary=null)
 Applies the change represented by this ChangeOp to the given Entity.
 

Protected Member Functions

 updateSummary (?Summary $summary, $action, $language='', $args='')
 

Detailed Description

Base class for change operations.

Author
Tobias Gritschacher < tobia.nosp@m.s.gr.nosp@m.itsch.nosp@m.ache.nosp@m.r@wik.nosp@m.imed.nosp@m.ia.de >

Member Function Documentation

◆ getActions()

Wikibase\Repo\ChangeOp\ChangeOpBase::getActions ( )

◆ updateSummary()

Wikibase\Repo\ChangeOp\ChangeOpBase::updateSummary ( ?Summary $summary,
$action,
$language = '',
$args = '' )
protected
Parameters
Summary | null$summary
string | null$action
string | null$language
string | array$args
Exceptions
InvalidArgumentException

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