Manual:Hooks/ProtectionForm::showLogExtract

From MediaWiki.org
Jump to: navigation, search
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:
$wgHooks['ProtectionForm::showLogExtract'][] = 'MyExtensionHooks::onProtectionForm::showLogExtract';
Called from: ProtectionForm.php

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


[edit] Details

  • $article: the page the form is shown for
  • $out: OutputPage object
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox