Hide undelete link for existing articles with an undelete history, unless in history...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 1 Sep 2003 06:50:57 +0000 (06:50 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 1 Sep 2003 06:50:57 +0000 (06:50 +0000)
includes/Skin.php

index ed971e4..493ffde 100644 (file)
@@ -368,6 +368,7 @@ class Skin {
                        }
                }
                if( $wgUser->isSysop() &&
+                       (($wgTitle->getArticleId() == 0) || ($action == "history")) &&
                        ($n = $wgTitle->isDeleted() ) ) {
                                $s .= " | " . wfMsg( "thisisdeleted",
                                        $this->makeKnownLink(