Extension:MobileFrontend/Hooks/BeforeSpecialMobileDiffDisplay
Appearance
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:BeforeSpecialMobileDiffDisplay extensions.
Details
[edit]&$output
: An instance ofOutputPage
$mobileContext
: An instance ofMobileContext
$revisions
: An array of only 2 items, containing a previous revision and next revision. It is eitherMediaWiki\Revision\RevisionRecord
if a revision exists, ornull
if a revision doesn't exist (defined asRevisionRecord[] | null[]
)