Manual:Hooks/PreferencesUserInformationPanel

From MediaWiki.org
Jump to: navigation, search
PreferencesUserInformationPanel
Available from version 1.9.0
Removed in version 1.16.0
Add HTML bits to user information list in preferences form

*Define function:
function fnMyHook( $form, &$html ) { ... }

*Attach hook:
$wgHooks['PreferencesUserInformationPanel'][] = 'MyExtensionHooks::someExample';
Called from: SpecialPreferences.php

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


Warning Warning: This hook has been completely removed in 1.16; use GetPreferences instead.

[edit] Details

  • $form : PreferencesForm object
  • &$html : HTML to append to
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox