Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler Class Reference
+ Inheritance diagram for Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler:
+ Collaboration diagram for Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler:

Public Member Functions

 __construct (EntityNamespaceLookup $entityNamespaceLookup, $dataRightsUrl, $dataRightsText, array $badgeItems, $stringLimit, $taintedReferencesEnabled)
 
 onOutputPageBeforeHTML ( $out, &$text)
 

Static Public Member Functions

static factory (EntityNamespaceLookup $entityNamespaceLookup, SettingsArray $repoSettings)
 

Private Member Functions

 buildConfigVars (OutputPage $out)
 

Private Attributes

 $entityNamespaceLookup
 
 $outputPageConfigBuilder
 
 $dataRightsUrl
 
 $dataRightsText
 
 $badgeItems
 
 $stringLimit
 
 $taintedReferencesEnabled
 

Detailed Description

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::__construct ( EntityNamespaceLookup  $entityNamespaceLookup,
  $dataRightsUrl,
  $dataRightsText,
array  $badgeItems,
  $stringLimit,
  $taintedReferencesEnabled 
)
Parameters
EntityNamespaceLookup$entityNamespaceLookup
string$dataRightsUrl
string$dataRightsText
string[]$badgeItems
int$stringLimit
bool$taintedReferencesEnabled

Member Function Documentation

◆ buildConfigVars()

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::buildConfigVars ( OutputPage  $out)
private
Parameters
OutputPage$out
Returns
array

◆ factory()

static Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::factory ( EntityNamespaceLookup  $entityNamespaceLookup,
SettingsArray  $repoSettings 
)
static

◆ onOutputPageBeforeHTML()

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::onOutputPageBeforeHTML (   $out,
$text 
)
Parameters
OutputPage$out
string&$textText that will be displayed, in HTML

Member Data Documentation

◆ $badgeItems

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::$badgeItems
private

◆ $dataRightsText

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::$dataRightsText
private

◆ $dataRightsUrl

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::$dataRightsUrl
private

◆ $entityNamespaceLookup

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::$entityNamespaceLookup
private

◆ $outputPageConfigBuilder

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::$outputPageConfigBuilder
private

◆ $stringLimit

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::$stringLimit
private

◆ $taintedReferencesEnabled

Wikibase\Repo\Hooks\OutputPageJsConfigHookHandler::$taintedReferencesEnabled
private

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