$id: User identifier
$title: User page title
&$tools: Array of tool links
+$specialPage: SpecialPage instance for context and services. Can be either
+ SpecialContributions or DeletedContributionsPage. Extensions should type
+ hint against a generic SpecialPage though.
'ConvertContent': Called by AbstractContent::convert when a conversion to
another content model is requested.
);
}
- Hooks::run( 'ContributionsToolLinks', [ $id, $userpage, &$tools ] );
+ Hooks::run( 'ContributionsToolLinks', [ $id, $userpage, &$tools, $this ] );
return $tools;
}
);
}
- Hooks::run( 'ContributionsToolLinks', [ $id, $nt, &$tools ] );
+ Hooks::run( 'ContributionsToolLinks', [ $id, $nt, &$tools, $this ] );
$links = $this->getLanguage()->pipeList( $tools );