Ticket #10746 (new defect)

Opened 5 months ago

Last modified 4 months ago

Different class for backlinks

Reported by: vesal@jyu.fi Assigned to: rjollos
Priority: normal Component: BackLinksMacro
Severity: normal Keywords: print, class
Cc: Trac Release: 1.0

Description

I like to have something that separates this from ordinary wiki-toc either a subclass or so that one can send class as an optional parameter.

That way I could make a hover-style to show the links only when user wants to see them. And hide totally from print. Normal wiki-toc I like to print.

Attachments

Change History

01/04/13 16:53:58 changed by rjollos

  • component changed from BackLinksMenuMacro to BackLinksMacro.

Did you see the deprecation notice on the main page, BackLinksMenuMacro? I can't remember if I finished work on the BackLinksMacro, but the intent was to offer similar functionality. Would you be willing to give it a try? I'll try to find some time today to do testing as well.

01/04/13 16:54:53 changed by rjollos

  • owner changed from trapanator to rjollos.

And, I'd welcome a patch, or just piece of CSS inserted into the ticket, to suggest which change should be made.

01/04/13 17:04:53 changed by anonymous

I can switch to BackLinks? if needed :-)

could it be so that

[[BackLinks]]

outputs like now:

<div class="wiki-toc">Pages linking to k2013/demot:<br />

and

[[BackLinks wiki-toc-noprint]]

outputs like now:

<div class="wiki-toc-noprint">Pages linking to k2013/demot:<br />

and in css one could write:

@media print { 
.wiki-toc-noprint {
  display none;
 } 
}

Or any other idea to do same thing is also welcome.

01/04/13 17:06:05 changed by anonymous

In previous example i needed to leave : after display-word, because otherwise it told me that it is spam...


Add/Change #10746 (Different class for backlinks)




Change Properties
Action