Page MenuHomePhabricator

Enhanced recent changes - add a method to Auto-expand all entries, without requiring user.js changes
Open, Needs TriagePublic

Description

Enhanced recent changes - I've loved the feature ever since adding this code to my [[Special:MyPage/common.js]] (or global.js)

// Auto-Expand all grouped RC/Watchlist entries.
$( function () { $('.mw-enhancedchanges-arrow').click(); } );

It auto-expands all the groups (as if auto-clicking all the arrows/triangles), in RC/Watchlist. I consider it integral/necessary.

Request: Could (something like) that be added as either:

  • a new user-preference
  • a toggle button on the RC/Watchlist pages (so that we only have to click once, instead of once-per-item)
  • something else?

Event Timeline

Quiddity created this task.Aug 14 2015, 5:09 PM
Quiddity raised the priority of this task from to Needs Triage.
Quiddity updated the task description. (Show Details)
Quiddity added a subscriber: Quiddity.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 14 2015, 5:09 PM
Quiddity updated the task description. (Show Details)Aug 27 2017, 9:03 PM
Quiddity removed a subscriber: wikibugs-l-list.

With the upgrade to jQuery3, the previous code now generates a deprecation warning.

This alternative works:

$(window).on('load',function() { $('.mw-enhancedchanges-arrow').click(); });

I'll update the version used in the task description.

Ping @PiRSquared17 in case you want to update your own .js (where most of us got it from :-) )

Quiddity updated the task description. (Show Details)Sep 20 2017, 9:52 PM
JTannerWMF added a subscriber: JTannerWMF.

Ping Joe when you have a design.

Given that the new filters are available by default in Recent Changes, would the solution for T176555 be enough here? Any thoughts @jmatazzoni ?

! In T109103#4305133, @Pginer-WMF wrote:

Given that the new filters are available by default in Recent Changes, would the solution for T176555 be enough here? Any thoughts @jmatazzoni ?

The question is whether we should continue to add new features to the old interface. What do people think? I don't believe this is a difficult change to make per se. But perhaps it is a bad precedent?

I think T176555 might be enough, as it is part of core for 3rd-party users, and is/will be the default for RC/Watchlist on Wikimedia wikis.

Thanks Nick. I'm moving this to medium term on the Triage board.

Quiddity updated the task description. (Show Details)Dec 1 2018, 7:39 AM
Restricted Application added a project: Growth-Team. · View Herald TranscriptDec 1 2018, 7:39 AM