Ticket #38 (new enhancement)

Opened 3 years ago

Last modified 1 year ago

Link styles are ugly

Reported by: dom Assigned to: Nobody
Priority: low Milestone:
Component: openguides Version:
Severity: minor Keywords:
Cc:

Description

From http://oxford.openguides.org/wiki/?Comments:

Square brackets around links to external pages look ugly. Is there any chance of preventing them from being displayed? -- James

  • Not that I know of. I actually disagree in any case; it's a useful way of distinguishing between internal and external links, so I'd rather the convention was kept. --Dom
  • Couldn't that be done within the stylesheet? --James
  • Stylesheet sounds like the best plan. I'll look into it unless someone else does first. --Kake

Attachments

link_bracket_css_test.html (346 bytes) - added by earle on 07/29/07 18:59:03.
Demo of using CSS to display brackets around links.

Change History

11/24/05 11:54:26 changed by crschmidt@crschmidt.net

This is a change in CGI::Wiki::Formatter::UseMod, probably copied over from the time when OpenGuides was originally moved over from GrubStreet. I'm not sure what the best way is to do this, but I would really prefer to be able to somehow set the formatter that OpenGuides is using. This doesn't need to be a config option neccesarily, but something easy to change in wiki.conf would be good...

Looking at it, it looks like $formatter = $wiki->formatter; in the first line of the wiki.cgi can actually control all of the formatting. so, if you want to do this, the best way to do it would be to copy the UseMod formatter, create an "OpenGuides" (or an "OpenGuides::oxford") formatter, then set that formatter variable in the wiki.cgi. This keeps it from being another config option to confuse people, but allows most people to chnage it themselves.

11/24/05 12:44:47 changed by dom

I disagree; wiki.cgi should not contain configuration!

11/24/05 12:45:42 changed by earle

I think we should probably have an OpenGuides::Formatter which could be configured to be a subclass of CGI::Wiki::Formatter::UseMod. Then we could pass it specific options, etcetera.

09/08/06 01:22:25 changed by dom

  • priority changed from normal to low.
  • type changed from defect to enhancement.
  • severity changed from normal to minor.

This doesn't seem to be something that people care about greatly.

06/07/07 20:04:36 changed by dom

  • owner changed from dom to Nobody.

07/29/07 18:59:03 changed by earle

  • attachment link_bracket_css_test.html added.

Demo of using CSS to display brackets around links.

07/29/07 18:59:38 changed by earle

I suggest that we remove bracketing from the Perl and do it with CSS. See attachment.

07/31/07 17:53:53 changed by earle

Oh well, that technique isn't supported by Internet Explorer yet (sigh). Never mind.