Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -348,5 +348,11 @@ |
349 | 349 | 'CategoryPageView': before viewing a categorypage in CategoryPage::view |
350 | 350 | $catpage: CategoryPage instance |
351 | 351 | |
| 352 | +'SkinTemplateContentActions': after building the $content_action array right |
| 353 | + before returning it, see content_action.php in |
| 354 | + the extension module for a demonstration of how |
| 355 | + to use this hook. |
| 356 | +$content_actions: The array of content actions |
352 | 357 | |
| 358 | + |
353 | 359 | More hooks might not be available but undocumented. |
Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -713,6 +713,8 @@ |
714 | 714 | } |
715 | 715 | } |
716 | 716 | |
| 717 | + wfRunHooks( 'SkinTemplateContentActions', array(&$content_actions) ); |
| 718 | + |
717 | 719 | wfProfileOut( $fname ); |
718 | 720 | return $content_actions; |
719 | 721 | } |