r37395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37394‎ | r37395 | r37396 >
Date:15:20, 9 July 2008
Author:daniel
Status:old
Tags:
Comment:
documentation for new hooks, etc
Modified paths:
  • /branches/daniel/playground/RELEASE-NOTES (modified) (history)
  • /branches/daniel/playground/docs/hooks.txt (modified) (history)

Diff [purge]

Index: branches/daniel/playground/docs/hooks.txt
@@ -1056,6 +1056,18 @@
10571057 If false is returned $subpages will be used instead of the HTML subPageSubtitle() generates.
10581058 If true is returned, $subpages will be ignored and the rest of subPageSubtitle() will run.
10591059
 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+
10601072 'SkinTemplateBuildContentActionUrlsAfterSpecialPage': after the single tab when showing a special page
10611073 $sktemplate: SkinTemplate object
10621074 $content_actions: array of tabs
Index: branches/daniel/playground/RELEASE-NOTES
@@ -179,6 +179,14 @@
180180 * Added blank special page Special:BlankPage for benchmarking, etc.
181181 * Foreign repo file descriptions and thumbnails are now cached.
182182 * (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.
183191
184192 === Bug fixes in 1.13 ===
185193

Status & tagging log