Last modified: 2014-11-17 10:36:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2166, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 166 - Identify redirects with CSS class *everywhere*
Identify redirects with CSS class *everywhere*
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
All All
: Lowest enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: design
: 4709 12968 (view as bug list)
Depends on: 2872 22976 23204 759 2318 2814 5346 17106
Blocks: 61072
  Show dependency treegraph
 
Reported: 2004-08-18 19:15 UTC by SJ
Modified: 2014-11-17 10:36 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description SJ 2004-08-18 19:15:44 UTC
Since we already store is-redirect info for each entry in cur, adding a visual
feature / distinction to identify links that link to redirects, with the same
query that tests for existence, should not impose a performance hit.  It would
help catch inappropriate redirects, and reduce the number of redirs alltogether.
Comment 1 Timwi 2004-08-19 09:30:18 UTC
This bug does not depend on bug 17; removing dependency.
Comment 2 Antoine "hashar" Musso (WMF) 2004-08-22 19:26:25 UTC
There is already 4 colours for links (visisted|unvisited) + (existent|nonexistent).

When redirect to an article one see a notice like:
"redirected from [[redirection article]]"

That should be enough to fix redirects :o)
Comment 3 Happy-melon 2011-01-15 12:38:33 UTC
I'm going to reopen this, and say that while they should not be visually identified, they should be identifi*able*, with an appropriate CSS class as we do for new/extiw/external/stub etc.  The number of requests we have to do this in individual places clearly demonstrates the desirability of marking them universally, and now that we have a usable and cannonical redirect table, this should be fairly simple to implement in Linker::link().

It sounds like this was attempted in bug 12968, but I guess not completely?
Comment 4 Happy-melon 2011-01-15 12:38:58 UTC
*** Bug 4709 has been marked as a duplicate of this bug. ***
Comment 5 Happy-melon 2011-01-15 12:39:57 UTC
*** Bug 12968 has been marked as a duplicate of this bug. ***
Comment 6 Niklas Laxström 2011-01-15 13:10:59 UTC
Class is already added universally to all links... except when using linkKnown().
Comment 7 matanya 2012-07-25 20:32:00 UTC
I think this bug can be easily addressed. We use this mechanism on special:Allpages to differ between pages and redirects, so can be done the same for the rest of the pages.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links