* Two new hooks, ExtendJSGlobalVars and wfMessageCacheReplace added
* MediawikiPerformAction hook is now passed the Mediawiki object
* Added blank special page Special:BlankPage for benchmarking, etc.
+* (bug 13862) Specialpages now has a horizontal TOC if there's three or more
+ groups.
=== Bug fixes in 1.13 ===
$groups['other'] = $other;
}
+ if ( count( $groups ) >= 3 ) {
+ $wgOut->addHTML('<ul id="filetoc">');
+ foreach( $groups as $group => $pages ) {
+ $wgOut->addHTML('<li><a href="#' . $group . '">' . wfMsgHtml("specialpages-group-$group") . '</a></li>');
+ }
+ $wgOut->addHTML('</ul>');
+ }
+
/** Now output the HTML */
foreach ( $groups as $group => $sortedPages ) {
$middle = ceil( count($sortedPages)/2 );