From a7e366665c449832a2e07047683a50476da2cdf0 Mon Sep 17 00:00:00 2001 From: Daniel Cannon Date: Sat, 9 Jun 2007 04:16:28 +0000 Subject: [PATCH] Remove dismiss from deletion log. This simply doesn't make sense to me, nor does it to those I've discussed it with. If you don't want the recreate warning displayed, it's in a div wrapper and can be hidden through css. We don't need a dismiss link on every system message to hide the message permanently; it only makes sense on things like Sitenotice, where users want to hide the current message, having read it, but not necessarily the next. --- includes/EditPage.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 9514c7544f..a9a94d6ae3 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2057,7 +2057,6 @@ END ); if( $reader->hasRows() ) { $out->addHtml( '
' ); - $out->addHtml( $this->buildWarningDismisser() ); $out->addWikiText( wfMsg( 'recreate-deleted-warn' ) ); $viewer = new LogViewer( $reader ); $viewer->showList( $out ); @@ -2065,22 +2064,6 @@ END } } - /** - * Builds a JavaScript fragment that injects a link to dismiss the - * "recreating deleted" warning - * - * @return string - */ - private function buildWarningDismisser() { - global $wgJsMimeType; - return ''; - } - } ?> -- 2.20.1