Index: branches/daniel/playground/docs/hooks.txt |
— | — | @@ -1056,6 +1056,18 @@ |
1057 | 1057 | If false is returned $subpages will be used instead of the HTML subPageSubtitle() generates. |
1058 | 1058 | If true is returned, $subpages will be ignored and the rest of subPageSubtitle() will run. |
1059 | 1059 | |
| 1060 | +'SkinGetCategoryLinks': At the beginning of Skin::getCategoryLinks(). Implementations should |
| 1061 | +return false if they store the desired HTML into $s. |
| 1062 | +$skin: Skin object |
| 1063 | +$allCats: Array of arrays of category links, as provided by $wgOut->getCategoryLinks(); |
| 1064 | +&$s: HTML to be generated from the category links (return value) |
| 1065 | + |
| 1066 | +'SkinJoinCategoryLinks': At the beginning of Skin::joinCategoryLinks(). Implementations should |
| 1067 | +return false if they store the desired HTML into $t. |
| 1068 | +$skin: Skin object |
| 1069 | +$allCats: Array of category links, as found as an element of the array returned by $wgOut->getCategoryLinks(); |
| 1070 | +&$t: HTML to be generated from the given links (return value) |
| 1071 | + |
1060 | 1072 | 'SkinTemplateBuildContentActionUrlsAfterSpecialPage': after the single tab when showing a special page |
1061 | 1073 | $sktemplate: SkinTemplate object |
1062 | 1074 | $content_actions: array of tabs |
Index: branches/daniel/playground/RELEASE-NOTES |
— | — | @@ -179,6 +179,14 @@ |
180 | 180 | * Added blank special page Special:BlankPage for benchmarking, etc. |
181 | 181 | * Foreign repo file descriptions and thumbnails are now cached. |
182 | 182 | * (bug 11732) Allow localisation of edit button images |
| 183 | +* new hooks for influencing the way category links are rendered: |
| 184 | + OutputPageMakeCategoryLinks, SkinJoinCategoryLinks, SkinGetCategoryLinks |
| 185 | +* SkinTemplate now provides footer_links and toolbox_urls as arrays |
| 186 | + in the template data. |
| 187 | +* Split MonoBookTemplate::execute into several functions, unified portlet generation |
| 188 | + in MonoBookTemplate::printPortlet |
| 189 | +* Added SkinTemplatePortlet hook to monobook, for intercepting portlet generation. |
| 190 | +* The ModernTemplate used by the Modern skin is now based on the MonoBookTemplate. |
183 | 191 | |
184 | 192 | === Bug fixes in 1.13 === |
185 | 193 | |