Handler for the FormatAutocomments hook, implementing localized formatting for machine readable autocomments generated by SummaryFormatter.
More...
Handler for the FormatAutocomments hook, implementing localized formatting for machine readable autocomments generated by SummaryFormatter.
- Copyright
- GPL-2.0-or-later
◆ __construct()
| Wikibase\Client\Hooks\FormatAutocommentsHandler::__construct |
( |
Language | $contentLanguage, |
|
|
string | $repoSiteId ) |
◆ factory()
| static Wikibase\Client\Hooks\FormatAutocommentsHandler::factory |
( |
Language | $contentLanguage, |
|
|
SettingsArray | $clientSettings ) |
|
static |
◆ onFormatAutocomments()
| Wikibase\Client\Hooks\FormatAutocommentsHandler::onFormatAutocomments |
( |
& | $comment, |
|
|
| $pre, |
|
|
| $auto, |
|
|
| $post, |
|
|
| $title, |
|
|
| $local, |
|
|
| $wikiId ) |
◆ $contentLanguage
| Language Wikibase\Client\Hooks\FormatAutocommentsHandler::$contentLanguage |
|
private |
◆ $repoSiteId
| string Wikibase\Client\Hooks\FormatAutocommentsHandler::$repoSiteId |
|
private |
The documentation for this class was generated from the following file: