Index: trunk/extensions/Oversight/HideRevision.i18n.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | 'oversight-difference' => '(Difference from previous remaining revision)', |
50 | 50 | 'oversight-prev' => 'Last previous revision', |
51 | 51 | 'oversight-hidden' => 'Hidden revision', |
52 | | -'oversight-header' => 'Below is a list of revisions permanently hidden from public view. |
| 52 | +'oversight-header' => 'Below is a list of revisions recently permanently hidden from public view. |
53 | 53 | Releasing this information can result in permanent loss of Oversight privileges.', |
54 | 54 | ), |
55 | 55 | |
Index: trunk/extensions/Oversight/HideRevision.php |
— | — | @@ -487,12 +487,12 @@ |
488 | 488 | * Special page handler function for Special:Oversight |
489 | 489 | */ |
490 | 490 | function wfSpecialOversight( $par=null ) { |
491 | | - global $wgRequest, $wgUser; |
| 491 | + global $wgRequest, $wgUser, $wgRCMaxAge; |
492 | 492 | $revision = $wgRequest->getIntOrNull( 'revision' ); |
493 | 493 | if ( $wgRequest->getCheck( 'diff' ) && !is_null( $revision )) { |
494 | 494 | sosShowDiff( $revision); |
495 | 495 | } else if( is_null( $revision ) ) { |
496 | | - sosShowList(); |
| 496 | + sosShowList( $wgRCMaxAge ); |
497 | 497 | } else { |
498 | 498 | sosShowRevision( $revision ); |
499 | 499 | } |
— | — | @@ -503,7 +503,7 @@ |
504 | 504 | |
505 | 505 | $fromTime = $dbr->timestamp( $from ); |
506 | 506 | $result = sosGetRevisions( $dbr, |
507 | | - array( 'hidden_on_timestamp < ' . $dbr->addQuotes( $fromTime ) ) ); |
| 507 | + array( 'hidden_on_timestamp >= ' . $dbr->addQuotes( $fromTime ) ) ); |
508 | 508 | |
509 | 509 | global $wgOut; |
510 | 510 | $wgOut->addWikiText( wfMsgNoTrans( 'oversight-header' ) ); |