Page MenuHomePhabricator

It should be apparent when a link on a page redirects back to the same page
Open, Needs TriagePublic

Description

[[Acme]] corp contains a link to president [[Bob]]. We have no article for Bob (yet), so it's a redirect to [[Acme]].
Someone who clicks on the blue [[Bob]] link gets bounced from [[Acme]] back to [[Acme]]. The reader experience can be confusing to the point of upsetting.

Discussion at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Cyclic_redirects:_Avoid_misleading_the_reader

Once possible solution:
In article [[Acme]], can the software render [[Bob]] as a redlink? (Or maybe orange-red.) This correctly indicates that the article doesn't exist and that clicking the link is normally pointless. Also: if someone does click that link then apply Redirect=false. This is the expected behavior for clicking a redlink, and getting bounced back would be pointless anyway.

Event Timeline

Alsee created this task.Dec 23 2015, 1:27 PM
Alsee raised the priority of this task from to Needs Triage.
Alsee updated the task description. (Show Details)
Alsee added a subscriber: Alsee.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 23 2015, 1:27 PM
Krenair closed this task as Invalid.Dec 23 2015, 2:14 PM
Krenair claimed this task.
Krenair added a subscriber: Krenair.

article exists as a redirect != article does not exist

SebastianHelm reopened this task as Open.Dec 29 2015, 2:36 AM
SebastianHelm added a subscriber: SebastianHelm.

While it is of course true that "article exists as a redirect != article does not exist", it does not logically follow that this request is "invalid". In fact, this request addresses a real existing problem, which is, as @Alsee writes, "confusing to the point of upsetting" and therefore merits consideration.

Alsee added a comment.Dec 29 2015, 8:36 AM

When I said that a redlink indicates that an article does not exist, I meant that from the reader's perspective. There is no article on Bob, and the redirect doesn't point to some useful alternate article.

Aklapper removed Krenair as the assignee of this task.Dec 29 2015, 12:37 PM
Aklapper set Security to None.
Jackmcbarn renamed this task from Redirect link from=to to It should be apparent when a link on a page redirects back to the same page.Jan 1 2016, 11:18 PM
Jackmcbarn edited projects, added MediaWiki-Parser; removed MediaWiki-Page-editing.
Jackmcbarn added a subscriber: Jackmcbarn.

https://en.wikipedia.org/wiki/User:Anomie/linkclassifier.js can add the class "self-redirect" to such links (which can then be styled with CSS), though I agree this would be nice to have in core.

Krinkle removed a project: MediaWiki-Redirects.