From a6d18de13c73cc5953258351481eaf0186d85f62 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Mon, 19 Apr 2004 09:15:01 +0000 Subject: [PATCH] counter for tab indexes --- includes/SpecialRecentchangeslinked.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index 25c1687fb1..ffe169e7d8 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -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; } -- 2.20.1