$wgAjaxLicencePreview)
* New Parser::setTransparentTagHook for parser extension and template
compatibility
-* Hook point 'SpecialContribsSubEnd' added to allow extensions to add to
- the links displayed above Special:Contributions.
+* Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more
+ information
== Bugfixes since 1.10 ==
$isbn: ISBN to show information for
$output: OutputPage object in use
+'ContributionsToolLinks': Change tool links above Special:Contributions
+$id: User identifier
+$title: User page title
+&$tools: Array of tool links
+
'CustomEditor': When invoking the page editor
$article: Article being edited
$user: User performing the edit
&$sktemplate: SkinTemplate object
&$tpl: Template engine object
-'SpecialContribsSubEnd': Right before the contribsub (the talk, log, etc.
-links) are added above Special:Contributions. Return not evaluated, audit only.
-$nt: The user whose contributions are being accessed.
-&$tools: An array of links that will be added above Special:Contributions,
-delimited by '|'.
-
'SpecialContributionsBeforeMainOutput': Before the contributions form. Return
not evaluated, audit only.
$id: The id of the user whose contributions are being accessed.
# Other logs link
$tools[] = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'Log' ), wfMsgHtml( 'log' ), 'user=' . $nt->getPartialUrl() );
- # Let extensions add to this list as they need.
- wfRunHooks( 'SpecialContribsSubEnd', array( $nt, &$tools ) );
+ wfRunHooks( 'ContributionsToolLinks', array( $id, $nt, &$tools ) );
+
$links = implode( ' | ', $tools );
}