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 project: Collaboration-Team-Triage. · View Herald TranscriptOct 3 2017, 9:46 AM
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
Trizek-WMF updated the task description. (Show Details)Oct 3 2017, 6:15 PM
jmatazzoni added a subscriber: jmatazzoni.EditedOct 3 2017, 6:18 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.

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

Restricted Application added a project: Growth-Team. · View Herald TranscriptNov 23 2018, 12:20 PM

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/Analysis on the Growth-Team board.

So we can close that task?

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:  '↳';
}
Catrope updated the task description. (Show Details)Jul 10 2019, 8:47 PM
marcella claimed this task.Jul 18 2019, 2:55 PM