From: Brion Vibber Date: Sun, 10 Oct 2004 13:17:56 +0000 (+0000) Subject: fix for bug 433: Title attribute on undelete button wrong X-Git-Tag: 1.5.0alpha1~1613 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=8bc18f90464d011b139b0f6ef61bcaa9239311cd;p=lhc%2Fweb%2Fwiklou.git fix for bug 433: Title attribute on undelete button wrong --- diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index c983408978..a07203fd96 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -511,7 +511,7 @@ class SkinPHPTal extends Skin { //article doesn't exist or is deleted if($wgUser->isSysop()){ if( $n = $wgTitle->isDeleted() ) { - $content_actions['delete'] = array( + $content_actions['undelete'] = array( 'class' => false, 'text' => wfMsg( "undelete_short", $n ), 'href' => $this->makeSpecialUrl('Undelete/'.$this->thispage)