Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Diff\EntityContentDiffView Class Reference

Difference view for Wikibase entities. More...

+ Inheritance diagram for Wikibase\Repo\Diff\EntityContentDiffView:
+ Collaboration diagram for Wikibase\Repo\Diff\EntityContentDiffView:

Public Member Functions

 getDefaultLanguage ()
 
 getRevisionHeader (RevisionRecord $rev, $complete='')
 Get a header for a specified revision.
 

Protected Member Functions

 getParserOutput (WikiPage $page, RevisionRecord $rev)
 

Detailed Description

Difference view for Wikibase entities.

Author
Daniel Kinzler
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

◆ getDefaultLanguage()

Wikibase\Repo\Diff\EntityContentDiffView::getDefaultLanguage ( )
Returns
Language

◆ 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: