From: Daniel Cannon Date: Sat, 9 Jun 2007 04:16:28 +0000 (+0000) Subject: Remove dismiss from deletion log. This simply doesn't make sense to me, nor does... X-Git-Tag: 1.31.0-rc.0~52606 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=a7e366665c449832a2e07047683a50476da2cdf0;p=lhc%2Fweb%2Fwiklou.git 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. --- 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 ''; - } - } ?>