* (bug 5527) Batch up job queue insertions for, hopefully, better survivability
of lock contention etc. Duplicates are now removed at pop time instead of
at insert time.
-
+* When showing the "blah has been undeleted" page, make sure it's a blue link
== Compatibility ==
}
function undelete() {
- global $wgOut;
+ global $wgOut, $wgUser;
if( !is_null( $this->mTargetObj ) ) {
$archive = new PageArchive( $this->mTargetObj );
if( $archive->undelete( $this->mTargetTimestamp, $this->mComment ) ) {
- $wgOut->addWikiText( wfMsg( "undeletedtext", $this->mTarget ) );
+ $skin =& $wgUser->getSkin();
+ $link = $skin->makeKnownLinkObj( $this->mTargetObj );
+ $wgOut->addHtml( wfMsgWikiHtml( 'undeletedpage', $link ) );
if (NS_IMAGE == $this->mTargetObj->getNamespace()) {
/* refresh image metadata cache */
'undeletecomment' => 'Comment:',
'undeletedarticle' => "restored \"[[$1]]\"",
'undeletedrevisions' => "$1 revisions restored",
-'undeletedtext' => "[[:$1|$1]] has been successfully restored.
-See [[Special:Log/delete]] for a record of recent deletions and restorations.",
+'undeletedpage' => "<big>'''$1 has been restored'''</big>
+
+Consult the [[Special:Log/delete|deletion log]] for a record of recent deletions and restorations.",
# Namespace form on various pages
'namespace' => 'Namespace:',