Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1444,8 +1444,8 @@ |
1445 | 1445 | &$forContent: overridable flag if copyright footer is shown in content language. |
1446 | 1446 | |
1447 | 1447 | 'SkinSubPageSubtitle': At the beginning of Skin::subPageSubtitle() |
| 1448 | +&$subpages: Subpage links HTML |
1448 | 1449 | $skin: Skin object |
1449 | | -&$subpages: Subpage links HTML |
1450 | 1450 | If false is returned $subpages will be used instead of the HTML |
1451 | 1451 | subPageSubtitle() generates. |
1452 | 1452 | If true is returned, $subpages will be ignored and the rest of |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1058,7 +1058,7 @@ |
1059 | 1059 | function subPageSubtitle() { |
1060 | 1060 | $subpages = ''; |
1061 | 1061 | |
1062 | | - if ( !wfRunHooks( 'SkinSubPageSubtitle', array( &$subpages ) ) ) { |
| 1062 | + if ( !wfRunHooks( 'SkinSubPageSubtitle', array( &$subpages, $this ) ) ) { |
1063 | 1063 | return $subpages; |
1064 | 1064 | } |
1065 | 1065 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -337,6 +337,8 @@ |
338 | 338 | * (bug 24987) Special:ListUsers does not take external groups into account |
339 | 339 | * (bug 20633) update.php has mixed language output |
340 | 340 | * SQLite system table names are now never prefixed. |
| 341 | +* (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second |
| 342 | + parameter |
341 | 343 | |
342 | 344 | === API changes in 1.17 === |
343 | 345 | * (bug 22738) Allow filtering by action type on query=logevent. |