Difference view for Wikibase entities.
More...
Difference view for Wikibase entities.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
-
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
◆ getDefaultLanguage()
Wikibase\Repo\Diff\EntityContentDiffView::getDefaultLanguage |
( |
| ) |
|
◆ getParserOutput()
Wikibase\Repo\Diff\EntityContentDiffView::getParserOutput |
( |
WikiPage | $page, |
|
|
RevisionRecord | $rev ) |
|
protected |
- Parameters
-
WikiPage | $page | |
RevisionRecord | $rev | |
- Returns
- ParserOutput|bool False if the revision was not found
◆ getRevisionHeader()
Wikibase\Repo\Diff\EntityContentDiffView::getRevisionHeader |
( |
RevisionRecord | $rev, |
|
|
| $complete = '' ) |
Get a header for a specified revision.
- Parameters
-
RevisionRecord | $rev | |
string | $complete | 'complete' to get the header wrapped depending the visibility of the revision and a link to edit the page. |
- Returns
- string HTML fragment
The documentation for this class was generated from the following file: