Last modified: 2014-09-12 02:18:51 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 T72738, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70738 - VisualEditor: Links to disambiguation pages should be highlighted in a different color
VisualEditor: Links to disambiguation pages should be highlighted in a diffe...
Status: RESOLVED DUPLICATE of bug 7936
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
All All
: Unprioritized enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
Depends on:
  Show dependency treegraph
Reported: 2014-09-11 19:24 UTC by WhatamIdoing
Modified: 2014-09-12 02:18 UTC (History)
3 users (show)

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


Description WhatamIdoing 2014-09-11 19:24:57 UTC
This is related to bug 61072 and bug 50240.

Please consider marking all links to disambiguation pages in a different color, not just in the link inspector tool itself, but in the regular text that editors see when typing in VisualEditor.  This will help editors realize that there is something different (and probably wrong) with links that were previously added to the page.
Comment 1 Bartosz Dziewoński 2014-09-11 19:44:09 UTC
They already are! (Or rather can be.) I implemented a way to color them in 066283dde745fcc372ffab8d753962858813d032 (the links on the editing surface now have a .mw-disambig class that can be styled with user/site CSS). I also did the same functionality in the MW parser (8cc16d021410f49fa12a2f35c97cdac51adf4380, this is not rolled out yet).

I'm not sure if we want to actually color them. Colors can be distracting/confusing, especially if it's not clear what they mean. MediaWiki has been providing a .mw-redirect CSS class in parser output for years and it was never styled in any way, as far as I know. (Some special pages mark redirects with italics, though.)

For the record, such coloring functionality has sometimes been implemented by gadgets. pl.wp has a opt-in gadget to color redirects green and disambigs maroon and add a form to the page to selectively correct the links; ru.wp has some tool enabled for everyone that gives disambigs pink background with red outline (or had, last time I checked). I am not aware of any such thing on the English Wikipedia (but I'd be love to learn about it if it exists).
Comment 2 WhatamIdoing 2014-09-11 20:42:49 UTC
BD2412 has specifically requested that this be available to everyone, not just for himself/people using a script.
Comment 3 James Forrester 2014-09-12 02:18:51 UTC
This is (effectively) a duplicate of bug 7936 (which is only asking for Special:AllPages, but we'd also change it in the content display). It's nothing particularly specific to VisualEditor; VE just follows MW's lead here.

*** This bug has been marked as a duplicate of bug 7936 ***

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