Available from version 1.14.0
Removed in version 1.32.0
Allows modifying the edit checks below the textarea in the edit form
Define function:
public static function onEditPageBeforeEditChecks( EditPage &$editpage, array &$checks, &$tabindex ) { ... }
Attach hook: In extension.json:
	"Hooks": {
		"EditPageBeforeEditChecks": "MyExtensionHooks::onEditPageBeforeEditChecks"
Called from: File(s): EditPage.php
Interface: EditPageBeforeEditChecksHook.php

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


  • &$editpage: The current EditPage object
  • &$checks: Array of edit checks like "watch this page"/"minor edit"
  • &$tabindex: HTML tabindex of the last edit check/button