From fb4635600d494e1f5109ef31618bab026c8b635a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 19 Oct 2008 23:53:52 +0000 Subject: [PATCH] Back out r42181 "(bug 6179) Actually the log for people who can't edit" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There's no link to the full log; the last entry may not always be very clear. It's also pretty long and technical, filled with crap like: 23:49, 19 October 2008 WikiSysop (Talk | contribs) changed protection level for "Main Page" [edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite) ‎ (hist) It would probably be more user-friendly to show the comment describing the purpose of the protection... which of course might not have anything to do with the last log entry (which might be "changing expiration date" or something). Backing out for now... --- includes/OutputPage.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 2ee510c5d6..e07c74b744 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1259,14 +1259,7 @@ class OutputPage { } else { $this->setPageTitle( wfMsg( 'badaccess' ) ); } - if( $protected ) { - $this->addHTML( "
\n" ); - } $this->addWikiText( $this->formatPermissionsErrorMessage( $reasons, $action ) ); - if( $protected ) { - LogEventsList::showLogExtract( $this, 'protect', $wgTitle->getPrefixedText(), '', 1 ); - $this->addHTML( "
\n" ); - } } else { // Wiki is read only $this->setPageTitle( wfMsg( 'readonly' ) ); -- 2.20.1