Page MenuHomePhabricator

Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-JS) UI
Open, LowPublic

Description

Recent changes / wishlists are one of the very few interfaces that offer no pagination or other way to access older results, even though at the API level the functionality exists.

The best UI for this would probably be the type used on Special:Log and Special:Contributions. The Allpages/Prefixindex next/prev, and the TablePager big blue buttons are more for alphabetical listings and tabled/columned lists. The UI could just add inside the existing form:

(latest | earliest) View (newer 50) (older 50) (20 | 50 | 100 | 250 | 500)

This isn't ideal for a recent changes field (where the tail end of the information is trimmed), but it is already used by Special:Newpages so should suffice.

See also

Details

Reference
bz18228

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:35 PM
bzimport set Reference to bz18228.
bzimport added a subscriber: Unknown Object (MLST).

Imho a link in the bottom for "Show older changes" is enough.

Not an enhancement. The 500 limit greatly limits the ability to browse history
in most wikies. In any but the smallest wikies there is data that cannot be
browsed trough Special:Recentchanges.

matthew.britton wrote:

(In reply to comment #2)

Not an enhancement. The 500 limit greatly limits the ability to browse history
in most wikies. In any but the smallest wikies there is data that cannot be
browsed trough Special:Recentchanges.

  • The limit is 5000, not 500. (Half an hour on en.wikipedia, yay)
  • Since data is kept in recentchanges only a short time anyway (1 month?) there is plenty of data that cannot be browsed through Special:Recentchanges even on the smallest wikis. This is by design.

(In reply to comment #3)

(In reply to comment #2)

  • The limit is 5000, not 500. (Half an hour on en.wikipedia, yay)

Was, see r48735.

  • Since data is kept in recentchanges only a short time anyway (1 month?) there

is plenty of data that cannot be browsed through Special:Recentchanges even on
the smallest wikis. This is by design.

Now three months by default (was one week), see r50930. Of course the history is truncated at some point, but it should be possible to browse what there is.

  • Bug 17749 has been marked as a duplicate of this bug. ***
Tgr renamed this task from Add pagination (offset, prev/next, until/from/to) to Special:RecentChanges UI to Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-JS) UI.Feb 21 2023, 5:42 AM
Tgr updated the task description. (Show Details)

Extending this task to watchlists (they have largely overlapping implementations so it doesn't make sense to change one but not the other) and limiting to the old UI, since we already have a task for the new one, and the required changes are substantially different and can be done separately.

I removed this part of the old task description:

Another problem, is the &from= URI already used in recent changes, has contrary meaning to some interpretations of what it should do. The best solution probably is to just ditch this parameter (or leave it for legacy, possibly interpret it as an alias for &timestamp=X&dir=prev) and use the same thing done for almost all other time based pagination: &offset=TIMESTAMP combined with &dir=next/prev.

as it doesn't seem really related.

Nardog renamed this task from Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-JS) UI to Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-grouping) UI.Feb 21 2023, 6:05 AM

Old here refers to the "Use non-JavaScript interface" preference. Grouping vs. non-grouping shouldn't make any difference for paging.

Tgr renamed this task from Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-grouping) UI to Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-JS) UI.Feb 21 2023, 8:40 AM

Oh, then the title of the other task needs to be changed. When it comes to Watchlist/RecentChanges, "the enhanced UI" can only mean the grouping interface.

Oh, then the title of the other task needs to be changed. When it comes to Watchlist/RecentChanges, "the enhanced UI" can only mean the grouping interface.

Both of those were called "enhanced" at one point. (The "Use non-JavaScript interface" setting is still internally called rcenhancedfilters-disable.) But yeah, it's not a helpful qualifier.