Manual:Hooks/RenderPreferencesForm

From MediaWiki.org
Jump to: navigation, search
RenderPreferencesForm
Available from version 1.11.0
Removed in version 1.16.0
called at the end of PreferencesForm::mainPrefsForm()

Define function:
public static function onRenderPreferencesForm( $form, $out ) { ... }

Attach hook:
$wgHooks['RenderPreferencesForm'][] = 'MyExtensionHooks::onRenderPreferencesForm';
Called from: SpecialPreferences.php

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


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

[edit] Details

  • $form: the PreferencesForm
  • $out: output page to render to, probably $wgOut
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox