Wikibase
MediaWiki Wikibase extension
|
Class for generating views of DiffOp objects. More...
Public Member Functions | |
__construct (array $path, Diff $diff) | |
getHtml () | |
Builds and returns the HTML to represent the Diff. More... | |
Protected Member Functions | |
generateHtmlDiffTableRow (?string $oldHtml, ?string $newHtml) | |
Generates an HTML table row for a change diffOp given HTML snippets representing old and new sides of the Diff. More... | |
generateDiffHeaderHtml (string $name) | |
Generates HTML for the header of the diff operation. More... | |
Private Member Functions | |
getDeletedLine (string $value) | |
getAddedLine (string $value) | |
getChangedLine (string $tag, string $value) | |
Private Attributes | |
$path | |
$diff | |
Class for generating views of DiffOp objects.
Wikibase\Repo\Diff\BasicDiffView::__construct | ( | array | $path, |
Diff | $diff | ||
) |
string[] | $path | |
Diff | $diff |
|
protected |
Generates HTML for the header of the diff operation.
|
protected |
Generates an HTML table row for a change diffOp given HTML snippets representing old and new sides of the Diff.
|
private |
|
private |
|
private |
Wikibase\Repo\Diff\BasicDiffView::getHtml | ( | ) |
Builds and returns the HTML to represent the Diff.
Implements Wikibase\Repo\Diff\DiffView.
|
private |
|
private |