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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 166 - Identify redirects with CSS class *everywhere*
Identify redirects with CSS class *everywhere*
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
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: ---


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.