From: Gabriel Wicke Date: Fri, 9 Apr 2004 23:44:18 +0000 (+0000) Subject: counter for tab indexes and similar X-Git-Tag: 1.3.0beta1~498 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/%22%24ccApp/ecrire?a=commitdiff_plain;h=eee9aaec3b175b3d3100d9e48d845e99adaa20e6;p=lhc%2Fweb%2Fwiklou.git counter for tab indexes and similar --- diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 9cf8adb4e5..2fa0bb91d2 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -141,6 +141,7 @@ function wfSpecialRecentchanges( $par ) } else { $wgOut->setSyndicated( true ); $s = $sk->beginRecentChangesList(); + $counter = 1; foreach( $rows as $obj ){ if( $limit == 0) { break; @@ -148,6 +149,7 @@ function wfSpecialRecentchanges( $par ) if ( ! ( $hideminor && $obj->rc_minor ) ) { $rc = RecentChange::newFromRow( $obj ); + $rc->counter = $counter++; $s .= $sk->recentChangesLine( $rc, !empty( $obj->wl_user ) ); --$limit; }