Manual:Hooks/PreferencesGetLegend

Details

 * $form: the PreferencesForm object. This is a ContextSource as well.
 * $key: the section name
 * &$legend: the legend text. Defaults to wfMsg( "prefs-$key" ) but may be overridden