Rename 'SpecialContribSubEnd' hook to more appropriate 'ContributionsToolLinks',...
[lhc/web/wiklou.git] / includes / SpecialContributions.php
index ae51cde..d245144 100644 (file)
@@ -361,6 +361,9 @@ function contributionsSub( $nt, $id ) {
                }
                # Other logs link
                $tools[] = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'Log' ), wfMsgHtml( 'log' ), 'user=' . $nt->getPartialUrl() );
+
+               wfRunHooks( 'ContributionsToolLinks', array( $id, $nt, &$tools ) );
+
                $links = implode( ' | ', $tools );
        }
 
@@ -440,4 +443,4 @@ function contributionsForm( $options ) {
        $f .= '</fieldset>' .
                Xml::closeElement( 'form' );
        return $f;
-}
\ No newline at end of file
+}