For extensions to add more fields to Special:Block
Change-Id: I00fbc7af1e50e1f76208a3692f152058d2d1879e
$software: The array of software in format 'name' => 'version'. See
SpecialVersion::softwareInformation().
+'SpecialBlockModifyFormFields': Add more fields to Special:Block
+$sp: SpecialPage object, for context
+&$fields: Current HTMLForm fields
+
'SpecialContributionsBeforeMainOutput': Before the form on Special:Contributions
$id: User identifier
$this->maybeAlterFormDefaults( $a );
+ // Allow extensions to add more fields
+ wfRunHooks( 'SpecialBlockModifyFormFields', array( $this, &$a ) );
+
return $a;
}