counter for tab indexes
authorGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 09:15:01 +0000 (09:15 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 09:15:01 +0000 (09:15 +0000)
includes/SpecialRecentchangeslinked.php

index 25c1687..ffe169e 100644 (file)
@@ -68,13 +68,15 @@ function wfSpecialRecentchangeslinked( $par = NULL )
 
        $s = $sk->beginRecentChangesList();
        $count = wfNumRows( $res );
-
+       
+       $counter = 1;
        while ( $limit ) {
                if ( 0 == $count ) { break; }
                $obj = wfFetchObject( $res );
                --$count;
 
                $rc = RecentChange::newFromCurRow( $obj );
+               $rc->counter = $counter++;
                $s .= $sk->recentChangesLine( $rc );
                --$limit;
        }