Adding the id's to the headings might make it work better.
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 2 Jul 2008 13:42:12 +0000 (13:42 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 2 Jul 2008 13:42:12 +0000 (13:42 +0000)
includes/specials/SpecialSpecialpages.php

index a331510..8c1299b 100644 (file)
@@ -62,7 +62,7 @@ function wfSpecialSpecialpages() {
                $total = count($sortedPages);
                $count = 0;
 
-               $wgOut->addHTML( "<h4 class='mw-specialpagesgroup'>".wfMsgHtml("specialpages-group-$group")."</h4>\n" );
+               $wgOut->addHTML( "<h4 class='mw-specialpagesgroup' id='$group'>".wfMsgHtml("specialpages-group-$group")."</h4>\n" );
                $wgOut->addHTML( "<table style='width: 100%;' class='mw-specialpages-table'><tr>" );
                $wgOut->addHTML( "<td width='30%' valign='top'><ul>\n" );
                foreach( $sortedPages as $desc => $specialpage ) {