Index: trunk/phase3/includes/SpecialUndelete.php |
— | — | @@ -554,11 +554,13 @@ |
555 | 555 | } |
556 | 556 | |
557 | 557 | function undelete() { |
558 | | - global $wgOut; |
| 558 | + global $wgOut, $wgUser; |
559 | 559 | if( !is_null( $this->mTargetObj ) ) { |
560 | 560 | $archive = new PageArchive( $this->mTargetObj ); |
561 | 561 | if( $archive->undelete( $this->mTargetTimestamp, $this->mComment ) ) { |
562 | | - $wgOut->addWikiText( wfMsg( "undeletedtext", $this->mTarget ) ); |
| 562 | + $skin =& $wgUser->getSkin(); |
| 563 | + $link = $skin->makeKnownLinkObj( $this->mTargetObj ); |
| 564 | + $wgOut->addHtml( wfMsgWikiHtml( 'undeletedpage', $link ) ); |
563 | 565 | |
564 | 566 | if (NS_IMAGE == $this->mTargetObj->getNamespace()) { |
565 | 567 | /* refresh image metadata cache */ |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -394,8 +394,8 @@ |
395 | 395 | * (bug 5527) Batch up job queue insertions for, hopefully, better survivability |
396 | 396 | of lock contention etc. Duplicates are now removed at pop time instead of |
397 | 397 | at insert time. |
| 398 | +* When showing the "blah has been undeleted" page, make sure it's a blue link |
398 | 399 | |
399 | | - |
400 | 400 | == Compatibility == |
401 | 401 | |
402 | 402 | MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported. |
Index: trunk/phase3/languages/Messages.php |
— | — | @@ -1210,9 +1210,10 @@ |
1211 | 1211 | 'undeletecomment' => 'Comment:', |
1212 | 1212 | 'undeletedarticle' => "restored \"[[$1]]\"", |
1213 | 1213 | 'undeletedrevisions' => "$1 revisions restored", |
1214 | | -'undeletedtext' => "[[:$1|$1]] has been successfully restored. |
1215 | | -See [[Special:Log/delete]] for a record of recent deletions and restorations.", |
| 1214 | +'undeletedpage' => "<big>'''$1 has been restored'''</big> |
1216 | 1215 | |
| 1216 | +Consult the [[Special:Log/delete|deletion log]] for a record of recent deletions and restorations.", |
| 1217 | + |
1217 | 1218 | # Namespace form on various pages |
1218 | 1219 | 'namespace' => 'Namespace:', |
1219 | 1220 | 'invert' => 'Invert selection', |