Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Easteregg: Activate links to Nodelet documentation (update: patch)

by LanX (Saint)
on Jan 06, 2025 at 16:13 UTC ( [id://11163591]=monkdiscuss: print w/replies, xml ) Need Help??

Hi

(Beats me why this feature is display:none by default...)

Put this

a.nodelethead-annot { display:inline; float:left; font-size:smaller; padding-left:0.2em}

or this

a.nodelethead-annot { display:inline; float:right; font-size:smaller }

into your On-Site CSS Markup in Display Settings

and be surprised to see a little ? appearing in the nodelet titles, conveniently linking to the corresponding documentation.

DISCLAIMER: I'm no web-designer, if you have better CSS-suggestions, shoot away. :)

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

update

I found the Common CSS settings and filed a patch to activate this by globally by default.

Replies are listed 'Best First'.
Re: Easteregg: Activate links to Nodelet documentation
by choroba (Cardinal) on Jan 06, 2025 at 16:20 UTC
    I love this. Unfortunately, not all nodelets have documentation (e.g. About the Chatterbox).

    Update: It seems the Chatterbox nodelet is documented under About the Chatterbox Nodelet. Similarly, "Information", "Find Nodes", and "Leftovers" need the "Nodelet" appended to get the actual title. "What Links Here", on the other hand, has no documentation I could find.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      The problem is in the code here Nodelet Container combined with inconsistent naming convention.

      All docs have the form "About the $NODE_NAME Nodelet" but the code doesn't append " Nodelet".

      24:   my $about = qq(<a href="?node=About the $title" class="nodelethead-annot"><sup>?</sup></a>);

      But if the Nodelet's name contains a " Nodelet" at the end it works again ...

      so

      LOL to cite harangzsolt33!!!

      @gods: That's not easy to patch ...

      • renaming some sitefaqlet nodes consistent to nodelet name? (the right thing)
      • cryptic code which adds "Nodelet" only when missing? (the practical thing)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

Re: Easteregg: Activate links to Nodelet documentation (update: patch)
by jdporter (Paladin) on Jan 06, 2025 at 18:24 UTC
    Beats me why this feature is display:none by default

    Probably because too many of the linked-to pages are missing, so too many broken links.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://11163591]
Approved by erzuuli
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2025-02-09 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (96 votes). Check out past polls.