Description

This bug affects the color of the links in the RightSideBar theme.

It appeared after version 1.8.0 and have been verified for version 1.8.2 and 1.8.3.

In RightSideBar theme, the color of the links are all the same and does not differentiate their status: the color of the visited links and the inexisting links remains the same as the normal links.

Steps to reproduce

  1. create an InexistingLink

  2. in User Preferences, select RightSideBar Theme

  3. observe the color of InexistingLink

Example

this link should be coloured in gray

Component selection

Details

MoinMoin Version

1.8.2

1.8.3

OS and Version

Ubuntu 8.10

Ubuntu 9.04

Python Version

2.5

2.6

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

en

en

Notes:

Workaround

Discussion

Maybe found the bug, see here: http://hg.moinmo.in/moin/1.8/file/4d2bc24c7723/wiki/htdocs/rightsidebar/css/common.css

a.nonexistent, a.badinterwiki {color: $404040;}


Answer:

Thank you. I am grateful for your answer, which has been rapid, and impressed by the way Moin is used for bug reporting.

  1. inexisting links: that was the bug: after having changed line 22 to
    a.nonexistent, a.badinterwiki {color: #404040;}
    inexisting links are now shown in gray, as they were in moin 1.8.0
  2. visited links: they still are shown in the same maroon color used for normal links. To be true, I do not understand what is intended to be done in line 21:
    a.nonexistent:visited, a.badinterwiki:visited,
    as 'visited' is not defined upper, and just before line 22 redefining 'nonexistent' and 'badinterwiki'

this means only for nonexistend/badinterwiki links show this "gray" color, if you want in generally have different link-colors for visited links you may add this line (e.g. the color "blue" like):

a:visited {color: blue;}

or this would only change the link in the main content div:

div#content a:visited {color: blue;}

but this is not a bug (like that above with the wrong $) more a change/modification in my eye!


Thank you for the answer and the tip. I will experiment a bit for a better understanding of Python, but the colors of RightSideBar are ok for me.

On my side the bug affecting the non existing links is corrected. Thanks once more for the correction and for all your work.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/RightSideBarLinkColors (last edited 2009-05-06 17:35:46 by GaetanAngely)