Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -654,7 +654,6 @@ |
655 | 655 | $tables = array( 'logging', 'user' ); |
656 | 656 | $this->mConds[] = 'user_id = log_user'; |
657 | 657 | $groupBy = false; |
658 | | - $index = array(); |
659 | 658 | # Add log_search table if there are conditions on it |
660 | 659 | if( array_key_exists('ls_field',$this->mConds) ) { |
661 | 660 | $tables[] = 'log_search'; |
Index: trunk/phase3/includes/PageHistory.php |
— | — | @@ -373,14 +373,11 @@ |
374 | 374 | function revLink( $rev ) { |
375 | 375 | global $wgLang; |
376 | 376 | $date = $wgLang->timeanddate( wfTimestamp(TS_MW, $rev->getTimestamp()), true ); |
377 | | - if( $rev->userCan( Revision::DELETED_TEXT ) ) { |
| 377 | + if( !$rev->isDeleted( Revision::DELETED_TEXT ) ) { |
378 | 378 | $link = $this->mSkin->makeKnownLinkObj( $this->mTitle, $date, "oldid=" . $rev->getId() ); |
379 | 379 | } else { |
380 | | - $link = $date; |
| 380 | + $link = "<span class=\"history-deleted\">$date</span>"; |
381 | 381 | } |
382 | | - if( $rev->isDeleted( Revision::DELETED_TEXT ) ) { |
383 | | - $link = "<span class=\"history-deleted\">$link</span>"; |
384 | | - } |
385 | 382 | return $link; |
386 | 383 | } |
387 | 384 | |