Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Api\MetaDataBridgeConfig Class Reference
+ Inheritance diagram for Wikibase\Repo\Api\MetaDataBridgeConfig:
+ Collaboration diagram for Wikibase\Repo\Api\MetaDataBridgeConfig:

Public Member Functions

 __construct (SettingsArray $repoSettings, ApiQuery $queryModule, string $moduleName, callable $resolveTitleStringToUrl)
 
 isInternal ()
 
 execute ()
 
 getCacheMode ( $params)
 

Private Member Functions

 addLicenseInfoToResult (ApiResult $result, $path)
 
 addStringMaxLengthToResult (ApiResult $result, $path)
 

Private Attributes

 $repoSettings
 
 $resolveTitleStringToUrl
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Api\MetaDataBridgeConfig::__construct ( SettingsArray  $repoSettings,
ApiQuery  $queryModule,
string  $moduleName,
callable  $resolveTitleStringToUrl 
)
Parameters
SettingsArray$repoSettings
ApiQuery$queryModule
string$moduleName
callable$resolveTitleStringToUrla callable that turns a pagename into a Url

Todo: Replace this callback when the {

See also
\Title} class is in better shape

Member Function Documentation

◆ addLicenseInfoToResult()

Wikibase\Repo\Api\MetaDataBridgeConfig::addLicenseInfoToResult ( ApiResult  $result,
  $path 
)
private

◆ addStringMaxLengthToResult()

Wikibase\Repo\Api\MetaDataBridgeConfig::addStringMaxLengthToResult ( ApiResult  $result,
  $path 
)
private

◆ execute()

Wikibase\Repo\Api\MetaDataBridgeConfig::execute ( )

◆ getCacheMode()

Wikibase\Repo\Api\MetaDataBridgeConfig::getCacheMode (   $params)

◆ isInternal()

Wikibase\Repo\Api\MetaDataBridgeConfig::isInternal ( )

Member Data Documentation

◆ $repoSettings

Wikibase\Repo\Api\MetaDataBridgeConfig::$repoSettings
private

◆ $resolveTitleStringToUrl

Wikibase\Repo\Api\MetaDataBridgeConfig::$resolveTitleStringToUrl
private

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