Available from version 1.27.0 (Gerrit change 266659)
Called with a list of filters to render on Special:Contributions.
Define function:
public static function onSpecialContributions_getForm_filters( SpecialContributions $specialPage, array &$filters ) { ... }
Attach hook: In extension.json:
	"Hooks": {
		"SpecialContributions::getForm::filters": "MyExtensionHooks::onSpecialContributionsgetFormfilters"
Called from: File(s): specials/SpecialContributions.php
Function(s): getForm
Interface: SpecialContributions__getForm__filtersHook.php

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


  • $specialPage: SpecialContributions object
  • &$filters: Array of HTML form filters