Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Let link text for patches be 'reason' rather than 'title'?

by jdporter (Canon)
on Feb 07, 2006 at 18:43 UTC ( #528592=pmdevtopic: print w/ replies, xml ) Need Help??
jdporter has raised the following topic:

When looking at places that list patches like regular posts (such as the Patches section of Newest Nodes, if you have it enabled), you see that the 'title' fields of patches contain generic, generated text, consisting of the name of patched node, with " - (patch)" appended. E.g. "monktitlebar - (patch)".

Would it be possible (or rather, how hard would it be) to have the text of links to patches use the 'Reason' field (as displayed in the Patch Lister) rather than the 'title' field?

(A rather limited-scope change for this effect could be implemented at around line 64 of nodesWithinDays. A global change for this effect could be done in linkNode, which is at around line 741 of Everything/HTML.pm.)

We're building the house of the future together.

Comment on Let link text for patches be 'reason' rather than 'title'?
Download Code
Re: Let link text for patches be 'reason' rather than 'title'?
by demerphq (Chancellor) on Feb 08, 2006 at 07:07 UTC

    RAT already does this. As do pmdev:// links to patches.

    Which is not to say your suggestion is bad, but rather that we are somewhat down that track already.

    update: Apparently this node is getting downvoted, which I interpret to mean that I haven't been clear. I agree with this idea in general as ive already put code in place to make it happen in pmdev:// links and in the RAT.

    ---
    $world=~s/war/peace/g

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-09-19 22:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (149 votes), past polls