MediaWiki
master
PreferencesGetLegendHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Specials\Hook
;
4
5
use
MediaWiki\HTMLForm\HTMLForm
;
6
14
interface
PreferencesGetLegendHook
{
26
public
function
onPreferencesGetLegend
( $form, $key, &$legend );
27
}
28
30
class_alias( PreferencesGetLegendHook::class,
'MediaWiki\\Hook\\PreferencesGetLegendHook'
);
MediaWiki\HTMLForm\HTMLForm
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition
HTMLForm.php:195
MediaWiki\Specials\Hook\PreferencesGetLegendHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PreferencesGetLegendHook.php:14
MediaWiki\Specials\Hook\PreferencesGetLegendHook\onPreferencesGetLegend
onPreferencesGetLegend( $form, $key, &$legend)
Use the hook to override the text used for the <legend> of a preferences section.
MediaWiki\Specials\Hook
Definition
AncientPagesQueryHook.php:3
includes
Specials
Hook
PreferencesGetLegendHook.php
Generated on Fri Feb 13 2026 03:26:51 for MediaWiki by
1.10.0