< Manual:Hooks
ProtectionForm::showLogExtract
Available from version 1.16.0
Called after the protection log extract is shown.
Define function:
public static function onProtectionForm_showLogExtract( $article, $out ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"ProtectionForm::showLogExtract": "MyExtensionHooks::onProtectionFormshowLogExtract"
	}
}
Called from: File(s): ProtectionForm.php
Interface: ProtectionForm__showLogExtractHook.php

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

Details

  • $article: the page the form is shown for
  • $out: OutputPage object
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.