Class for generating views of EntityDiff objects.
More...
Class for generating views of EntityDiff objects.
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
Tobias Gritschacher < tobia.nosp@m.s.gr.nosp@m.itsch.nosp@m.ache.nosp@m.r@wik.nosp@m.imed.nosp@m.ia.de >
-
Daniel kinzler
◆ __construct()
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::__construct |
( |
MessageLocalizer |
$messageLocalizer, |
|
|
ClaimDiffer |
$claimDiffer, |
|
|
ClaimDifferenceVisualizer |
$claimDiffView, |
|
|
SiteLookup |
$siteLookup, |
|
|
EntityIdFormatter |
$entityIdFormatter |
|
) |
| |
◆ getClaimDiffHtml()
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::getClaimDiffHtml |
( |
DiffOp |
$claimDiffOp | ) |
|
|
protected |
- Parameters
-
- Returns
- string HTML
- Exceptions
-
◆ visualizeEntityContentDiff()
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::visualizeEntityContentDiff |
( |
EntityContentDiff |
$diff | ) |
|
◆ visualizeEntityDiff()
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::visualizeEntityDiff |
( |
EntityDiff |
$diff | ) |
|
|
protected |
Generates and returns an HTML visualization of the provided EntityDiff.
- Parameters
-
- Returns
- string
◆ visualizeRedirectDiff()
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::visualizeRedirectDiff |
( |
Diff |
$diff | ) |
|
|
protected |
Generates and returns an HTML visualization of the provided redirect Diff.
- Parameters
-
- Returns
- string
◆ $claimDiffer
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::$claimDiffer |
|
private |
◆ $claimDiffVisualizer
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::$claimDiffVisualizer |
|
private |
◆ $entityIdFormatter
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::$entityIdFormatter |
|
private |
◆ $messageLocalizer
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::$messageLocalizer |
|
private |
◆ $siteLookup
Wikibase\Repo\Diff\BasicEntityDiffVisualizer::$siteLookup |
|
private |
The documentation for this class was generated from the following file: