< Manual:Hooks
DifferenceEngineRenderRevisionShowFinalPatrolLink
Available from version 1.29.0 (Gerrit change 298026)
An extension can hook into this hook point and return false to not show the final "mark as patrolled" link on the bottom of a page.
Define function:
public static function onDifferenceEngineRenderRevisionShowFinalPatrolLink(  ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"DifferenceEngineRenderRevisionShowFinalPatrolLink": "MyExtensionHooks::onDifferenceEngineRenderRevisionShowFinalPatrolLink"
	}
}
Called from: File(s): diff/DifferenceEngine.php
Function(s): renderNewRevision
Interface: DifferenceEngineRenderRevisionShowFinalPatrolLinkHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:DifferenceEngineRenderRevisionShowFinalPatrolLink extensions.

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.