- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Api\MetaContentLanguages::__construct |
( |
WikibaseContentLanguages |
$wikibaseContentLanguages, |
|
|
bool |
$expectKnownLanguageNames, |
|
|
LanguageNameUtils |
$languageNameUtils, |
|
|
ApiQuery |
$queryModule, |
|
|
string |
$moduleName |
|
) |
| |
- Parameters
-
WikibaseContentLanguages | $wikibaseContentLanguages | |
bool | $expectKnownLanguageNames | whether we should expect MediaWiki to know a language name for any language code that occurs in the content languages (if true, warnings will be raised for any language without known language name) |
LanguageNameUtils | $languageNameUtils | source of language names and autonyms |
ApiQuery | $queryModule | |
string | $moduleName | |
◆ execute()
Wikibase\Repo\Api\MetaContentLanguages::execute |
( |
| ) |
|
◆ factory()
static Wikibase\Repo\Api\MetaContentLanguages::factory |
( |
ApiQuery |
$apiQuery, |
|
|
string |
$moduleName, |
|
|
LanguageNameUtils |
$languageNameUtils, |
|
|
WikibaseContentLanguages |
$wikibaseContentLanguages |
|
) |
| |
|
static |
◆ getAllowedParams()
Wikibase\Repo\Api\MetaContentLanguages::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getCacheMode()
Wikibase\Repo\Api\MetaContentLanguages::getCacheMode |
( |
|
$params | ) |
|
- See also
- ApiQueryBase::getCacheMode
- Parameters
-
- Returns
- string
◆ getExamplesMessages()
Wikibase\Repo\Api\MetaContentLanguages::getExamplesMessages |
( |
| ) |
|
|
protected |
◆ $expectKnownLanguageNames
Wikibase\Repo\Api\MetaContentLanguages::$expectKnownLanguageNames |
|
private |
◆ $languageNameUtils
Wikibase\Repo\Api\MetaContentLanguages::$languageNameUtils |
|
private |
◆ $wikibaseContentLanguages
Wikibase\Repo\Api\MetaContentLanguages::$wikibaseContentLanguages |
|
private |
The documentation for this class was generated from the following file: