#696912 libperl-critic-perl: Documentation::RequirePodLinksIncludeText is obsolete

#696912#5
Date:
2012-12-29 07:43:14 UTC
From:
To:
(I know this should to go RT, but I'm out of brain for the day.  I'll
forward it to RT probably tomorrow if someone doesn't beat me to it.)

Perl::Critic::Policy::Documentation::RequirePodLinksIncludeText says:

    This Policy requires your POD links to contain text to override your POD
    translator's default link text, where this is possible. Failure to
    provide your own text leaves you at the mercy of the POD translator,
    which may display something like "L<Foo>" as "the Foo manpage".

That display of L<Foo> as "the Foo manpage" was something that was only
done in Pod::Man and Pod::Text (and their predecessors).  I fixed that
bug in November of 2001.

It's possible that some other formatters picked up that bad habit from
pod2man and pod2text, but I'm not aware of any, and this was discussed
quite a bit on pod-people@perl.org.  Plus, perlpodspec specifically says:

  *   In case of L<...> codes with no "text|" part in them, older
      formatters have exhibited great variation in actually displaying
      the link or cross reference.  For example, L<crontab(5)> would
      render as "the crontab(5) manpage", or "in the crontab(5) manpage"
      or just "crontab(5)".

      Pod processors must now treat "text|"-less links as follows:

        L<name>         =>  L<name|name>
        L</section>     =>  L<"section"|/section>
        L<name/section> =>  L<"section" in name|name/section>

and has since the beginning of that document years ago, so at this point
any formatter that does something else is just buggy and should be fixed.

It's time to kill this policy and let everyone who has been tediously
writing L<Pod::Parser|Pod::Parser> for the past 11 years unnecessarily
just write L<Pod::Parser> and be happy.

#696912#12
Date:
2012-12-29 08:44:10 UTC
From:
To:
Hi Russ

Regards,
Salvatore

#696912#19
Date:
2012-12-29 20:34:53 UTC
From:
To:
Salvatore Bonaccorso <carnil@debian.org> writes:

Thank you!

#696912#24
Date:
2022-06-26 18:11:20 UTC
From:
To:
According to the github issue (where the RT ticket was migrated), this
was fixed upstream in version 1.133_01, later packaged in Debian as
1.134-1.