Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -361,6 +361,9 @@ |
362 | 362 | } |
363 | 363 | # Other logs link |
364 | 364 | $tools[] = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'Log' ), wfMsgHtml( 'log' ), 'user=' . $nt->getPartialUrl() ); |
| 365 | + |
| 366 | + # Let extensions add to this list as they need. |
| 367 | + wfRunHooks( 'SpecialContribsSubEnd', array( $nt, &$tools ) ); |
365 | 368 | $links = implode( ' | ', $tools ); |
366 | 369 | } |
367 | 370 | |
— | — | @@ -440,4 +443,4 @@ |
441 | 444 | $f .= '</fieldset>' . |
442 | 445 | Xml::closeElement( 'form' ); |
443 | 446 | return $f; |
444 | | -} |
\ No newline at end of file |
| 447 | +} |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -140,6 +140,8 @@ |
141 | 141 | $wgAjaxLicencePreview) |
142 | 142 | * New Parser::setTransparentTagHook for parser extension and template |
143 | 143 | compatibility |
| 144 | +* Hook point 'SpecialContribsSubEnd' added to allow extensions to add to |
| 145 | + the links displayed above Special:Contributions. |
144 | 146 | |
145 | 147 | == Bugfixes since 1.10 == |
146 | 148 | |