Index: trunk/extensions/IndexFunction/SpecialIndex.php |
— | — | @@ -154,21 +154,6 @@ |
155 | 155 | } |
156 | 156 | |
157 | 157 | $wgOut->addHtml($out); |
158 | | - //$wgOut->addHTML( Xml::openElement( 'ul' ) ); |
159 | | - # TODO: Group into sections based on most used categories. |
160 | | - # When iterating over the category results above, use another array |
161 | | - # to record the most frequently used ones and add some h2's in the |
162 | | - # list for some (all?) |
163 | | - //foreach( $list as $pageid => $info ) { |
164 | | - // $link = $sk->link( $info['title'], null, array(), array(), array( 'known', 'noclasses' ) ); |
165 | | - // if ( $info['cats'] ) { |
166 | | - // $line = $link . ' &ndash ' . implode( ', ', $info['cats'] ); |
167 | | - // } else { |
168 | | - // $line = $link; |
169 | | - // } |
170 | | - // $wgOut->addHtml( Xml::tags( 'li', array(), $line) ); |
171 | | - //} |
172 | | - //$wgOut->addHTML( Xml::closeElement('ul') ); |
173 | 158 | } |
174 | 159 | } |
175 | 160 | |