From 65d99f0d9418db11a81e935c1e6d94bf05f7708c Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Fri, 2 Aug 2019 12:32:23 -0700 Subject: [PATCH] Special:NewFiles: Drop 'newbies' feature Change-Id: I946d7027db0fec90d8af68f9370fdd7fe5fd61e0 --- RELEASE-NOTES-1.34 | 2 ++ includes/specials/SpecialNewimages.php | 7 ------- languages/i18n/en.json | 1 - languages/i18n/qqq.json | 1 - 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 0f8085bd1e..c2ab4d53fb 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -90,6 +90,8 @@ For notes on 1.33.x and older releases, see HISTORY. the target manually. * (T220447) Special:Contributions/newbies has been removed for performance and usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead. +* Special:NewFiles/newbies has been removed for performance and usefulness + reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead. === New developer features in 1.34 === * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification diff --git a/includes/specials/SpecialNewimages.php b/includes/specials/SpecialNewimages.php index 06e1c7797f..e0834d5bd5 100644 --- a/includes/specials/SpecialNewimages.php +++ b/includes/specials/SpecialNewimages.php @@ -50,7 +50,6 @@ class SpecialNewFiles extends IncludableSpecialPage { $opts->add( 'like', '' ); $opts->add( 'user', '' ); $opts->add( 'showbots', false ); - $opts->add( 'newbies', false ); $opts->add( 'hidepatrolled', false ); $opts->add( 'mediatype', $this->mediaTypes ); $opts->add( 'limit', 50 ); @@ -137,12 +136,6 @@ class SpecialNewFiles extends IncludableSpecialPage { 'name' => 'user', ], - 'newbies' => [ - 'type' => 'check', - 'label-message' => 'newimages-newbies', - 'name' => 'newbies', - ], - 'showbots' => [ 'type' => 'check', 'label-message' => 'newimages-showbots', diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 8f73054609..9d42173994 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -3249,7 +3249,6 @@ "newimages-legend": "Filter", "newimages-label": "Filename (or a part of it):", "newimages-user": "IP address or username", - "newimages-newbies": "Show contributions of new accounts only", "newimages-showbots": "Show uploads by bots", "newimages-hidepatrolled": "Hide patrolled uploads", "newimages-mediatype": "Media type:", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 12f2948ca7..63fdcc91a3 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -3458,7 +3458,6 @@ "newimages-legend": "Caption of the fieldset for the filter on [[Special:NewImages]]\n\n{{Identical|Filter}}", "newimages-label": "Caption of the filter editbox on [[Special:NewImages]]", "newimages-user": "Caption of the username/IP address editbox on [[Special:NewImages]]", - "newimages-newbies": "Used as label for a checkbox. When checked, [[Special:NewImages]] will only display uploads by new users.", "newimages-showbots": "Used as label for a checkbox. When checked, [[Special:NewImages]] will also display uploads by users in the bots group.", "newimages-hidepatrolled": "Used as label for a checkbox. When checked, [[Special:NewImages]] will not display patrolled uploads.\n\nCf. {{msg-mw|tog-hidepatrolled}} and {{msg-mw|apihelp-feedrecentchanges-param-hidepatrolled}}.", "newimages-mediatype": "Used as label for a multiselect where users can select the media types to display.", -- 2.20.1