[pmwiki-users] "/e" in Cookbook / ExternalLinks2

Donald Z. Osborn dzosborn at gmail.com
Sat Sep 21 23:07:16 PDT 2019


Thank you Petko, It works.

Wrt opening new tab on click, I understand you, but also have long noted
some sites doing this (big ons, for example, like Twitter & LinkedIn). My
original thinking some years back was that since I often include a lot of
outlinks, I didn't want to "lose" visitors who follow a link out to others.
Anyway, am rethinking.

Just for fun I put up a poll on Twitter about this issue:
https://twitter.com/donosborn/status/1174747463535775744

Don


On Wed, Sep 18, 2019 at 3:00 PM Petko Yotov <5ko at 5ko.fr> wrote:

> I think I've fixed the recipe, if you test it please report if it works.
>
> As of 2019, for my websites, instead of this recipe, I'd certainly *not*
> enable the %newwin%/target="_blank" link feature (people know how to
> middle-click or long-tap to open a new window), and if I needed the
> external link styling I'd place into pub/css/local.css these styles:
>
>    a.urllink:not([href*="://www.example.com"]) {
>      color: #2f6fab;
>    }
>
>    a.urllink:not([href*="://www.example.com"]):after {
>      content: '\2197'; /* NE arrow */
>    }
>
> "a.urllink" is the default CSS class for external links, unless a recipe
> or a skin modified it. www.example.com is your domain name.
>
> Petko
>
> On 17/09/2019 17:02, Donald Z. Osborn wrote:
> > Noted the /e parameter - perhaps the very same one that causes issues
> > with
> > PHP7.2 - in:
> > https://www.pmwiki.org/wiki/Cookbook/ExternalLinks2
> >
> > Should/can this be fixed, or is there a recommended alternative?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20190922/5781f9c6/attachment.html>


More information about the pmwiki-users mailing list