fix for bug 433: Title attribute on undelete button wrong
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Oct 2004 13:17:56 +0000 (13:17 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Oct 2004 13:17:56 +0000 (13:17 +0000)
includes/SkinPHPTal.php

index c983408..a07203f 100644 (file)
@@ -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)