WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler Class Reference

Public Member Functions

 __construct (EntityNamespaceLookup $namespaceChecker, EntityIdLookup $entityIdLookup, PageProps $pageProps, IContextSource $context)
 
 handle (IContextSource $context, array $pageInfo)
 

Private Member Functions

 getSenseAndFormCount (Title $title)
 
 formatProperties (array $properties)
 

Private Attributes

 $namespaceChecker
 
 $entityIdLookup
 
 $pageProps
 
 $context
 

Detailed Description

Author
Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::__construct ( EntityNamespaceLookup $namespaceChecker,
EntityIdLookup $entityIdLookup,
PageProps $pageProps,
IContextSource $context )

Member Function Documentation

◆ formatProperties()

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::formatProperties ( array $properties)
private
Parameters
array$properties
Returns
string[] HTML

◆ getSenseAndFormCount()

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::getSenseAndFormCount ( Title $title)
private
Parameters
Title$title
Returns
string[] HTML

◆ handle()

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::handle ( IContextSource $context,
array $pageInfo )
Parameters
IContextSource$context
array$pageInfo
Returns
array[]

Member Data Documentation

◆ $context

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::$context
private

◆ $entityIdLookup

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::$entityIdLookup
private

◆ $namespaceChecker

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::$namespaceChecker
private

◆ $pageProps

Wikibase\Lexeme\MediaWiki\Actions\InfoActionHookHandler::$pageProps
private

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