A LocalizedTextProvider wrapping MediaWiki's message system.
More...
A LocalizedTextProvider wrapping MediaWiki's message system.
- Copyright
- GPL-2.0-or-later
- Author
- Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de
◆ __construct()
Wikibase\Repo\MediaWikiLocalizedTextProvider::__construct |
( |
Language |
$language | ) |
|
◆ get()
Wikibase\Repo\MediaWikiLocalizedTextProvider::get |
( |
|
$key, |
|
|
array |
$params = [] |
|
) |
| |
◆ getEscaped()
Wikibase\Repo\MediaWikiLocalizedTextProvider::getEscaped |
( |
|
$key, |
|
|
array |
$params = [] |
|
) |
| |
- Parameters
-
string | $key | |
| array<string|RawMessageParameter> | $params Parameters that could be used for generating the text |
- Returns
- string The localized text
Implements Wikibase\View\LocalizedTextProvider.
◆ getLanguageOf()
Wikibase\Repo\MediaWikiLocalizedTextProvider::getLanguageOf |
( |
|
$key | ) |
|
◆ has()
Wikibase\Repo\MediaWikiLocalizedTextProvider::has |
( |
|
$key | ) |
|
◆ $language
Wikibase\Repo\MediaWikiLocalizedTextProvider::$language |
|
private |
The documentation for this class was generated from the following file: