Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Hooks\ChangesListLinesHandler Class Reference

Handlers for hooks dealing with Wikibase changes in client recent changes and watchlists. More...

+ Inheritance diagram for Wikibase\Client\Hooks\ChangesListLinesHandler:
+ Collaboration diagram for Wikibase\Client\Hooks\ChangesListLinesHandler:

Public Member Functions

 __construct (ExternalChangeFactory $changeFactory, ChangeLineFormatter $formatter)
 
 onOldChangesListRecentChangesLine ( $changesList, &$s, $rc, &$classes=[], &$attribs=[])
 
 onEnhancedChangesListModifyBlockLineData ( $changesList, &$data, $rc)
 
 onEnhancedChangesListModifyLineData ( $changesList, &$data, $block, $rc, &$classes=[], &$attribs=[])
 

Static Public Member Functions

static factory (Language $contentLanguage, UserNameUtils $userNameUtils, EntityIdParser $entityIdParser, RepoLinker $repoLinker, SettingsArray $clientSettings)
 

Private Attributes

 $changeFactory
 
 $formatter
 

Detailed Description

Handlers for hooks dealing with Wikibase changes in client recent changes and watchlists.

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
Matěj Suchánek

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Hooks\ChangesListLinesHandler::__construct ( ExternalChangeFactory $changeFactory,
ChangeLineFormatter $formatter )

Member Function Documentation

◆ factory()

static Wikibase\Client\Hooks\ChangesListLinesHandler::factory ( Language $contentLanguage,
UserNameUtils $userNameUtils,
EntityIdParser $entityIdParser,
RepoLinker $repoLinker,
SettingsArray $clientSettings )
static

◆ onEnhancedChangesListModifyBlockLineData()

Wikibase\Client\Hooks\ChangesListLinesHandler::onEnhancedChangesListModifyBlockLineData ( $changesList,
& $data,
$rc )
Parameters
EnhancedChangesList$changesList
array&$data
RecentChange$rc

◆ onEnhancedChangesListModifyLineData()

Wikibase\Client\Hooks\ChangesListLinesHandler::onEnhancedChangesListModifyLineData ( $changesList,
& $data,
$block,
$rc,
& $classes = [],
& $attribs = [] )
Parameters
EnhancedChangesList$changesList
array&$data
RecentChange[]$block
RecentChange$rc
string[]&$classes
string[]&$attribs

◆ onOldChangesListRecentChangesLine()

Wikibase\Client\Hooks\ChangesListLinesHandler::onOldChangesListRecentChangesLine ( $changesList,
& $s,
$rc,
& $classes = [],
& $attribs = [] )
Parameters
OldChangesList$changesList
string&$s
RecentChange$rc
string[]&$classes
string[]&$attribs

Member Data Documentation

◆ $changeFactory

Wikibase\Client\Hooks\ChangesListLinesHandler::$changeFactory
private

◆ $formatter

Wikibase\Client\Hooks\ChangesListLinesHandler::$formatter
private

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