| Index: trunk/phase3/includes/specials/SpecialSpecialpages.php |
| — | — | @@ -48,21 +48,13 @@ |
| 49 | 49 | $groups['other'] = $other; |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | | - if ( count( $groups ) >= 3 ) { |
| 53 | | - $wgOut->addHTML('<ul id="filetoc">'); |
| 54 | | - foreach( $groups as $group => $pages ) { |
| 55 | | - $wgOut->addHTML('<li><a href="#' . $group . '">' . wfMsgHtml("specialpages-group-$group") . '</a></li>'); |
| 56 | | - } |
| 57 | | - $wgOut->addHTML('</ul>'); |
| 58 | | - } |
| 59 | | - |
| 60 | 52 | /** Now output the HTML */ |
| 61 | 53 | foreach ( $groups as $group => $sortedPages ) { |
| 62 | 54 | $middle = ceil( count($sortedPages)/2 ); |
| 63 | 55 | $total = count($sortedPages); |
| 64 | 56 | $count = 0; |
| 65 | 57 | |
| 66 | | - $wgOut->addHTML( "<h4 class='mw-specialpagesgroup' id='$group'>".wfMsgHtml("specialpages-group-$group")."</h4>\n" ); |
| | 58 | + $wgOut->addHTML( "<h4 class='mw-specialpagesgroup'>".wfMsgHtml("specialpages-group-$group")."</h4>\n" ); |
| 67 | 59 | $wgOut->addHTML( "<table style='width: 100%;' class='mw-specialpages-table'><tr>" ); |
| 68 | 60 | $wgOut->addHTML( "<td width='30%' valign='top'><ul>\n" ); |
| 69 | 61 | foreach( $sortedPages as $desc => $specialpage ) { |
| Index: trunk/phase3/RELEASE-NOTES |
| — | — | @@ -177,8 +177,6 @@ |
| 178 | 178 | * Add meta generator tag to HTML output |
| 179 | 179 | * MediawikiPerformAction hook is now passed the Mediawiki object |
| 180 | 180 | * Added blank special page Special:BlankPage for benchmarking, etc. |
| 181 | | -* (bug 13862) Specialpages now has a horizontal TOC if there's three or more |
| 182 | | - groups. |
| 183 | 181 | * Foreign repo file descriptions and thumbnails are now cached. |
| 184 | 182 | |
| 185 | 183 | === Bug fixes in 1.13 === |