Page MenuHomePhabricator

Mark redirects in RecentChanges and Watchlist
Open, Needs TriagePublic

Description

Copied from here:

It is not possible to distinguish, differentiate or filter redirects. They are often represented as "new pages".

Possible solution: add a legend ("↳") with a marker to denote the redirect.

.mw-redirect.mw-changeslist-title::before  {
   content: '↳';
}

CSS suggestion from T177281#5322465:

.mw-tag-mw-new-redirect .mw-title:before,
.mw-tag-mw-changed-redirect-target .mw-title:before {
    content:  '↳';
}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Mattflaschen-WMF renamed this task from Highlight redirects in RecentChanges or Watchlists to Mark redirects in RecentChanges or Watchlists.Oct 3 2017, 6:14 PM

You could have a filter group for disambiguation pages, regular pages, redirects. Also maybe combine with content model: wikitext, CSS, javascript, LUA, Flow, Wikidata.

This has now been implemented.

there might be performance issues, according to @Mattflaschen-WMF

My best guess is that, while it's easy to identify whether a page is currently a redirect, it's hard to figure out whether a page was a redirect at the time of the edit. However, now that we have tags for edits that make a page into a redirect, or change a redirect's target, or change a redirect to a non-redirect, it would be possible to look for those tags and add a redirect symbol as this task proposes.

Catrope renamed this task from Mark redirects in RecentChanges or Watchlists to Mark redirects in RecentChanges and Watchlist.Nov 27 2018, 7:26 AM
Catrope moved this task from Inbox to Needs Discussion on the Growth-Team board.

However, now that we have tags for edits that make a page into a redirect, or change a redirect's target, or change a redirect to a non-redirect, it would be possible to look for those tags and add a redirect symbol as this task proposes.

Specifically, there are now CSS classes that are added for every tag, so you could write a CSS rule for .mw-tag-mw-new-redirect and .mw-tag-mw-changed-redirect-target.

Specifically, there are now CSS classes that are added for every tag, so you could write a CSS rule for .mw-tag-mw-new-redirect and .mw-tag-mw-changed-redirect-target.

In practice, that would mean something like:

.mw-tag-mw-new-redirect .mw-title:before,
.mw-tag-mw-changed-redirect-target .mw-title:before {
    content:  '↳';
}

Change 577303 had a related patch set uploaded (by Subins2000; owner: Subins2000):
[mediawiki/core@master] ChangesList: Mark redirects

https://gerrit.wikimedia.org/r/577303

Can the patch in Gerrit get a review / "decision", please, and input how to proceed instead? Thanks.