Index: trunk/phase3/includes/diff/DifferenceInterface.php |
— | — | @@ -377,9 +377,10 @@ |
378 | 378 | $multi = $this->getMultiNotice(); |
379 | 379 | $wgOut->addHTML( $this->addHeader( '', $oldHeader, $newHeader, $multi ) ); |
380 | 380 | if( !$allowed ) { |
| 381 | + $msg = $suppressed ? 'rev-suppressed-no-diff' : 'rev-deleted-no-diff'; |
381 | 382 | # Give explanation for why revision is not visible |
382 | 383 | $wgOut->wrapWikiMsg( "<div class='mw-warning plainlinks'>\n$1</div>\n", |
383 | | - array( 'rev-deleted-no-diff' ) ); |
| 384 | + array( $msg ) ); |
384 | 385 | } else { |
385 | 386 | # Give explanation and add a link to view the diff... |
386 | 387 | $link = $this->mTitle->getFullUrl( array( |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1431,29 +1431,30 @@ |
1432 | 1432 | 'rev-deleted-event' => '(log action removed)', |
1433 | 1433 | 'rev-deleted-user-contribs' => '[username or IP address removed - edit hidden from contributions]', |
1434 | 1434 | 'rev-deleted-text-permission' => "This page revision has been '''deleted'''. |
1435 | | -There may be details in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
| 1435 | +Details can be found in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
1436 | 1436 | 'rev-deleted-text-unhide' => "This page revision has been '''deleted'''. |
1437 | | -There may be details in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log]. |
| 1437 | +Details can be found in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log]. |
1438 | 1438 | As an administrator you can still [$1 view this revision] if you wish to proceed.", |
1439 | 1439 | 'rev-suppressed-text-unhide' => "This page revision has been '''suppressed'''. |
1440 | | -There may be details in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log]. |
| 1440 | +Details can be found in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log]. |
1441 | 1441 | As an administrator you can still [$1 view this revision] if you wish to proceed.", |
1442 | 1442 | 'rev-deleted-text-view' => "This page revision has been '''deleted'''. |
1443 | | -As an administrator you can view it; there may be details in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
| 1443 | +As an administrator you can view it; details can be found in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
1444 | 1444 | 'rev-suppressed-text-view' => "This page revision has been '''suppressed'''. |
1445 | | -As an administrator you can view it; there may be details in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log].", |
| 1445 | +As an administrator you can view it; details can be found in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log].", |
1446 | 1446 | 'rev-deleted-no-diff' => "You cannot view this diff because one of the revisions has been '''deleted'''. |
1447 | | -There may be details in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
| 1447 | +Details can be found in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
| 1448 | +'rev-suppressed-no-diff' => "You cannot view this diff because one of the revisions has been '''deleted'''.", |
1448 | 1449 | 'rev-deleted-unhide-diff' => "One of the revisions of this diff has been '''deleted'''. |
1449 | | -There may be details in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log]. |
| 1450 | +Details can be found in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log]. |
1450 | 1451 | As an administrator you can still [$1 view this diff] if you wish to proceed.", |
1451 | 1452 | 'rev-suppressed-unhide-diff' => "One of the revisions of this diff has been '''suppressed'''. |
1452 | | -There may be details in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log]. |
| 1453 | +Details can be found in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log]. |
1453 | 1454 | As an administrator you can still [$1 view this diff] if you wish to proceed.", |
1454 | 1455 | 'rev-deleted-diff-view' => "One of the revisions of this diff has been '''deleted'''. |
1455 | | -As an administrator you can view this diff; there may be details in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
| 1456 | +As an administrator you can view this diff; details can be found in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
1456 | 1457 | 'rev-suppressed-diff-view' => "One of the revisions of this diff has been '''suppressed'''. |
1457 | | -As an administrator you can view this diff; there may be details in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log].", |
| 1458 | +As an administrator you can view this diff; details can be found in the [{{fullurl:{{#Special:Log}}/suppress|page={{FULLPAGENAMEE}}}} suppression log].", |
1458 | 1459 | 'rev-delundel' => 'show/hide', |
1459 | 1460 | 'rev-showdeleted' => 'show', |
1460 | 1461 | 'revisiondelete' => 'Delete/undelete revisions', |