Page MenuHomePhabricator

Display links to bad (ambiguous) targets differently.
Closed, ResolvedPublic

Description

Author: bugs

Description:
I think I want to have a go at implementing this, but want to check that it's a good idea, and stands a chance of being implemented at Wikipedia.

Motivation: there are lots of links to disambiguous pages, and they're not at all visible. This is bad for navigating, bad for reusing content, and bad for any kind of analysis that involves links.

  • Define a magic word like AMBIGUOUSPAGE, which would be included in {{disambig}} on Wikipedia.
  • Flag pages containing this magic word (schema change, I believe?)
  • When a link is rendered that goes towards a flagged ambiguous page, it is rendered differently, such as using a new css style, or perhaps a predefined but editable template, which would allow an image to be displayed next to such a link.

Desirable? Feasible? Would be enabled at Wikipedia?

Issues for discussion:

  • Should it be generalised at all to something like BADLINKTARGET?
  • Should there be a way of controlling which namespaces it applies in? Perhaps it's ok to link to a disambiguation page from a talk namespace...
  • Should there be a way to suppress it for an individual link? If so, what would that syntax look like? Perhaps some semantics like linking to any page named "... (disambiguation)" (configurable) would be taken to be a deliberate link, and to deliberately link to a page not named that, you should use a redirect?

Version: unspecified
Severity: enhancement

Details

Reference
bz11902

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:55 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz11902.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 8339 ***