Last modified: 2014-09-02 17:00:41 UTC
We apply red link styles to nonexistent titles in the link suggestions, so for redirects and disambig pages the corresponding styles/classes should be applied as well. I don't actually know what these are, ask James :)
*** Bug 64584 has been marked as a duplicate of this bug. ***
We actually don't apply any classes, ve.ui.MWLinkTargetInputWidget.css just has some styles defining a close-enough reddish color. (This is kind of bad since the color can differ per-skin.) .ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=newPage] { color: #BA0000; } There are no styles by default for redirect and disambiguation links, some users choose to style them in various ways (usually green for redirects and maroon for disambigs). I'm not sure if we should do this for the link in the inspector; they are already visually distinct by being placed in separate sections. We might want to remove the reddish styles too...
(In reply to Bartosz Dziewoński from comment #2) > We actually don't apply any classes, ve.ui.MWLinkTargetInputWidget.css just > has some styles defining a close-enough reddish color. (This is kind of bad > since the color can differ per-skin.) > > .ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuItemWidget[rel=newPage] { > color: #BA0000; > } > > There are no styles by default for redirect and disambiguation links, some > users choose to style them in various ways (usually green for redirects and > maroon for disambigs). Presumably the styles will be ported over to Parsoid content, at which point we can just apply them directly? > I'm not sure if we should do this for the link in the inspector; they are > already visually distinct by being placed in separate sections. We might > want to remove the reddish styles too... I'm not sure. Consistency of hinting is important.