Manual:Hooks/PreferencesUserInformationPanel
Appearance
This feature was removed from MediaWiki core in version 1.16.0. Please see GetPreferences for an alternative way to use this feature. |
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