Manual:Hooks/PreferencesUserInformationPanel

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:
public static function onPreferencesUserInformationPanel( $form, &$html ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"PreferencesUserInformationPanel": "MediaWiki\\Extension\\MyExtension\\Hooks::onPreferencesUserInformationPanel"
	}
}
Called from: File(s): SpecialPreferences.php
Interface: PreferencesUserInformationPanelHook.php

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


Details

edit
  • $form : PreferencesForm object
  • &$html : HTML to append to