r53388 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53387‎ | r53388 | r53389 >
Date:00:23, 17 July 2009
Author:mrzman
Status:deferred
Tags:
Comment:
remove old, commented-out code
Modified paths:
  • /trunk/extensions/IndexFunction/SpecialIndex.php (modified) (history)

Diff [purge]

Index: trunk/extensions/IndexFunction/SpecialIndex.php
@@ -154,21 +154,6 @@
155155 }
156156
157157 $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') );
173158 }
174159 }
175160

Status & tagging log