From 4d8a287abbb871f8d0f2071731fe00e89635f683 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Tue, 27 Aug 2019 13:41:00 -0700 Subject: [PATCH] Special:DeletedContributions: Drop 'newbies' feature Change-Id: I32c67fb19f50f3949ffe981488c009c82a244999 --- .../specials/SpecialDeletedContributions.php | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/includes/specials/SpecialDeletedContributions.php b/includes/specials/SpecialDeletedContributions.php index 40d89625eb..902bfd7853 100644 --- a/includes/specials/SpecialDeletedContributions.php +++ b/includes/specials/SpecialDeletedContributions.php @@ -113,17 +113,15 @@ class DeletedContributionsPage extends SpecialPage { # If there were contributions, and it was a valid user or IP, show # the appropriate "footer" message - WHOIS tools, etc. - if ( $target != 'newbies' ) { - $message = IP::isIPAddress( $target ) ? - 'sp-contributions-footer-anon' : - 'sp-contributions-footer'; - - if ( !$this->msg( $message )->isDisabled() ) { - $out->wrapWikiMsg( - "", - [ $message, $target ] - ); - } + $message = IP::isIPAddress( $target ) ? + 'sp-contributions-footer-anon' : + 'sp-contributions-footer'; + + if ( !$this->msg( $message )->isDisabled() ) { + $out->wrapWikiMsg( + "", + [ $message, $target ] + ); } } -- 2.20.1