Page MenuHomePhabricator

The notice "redirected from" shouldn't be affected by displaytitle
Closed, ResolvedPublicBUG REPORT

Description

When you follow a redirect, at the top of the page, it says, "Redirected from..." like this:

image.png (127×328 px, 7 KB)

If you click that link, the actual page you were being redirected from is this one:

image.png (232×536 px, 15 KB)

(No URL because we're disabling the config flag on discoursedb that enables this to happen)

Currently, this extension replaces this text with the target page name, rendering the notice a bit useless (and confusing).

Unfortunately I have no idea how to fix this.

Event Timeline

cicalese triaged this task as Medium priority.Jul 15 2023, 3:48 AM

Change 938461 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/extensions/DisplayTitle@master] Fix redirect subtitle

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

Change 938461 merged by jenkins-bot:

[mediawiki/extensions/DisplayTitle@master] Fix redirect subtitle

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

cicalese claimed this task.

Change 940442 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/extensions/DisplayTitle@REL1_39] Fix redirect subtitle

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

Change 940443 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/extensions/DisplayTitle@REL1_40] Fix redirect subtitle

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

Change 940442 merged by jenkins-bot:

[mediawiki/extensions/DisplayTitle@REL1_39] Fix redirect subtitle

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

Change 940443 merged by jenkins-bot:

[mediawiki/extensions/DisplayTitle@REL1_40] Fix redirect subtitle

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