From f04a62aa9ad74a92f908b87c3ab8b7b2694141e8 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 1 Sep 2003 06:50:57 +0000 Subject: [PATCH] Hide undelete link for existing articles with an undelete history, unless in history view (articles with no current versions but with deleted versions will always be shown) --- includes/Skin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Skin.php b/includes/Skin.php index ed971e4417..493ffde383 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -368,6 +368,7 @@ class Skin { } } if( $wgUser->isSysop() && + (($wgTitle->getArticleId() == 0) || ($action == "history")) && ($n = $wgTitle->isDeleted() ) ) { $s .= " | " . wfMsg( "thisisdeleted", $this->makeKnownLink( -- 2.20.1