MobileFrontend
MobileoptimisedfrontendforMediaWiki
MockInlineDifferenceEngine Class Reference
+ Inheritance diagram for MockInlineDifferenceEngine:
+ Collaboration diagram for MockInlineDifferenceEngine:

Public Member Functions

 getPatrolledLink ()
 Create a getter function for the patrol link in Mobile Diff. More...
 
- Public Member Functions inherited from InlineDifferenceEngine
 isDeletedDiff ()
 Checks whether the given Revision was deleted. More...
 
 isSuppressedDiff ()
 Checks whether the given Revision was deleted or if it is delete restricted. More...
 
 isUserAllowedToSee ()
 Checks whether the current user has permission to view the old and current revisions. More...
 
 showDiffPage ( $diffOnly=false)
 Render the inline difference between two revisions using InlineDiffEngine. More...
 
 isHiddenFromUser ()
 Checks whether the diff should be hidden from the current user This is based on whether the user is allowed to see it and whether the flag unhide is set to allow viewing deleted revisions. More...
 
 getWarningMessageText ()
 Returns warning messages in situations where a revision cannot be viewed by a user explaining to them why. More...
 
 generateContentDiffBody (Content $old, Content $new)
 @inheritDoc
 
 generateTextDiffBody ( $otext, $ntext)
 Creates an inline diff. More...
 

Additional Inherited Members

- Protected Member Functions inherited from InlineDifferenceEngine
 getDiffBodyCacheKeyParams ()
 @inheritDoc
 

Member Function Documentation

◆ getPatrolledLink()

MockInlineDifferenceEngine::getPatrolledLink ( )

Create a getter function for the patrol link in Mobile Diff.

FIXME: This shouldn't be needed, but markPatrolledLink is protected in DifferenceEngine

Returns
String

Reimplemented from InlineDifferenceEngine.


The documentation for this class was generated from the following file: